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


#ifndef FRANKA_MSGS_ARCHEMIST_MESSAGE_TASKSTATUS_H
#define FRANKA_MSGS_ARCHEMIST_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 franka_msgs_archemist
{
template <class ContainerAllocator>
struct TaskStatus_
{
  typedef TaskStatus_<ContainerAllocator> Type;

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



   typedef int32_t _task_state_type;
  _task_state_type task_state;

   typedef uint32_t _task_seq_type;
  _task_seq_type task_seq;

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



// 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< ::franka_msgs_archemist::TaskStatus_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::franka_msgs_archemist::TaskStatus_<ContainerAllocator> const> ConstPtr;

}; // struct TaskStatus_

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

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

// constants requiring out of line definition

   

   

   

   



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


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

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


} // namespace franka_msgs_archemist

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


template<class ContainerAllocator>
struct MD5Sum< ::franka_msgs_archemist::TaskStatus_<ContainerAllocator> >
{
  static const char* value()
  {
    return "27a615bb15c84d68b2eaa0e980729559";
  }

  static const char* value(const ::franka_msgs_archemist::TaskStatus_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x27a615bb15c84d68ULL;
  static const uint64_t static_value2 = 0xb2eaa0e980729559ULL;
};

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

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

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

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct TaskStatus_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::franka_msgs_archemist::TaskStatus_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::franka_msgs_archemist::TaskStatus_<ContainerAllocator>& v)
  {
    s << indent << "task_state: ";
    Printer<int32_t>::stream(s, indent + "  ", v.task_state);
    s << indent << "task_seq: ";
    Printer<uint32_t>::stream(s, indent + "  ", v.task_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);
  }
};

} // namespace message_operations
} // namespace ros

#endif // FRANKA_MSGS_ARCHEMIST_MESSAGE_TASKSTATUS_H
