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


#ifndef KMRIIWA_CHEMIST_MSGS_MESSAGE_LBRCOMMAND_H
#define KMRIIWA_CHEMIST_MSGS_MESSAGE_LBRCOMMAND_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 LBRCommand_
{
  typedef LBRCommand_<ContainerAllocator> Type;

  LBRCommand_()
    : cmd_seq(0)
    , priority_task(false)
    , task_name()
    , task_parameters()  {
    }
  LBRCommand_(const ContainerAllocator& _alloc)
    : cmd_seq(0)
    , priority_task(false)
    , task_name(_alloc)
    , task_parameters(_alloc)  {
  (void)_alloc;
    }



   typedef int32_t _cmd_seq_type;
  _cmd_seq_type cmd_seq;

   typedef uint8_t _priority_task_type;
  _priority_task_type priority_task;

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

   typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _task_parameters_type;
  _task_parameters_type task_parameters;





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

}; // struct LBRCommand_

typedef ::kmriiwa_chemist_msgs::LBRCommand_<std::allocator<void> > LBRCommand;

typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::LBRCommand > LBRCommandPtr;
typedef boost::shared_ptr< ::kmriiwa_chemist_msgs::LBRCommand const> LBRCommandConstPtr;

// constants requiring out of line definition



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


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

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


} // namespace kmriiwa_chemist_msgs

namespace ros
{
namespace message_traits
{





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

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

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

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

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

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


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

  static const char* value(const ::kmriiwa_chemist_msgs::LBRCommand_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0xc6cb5376d0b94a13ULL;
  static const uint64_t static_value2 = 0x7e5519a205403138ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::kmriiwa_chemist_msgs::LBRCommand_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int32 cmd_seq\n"
"bool priority_task\n"
"string task_name\n"
"string[] task_parameters\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct LBRCommand_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::kmriiwa_chemist_msgs::LBRCommand_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::kmriiwa_chemist_msgs::LBRCommand_<ContainerAllocator>& v)
  {
    s << indent << "cmd_seq: ";
    Printer<int32_t>::stream(s, indent + "  ", v.cmd_seq);
    s << indent << "priority_task: ";
    Printer<uint8_t>::stream(s, indent + "  ", v.priority_task);
    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_parameters[]" << std::endl;
    for (size_t i = 0; i < v.task_parameters.size(); ++i)
    {
      s << indent << "  task_parameters[" << i << "]: ";
      Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.task_parameters[i]);
    }
  }
};

} // namespace message_operations
} // namespace ros

#endif // KMRIIWA_CHEMIST_MSGS_MESSAGE_LBRCOMMAND_H
