// Generated by gencpp from file kern_pcb_balance_msgs/KernCommand.msg
// DO NOT EDIT!


#ifndef KERN_PCB_BALANCE_MSGS_MESSAGE_KERNCOMMAND_H
#define KERN_PCB_BALANCE_MSGS_MESSAGE_KERNCOMMAND_H


#include <string>
#include <vector>
#include <map>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace kern_pcb_balance_msgs
{
template <class ContainerAllocator>
struct KernCommand_
{
  typedef KernCommand_<ContainerAllocator> Type;

  KernCommand_()
    : kern_command(0)  {
    }
  KernCommand_(const ContainerAllocator& _alloc)
    : kern_command(0)  {
  (void)_alloc;
    }



   typedef int32_t _kern_command_type;
  _kern_command_type kern_command;



// reducing the odds to have name collisions with Windows.h 
#if defined(_WIN32) && defined(ZERO)
  #undef ZERO
#endif

  enum {
    ZERO = 0,
  };


  typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> const> ConstPtr;

}; // struct KernCommand_

typedef ::kern_pcb_balance_msgs::KernCommand_<std::allocator<void> > KernCommand;

typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernCommand > KernCommandPtr;
typedef boost::shared_ptr< ::kern_pcb_balance_msgs::KernCommand const> KernCommandConstPtr;

// constants requiring out of line definition

   



template<typename ContainerAllocator>
std::ostream& operator<<(std::ostream& s, const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> & v)
{
ros::message_operations::Printer< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >::stream(s, "", v);
return s;
}


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator1> & lhs, const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator2> & rhs)
{
  return lhs.kern_command == rhs.kern_command;
}

template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator!=(const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator1> & lhs, const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator2> & rhs)
{
  return !(lhs == rhs);
}


} // namespace kern_pcb_balance_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "be19004f897ef341d72d902917da8054";
  }

  static const char* value(const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xbe19004f897ef341ULL;
  static const uint64_t static_value2 = 0xd72d902917da8054ULL;
};

template<class ContainerAllocator>
struct DataType< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "kern_pcb_balance_msgs/KernCommand";
  }

  static const char* value(const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator>&) { return value(); }
};

template<class ContainerAllocator>
struct Definition< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# Available commands to use the Fisher Scientific PPS4102 Top Pan balance \n"
"int32 ZERO = 0\n"
"\n"
"int32 kern_command \n"
;
  }

  static const char* value(const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator>&) { return value(); }
};

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.kern_command);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct KernCommand_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::kern_pcb_balance_msgs::KernCommand_<ContainerAllocator>& v)
  {
    s << indent << "kern_command: ";
    Printer<int32_t>::stream(s, indent + "  ", v.kern_command);
  }
};

} // namespace message_operations
} // namespace ros

#endif // KERN_PCB_BALANCE_MSGS_MESSAGE_KERNCOMMAND_H
