// Generated by gencpp from file mettler_toledo_quantos_q2_msgs/QuantosCommand.msg
// DO NOT EDIT!


#ifndef METTLER_TOLEDO_QUANTOS_Q2_MSGS_MESSAGE_QUANTOSCOMMAND_H
#define METTLER_TOLEDO_QUANTOS_Q2_MSGS_MESSAGE_QUANTOSCOMMAND_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 mettler_toledo_quantos_q2_msgs
{
template <class ContainerAllocator>
struct QuantosCommand_
{
  typedef QuantosCommand_<ContainerAllocator> Type;

  QuantosCommand_()
    : quantos_command(0)
    , quantos_ID()
    , quantos_bool(false)
    , quantos_float(0.0)
    , quantos_int(0)  {
    }
  QuantosCommand_(const ContainerAllocator& _alloc)
    : quantos_command(0)
    , quantos_ID(_alloc)
    , quantos_bool(false)
    , quantos_float(0.0)
    , quantos_int(0)  {
  (void)_alloc;
    }



   typedef int32_t _quantos_command_type;
  _quantos_command_type quantos_command;

   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _quantos_ID_type;
  _quantos_ID_type quantos_ID;

   typedef uint8_t _quantos_bool_type;
  _quantos_bool_type quantos_bool;

   typedef float _quantos_float_type;
  _quantos_float_type quantos_float;

   typedef int32_t _quantos_int_type;
  _quantos_int_type quantos_int;



// reducing the odds to have name collisions with Windows.h 
#if defined(_WIN32) && defined(STARTDOSE)
  #undef STARTDOSE
#endif
#if defined(_WIN32) && defined(STOPDOSE)
  #undef STOPDOSE
#endif
#if defined(_WIN32) && defined(GETDOORPOS)
  #undef GETDOORPOS
#endif
#if defined(_WIN32) && defined(GETSAMPLEPOS)
  #undef GETSAMPLEPOS
#endif
#if defined(_WIN32) && defined(GETHEAD)
  #undef GETHEAD
#endif
#if defined(_WIN32) && defined(GETSAMPLE)
  #undef GETSAMPLE
#endif
#if defined(_WIN32) && defined(MOVEPIN)
  #undef MOVEPIN
#endif
#if defined(_WIN32) && defined(MOVEDOOR)
  #undef MOVEDOOR
#endif
#if defined(_WIN32) && defined(SETSAMPLEPOS)
  #undef SETSAMPLEPOS
#endif
#if defined(_WIN32) && defined(SETTAPBEFORE)
  #undef SETTAPBEFORE
#endif
#if defined(_WIN32) && defined(SETTAPDURING)
  #undef SETTAPDURING
#endif
#if defined(_WIN32) && defined(SETTAPINT)
  #undef SETTAPINT
#endif
#if defined(_WIN32) && defined(SETTAPDURATION)
  #undef SETTAPDURATION
#endif
#if defined(_WIN32) && defined(SETTARGET)
  #undef SETTARGET
#endif
#if defined(_WIN32) && defined(SETTOL)
  #undef SETTOL
#endif
#if defined(_WIN32) && defined(SETTOLMODE)
  #undef SETTOLMODE
#endif
#if defined(_WIN32) && defined(SETSAMPLEID)
  #undef SETSAMPLEID
#endif
#if defined(_WIN32) && defined(SETPANOFF)
  #undef SETPANOFF
#endif
#if defined(_WIN32) && defined(SETALGO)
  #undef SETALGO
#endif
#if defined(_WIN32) && defined(SETAS)
  #undef SETAS
#endif
#if defined(_WIN32) && defined(DISPENSESOLID)
  #undef DISPENSESOLID
#endif

  enum {
    STARTDOSE = 0,
    STOPDOSE = 1,
    GETDOORPOS = 2,
    GETSAMPLEPOS = 3,
    GETHEAD = 4,
    GETSAMPLE = 5,
    MOVEPIN = 6,
    MOVEDOOR = 7,
    SETSAMPLEPOS = 8,
    SETTAPBEFORE = 9,
    SETTAPDURING = 10,
    SETTAPINT = 11,
    SETTAPDURATION = 12,
    SETTARGET = 13,
    SETTOL = 14,
    SETTOLMODE = 15,
    SETSAMPLEID = 16,
    SETPANOFF = 17,
    SETALGO = 18,
    SETAS = 19,
    DISPENSESOLID = 20,
  };


  typedef boost::shared_ptr< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> const> ConstPtr;

}; // struct QuantosCommand_

typedef ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<std::allocator<void> > QuantosCommand;

typedef boost::shared_ptr< ::mettler_toledo_quantos_q2_msgs::QuantosCommand > QuantosCommandPtr;
typedef boost::shared_ptr< ::mettler_toledo_quantos_q2_msgs::QuantosCommand const> QuantosCommandConstPtr;

// constants requiring out of line definition

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   

   



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator1> & lhs, const ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator2> & rhs)
{
  return lhs.quantos_command == rhs.quantos_command &&
    lhs.quantos_ID == rhs.quantos_ID &&
    lhs.quantos_bool == rhs.quantos_bool &&
    lhs.quantos_float == rhs.quantos_float &&
    lhs.quantos_int == rhs.quantos_int;
}

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


} // namespace mettler_toledo_quantos_q2_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "aa63230c95b3f1f7695d287e88ee9006";
  }

  static const char* value(const ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xaa63230c95b3f1f7ULL;
  static const uint64_t static_value2 = 0x695d287e88ee9006ULL;
};

template<class ContainerAllocator>
struct DataType< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "mettler_toledo_quantos_q2_msgs/QuantosCommand";
  }

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

template<class ContainerAllocator>
struct Definition< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "# Available commands to use the MT Quantos System\n"
"int32 STARTDOSE = 0\n"
"int32 STOPDOSE = 1\n"
"int32 GETDOORPOS = 2\n"
"int32 GETSAMPLEPOS = 3\n"
"int32 GETHEAD = 4\n"
"int32 GETSAMPLE = 5\n"
"int32 MOVEPIN = 6\n"
"int32 MOVEDOOR = 7\n"
"int32 SETSAMPLEPOS = 8\n"
"int32 SETTAPBEFORE = 9\n"
"int32 SETTAPDURING = 10\n"
"int32 SETTAPINT = 11\n"
"int32 SETTAPDURATION = 12\n"
"int32 SETTARGET = 13\n"
"int32 SETTOL = 14\n"
"int32 SETTOLMODE = 15\n"
"int32 SETSAMPLEID = 16\n"
"int32 SETPANOFF = 17\n"
"int32 SETALGO = 18\n"
"int32 SETAS = 19\n"
"int32 DISPENSESOLID = 20\n"
"\n"
"int32 quantos_command\n"
"string quantos_ID\n"
"bool quantos_bool\n"
"float32 quantos_float\n"
"int32 quantos_int\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.quantos_command);
      stream.next(m.quantos_ID);
      stream.next(m.quantos_bool);
      stream.next(m.quantos_float);
      stream.next(m.quantos_int);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct QuantosCommand_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::mettler_toledo_quantos_q2_msgs::QuantosCommand_<ContainerAllocator>& v)
  {
    s << indent << "quantos_command: ";
    Printer<int32_t>::stream(s, indent + "  ", v.quantos_command);
    s << indent << "quantos_ID: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.quantos_ID);
    s << indent << "quantos_bool: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.quantos_bool);
    s << indent << "quantos_float: ";
    Printer<float>::stream(s, indent + "  ", v.quantos_float);
    s << indent << "quantos_int: ";
    Printer<int32_t>::stream(s, indent + "  ", v.quantos_int);
  }
};

} // namespace message_operations
} // namespace ros

#endif // METTLER_TOLEDO_QUANTOS_Q2_MSGS_MESSAGE_QUANTOSCOMMAND_H
