// Generated by gencpp from file kmriiwa_chemist_msgs/TaskStatus.msg
// DO NOT EDIT!


#ifndef KMRIIWA_CHEMIST_MSGS_MESSAGE_TASKSTATUS_H
#define KMRIIWA_CHEMIST_MSGS_MESSAGE_TASKSTATUS_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 kmriiwa_chemist_msgs
{
template <class ContainerAllocator>
struct TaskStatus_
{
  typedef TaskStatus_<ContainerAllocator> Type;

  TaskStatus_()
    : cmd_seq(0)
    , task_name()
    , task_state(0)  {
    }
  TaskStatus_(const ContainerAllocator& _alloc)
    : cmd_seq(0)
    , task_name(_alloc)
    , task_state(0)  {
  (void)_alloc;
    }



   typedef int32_t _cmd_seq_type;
  _cmd_seq_type cmd_seq;

   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _task_name_type;
  _task_name_type task_name;

   typedef int32_t _task_state_type;
  _task_state_type task_state;



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

  enum {
    EXECUTING = 0,
    WAITING = 1,
    FINISHED = 2,
    ERROR = 3,
  };


  typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> const> ConstPtr;

}; // struct TaskStatus_

typedef ::kmriiwa_chemist_msgs::TaskStatus_<std::allocator<void> > TaskStatus;

typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::TaskStatus > TaskStatusPtr;
typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::TaskStatus const> TaskStatusConstPtr;

// constants requiring out of line definition

   

   

   

   



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator1> & lhs, const ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator2> & rhs)
{
  return lhs.cmd_seq == rhs.cmd_seq &&
    lhs.task_name == rhs.task_name &&
    lhs.task_state == rhs.task_state;
}

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


} // namespace kmriiwa_chemist_msgs

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsMessage< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> const>
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
{
  static const char* value()
  {
    return "849f2d6a159cb23bc53dfb585b172587";
  }

  static const char* value(const ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x849f2d6a159cb23bULL;
  static const uint64_t static_value2 = 0xc53dfb585b172587ULL;
};

template<class ContainerAllocator>
struct DataType< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
{
  static const char* value()
  {
    return "kmriiwa_chemist_msgs/TaskStatus";
  }

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

template<class ContainerAllocator>
struct Definition< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int32 cmd_seq\n"
"string task_name\n"
"int32 EXECUTING = 0\n"
"int32 WAITING = 1\n"
"int32 FINISHED = 2\n"
"int32 ERROR = 3\n"
"int32 task_state\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.cmd_seq);
      stream.next(m.task_name);
      stream.next(m.task_state);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct TaskStatus_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::kmriiwa_chemist_msgs::TaskStatus_<ContainerAllocator>& v)
  {
    s << indent << "cmd_seq: ";
    Printer<int32_t>::stream(s, indent + "  ", v.cmd_seq);
    s << indent << "task_name: ";
    Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.task_name);
    s << indent << "task_state: ";
    Printer<int32_t>::stream(s, indent + "  ", v.task_state);
  }
};

} // namespace message_operations
} // namespace ros

#endif // KMRIIWA_CHEMIST_MSGS_MESSAGE_TASKSTATUS_H
