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


#ifndef CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXSTATUS_H
#define CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXSTATUS_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 CSFlexStatus_
{
  typedef CSFlexStatus_<ContainerAllocator> Type;

  CSFlexStatus_()
    : cs_flex_status(0)  {
    }
  CSFlexStatus_(const ContainerAllocator& _alloc)
    : cs_flex_status(0)  {
  (void)_alloc;
    }



   typedef int32_t _cs_flex_status_type;
  _cs_flex_status_type cs_flex_status;



// reducing the odds to have name collisions with Windows.h 
#if defined(_WIN32) && defined(DOOR_OPEN)
  #undef DOOR_OPEN
#endif
#if defined(_WIN32) && defined(DOOR_CLOSED)
  #undef DOOR_CLOSED
#endif
#if defined(_WIN32) && defined(RUNNING_JOB)
  #undef RUNNING_JOB
#endif
#if defined(_WIN32) && defined(JOB_COMPLETE)
  #undef JOB_COMPLETE
#endif
#if defined(_WIN32) && defined(ERROR)
  #undef ERROR
#endif

  enum {
    DOOR_OPEN = 0,
    DOOR_CLOSED = 1,
    RUNNING_JOB = 2,
    JOB_COMPLETE = 3,
    ERROR = -1,
  };


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

}; // struct CSFlexStatus_

typedef ::chemspeed_flex_msgs::CSFlexStatus_<std::allocator<void> > CSFlexStatus;

typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexStatus > CSFlexStatusPtr;
typedef boost::shared_ptr< ::chemspeed_flex_msgs::CSFlexStatus const> CSFlexStatusConstPtr;

// constants requiring out of line definition

   

   

   

   

   



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


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

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


} // namespace chemspeed_flex_msgs

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::chemspeed_flex_msgs::CSFlexStatus_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x2a2aa224b84e0f53ULL;
  static const uint64_t static_value2 = 0xbfa45fd0f87fad66ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::chemspeed_flex_msgs::CSFlexStatus_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int32 DOOR_OPEN = 0\n"
"int32 DOOR_CLOSED = 1\n"
"int32 RUNNING_JOB = 2\n"
"int32 JOB_COMPLETE = 3\n"
"int32 ERROR = -1\n"
"\n"
"int32 cs_flex_status\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct CSFlexStatus_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

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

} // namespace message_operations
} // namespace ros

#endif // CHEMSPEED_FLEX_MSGS_MESSAGE_CSFLEXSTATUS_H
