// Generated by gencpp from file chemspeed_flex_msgs/CSFlexCommand.msg
// DO NOT EDIT!


#ifndef CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXCOMMAND_H
#define CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXCOMMAND_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 chemspeed_flex_msgs
{
template <class ContainerAllocator>
struct CSFlexCommand_
{
  typedef CSFlexCommand_<ContainerAllocator> Type;

  CSFlexCommand_()
    : cs_flex_command(0)  {
    }
  CSFlexCommand_(const ContainerAllocator& _alloc)
    : cs_flex_command(0)  {
  (void)_alloc;
    }



   typedef int32_t _cs_flex_command_type;
  _cs_flex_command_type cs_flex_command;



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

  enum {
    OPEN_DOOR = 0,
    CLOSE_DOOR = 1,
    RUN_APP = 2,
    TERMINATE = 4,
  };


  typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> const> ConstPtr;

}; // struct CSFlexCommand_

typedef ::chemspeed_flex_msgs::CSFlexCommand_<std::allocator<void> > CSFlexCommand;

typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexCommand > CSFlexCommandPtr;
typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexCommand const> CSFlexCommandConstPtr;

// constants requiring out of line definition

   

   

   

   



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator1> & lhs, const ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator2> & rhs)
{
  return lhs.cs_flex_command == rhs.cs_flex_command;
}

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


} // namespace chemspeed_flex_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "eb8f79259cc9a1065fb86a952380edb9";
  }

  static const char* value(const ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xeb8f79259cc9a106ULL;
  static const uint64_t static_value2 = 0x5fb86a952380edb9ULL;
};

template<class ContainerAllocator>
struct DataType< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "chemspeed_flex_msgs/CSFlexCommand";
  }

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

template<class ContainerAllocator>
struct Definition< ::chemspeed_flex_msgs::CSFlexCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int32 OPEN_DOOR = 0\n"
"int32 CLOSE_DOOR = 1\n"
"int32 RUN_APP = 2\n"
"int32 TERMINATE = 4\n"
"\n"
"int32 cs_flex_command\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct CSFlexCommand_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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

} // namespace message_operations
} // namespace ros

#endif // CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXCOMMAND_H
