// Generated by gencpp from file common/command_ros_srvRequest.msg
// DO NOT EDIT!


#ifndef COMMON_MESSAGE_COMMAND_ROS_SRVREQUEST_H
#define COMMON_MESSAGE_COMMAND_ROS_SRVREQUEST_H


#include <string>
#include <vector>
#include <memory>

#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/message_operations.h>


namespace common
{
template <class ContainerAllocator>
struct command_ros_srvRequest_
{
  typedef command_ros_srvRequest_<ContainerAllocator> Type;

  command_ros_srvRequest_()
    : srctype(0)
    , srcid(0)
    , dsttype(0)
    , dstid(0)
    , command(0)  {
    }
  command_ros_srvRequest_(const ContainerAllocator& _alloc)
    : srctype(0)
    , srcid(0)
    , dsttype(0)
    , dstid(0)
    , command(0)  {
  (void)_alloc;
    }



   typedef int32_t _srctype_type;
  _srctype_type srctype;

   typedef int32_t _srcid_type;
  _srcid_type srcid;

   typedef int32_t _dsttype_type;
  _dsttype_type dsttype;

   typedef int32_t _dstid_type;
  _dstid_type dstid;

   typedef int32_t _command_type;
  _command_type command;





  typedef boost::shared_ptr< ::common::command_ros_srvRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::common::command_ros_srvRequest_<ContainerAllocator> const> ConstPtr;

}; // struct command_ros_srvRequest_

typedef ::common::command_ros_srvRequest_<std::allocator<void> > command_ros_srvRequest;

typedef boost::shared_ptr< ::common::command_ros_srvRequest > command_ros_srvRequestPtr;
typedef boost::shared_ptr< ::common::command_ros_srvRequest const> command_ros_srvRequestConstPtr;

// constants requiring out of line definition



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


template<typename ContainerAllocator1, typename ContainerAllocator2>
bool operator==(const ::common::command_ros_srvRequest_<ContainerAllocator1> & lhs, const ::common::command_ros_srvRequest_<ContainerAllocator2> & rhs)
{
  return lhs.srctype == rhs.srctype &&
    lhs.srcid == rhs.srcid &&
    lhs.dsttype == rhs.dsttype &&
    lhs.dstid == rhs.dstid &&
    lhs.command == rhs.command;
}

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


} // namespace common

namespace ros
{
namespace message_traits
{





template <class ContainerAllocator>
struct IsFixedSize< ::common::command_ros_srvRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsFixedSize< ::common::command_ros_srvRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common::command_ros_srvRequest_<ContainerAllocator> >
  : TrueType
  { };

template <class ContainerAllocator>
struct IsMessage< ::common::command_ros_srvRequest_<ContainerAllocator> const>
  : TrueType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common::command_ros_srvRequest_<ContainerAllocator> >
  : FalseType
  { };

template <class ContainerAllocator>
struct HasHeader< ::common::command_ros_srvRequest_<ContainerAllocator> const>
  : FalseType
  { };


template<class ContainerAllocator>
struct MD5Sum< ::common::command_ros_srvRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "067dd6d2ba03fedce3130fb073db7e39";
  }

  static const char* value(const ::common::command_ros_srvRequest_<ContainerAllocator>&) { return value(); }
  static const uint64_t static_value1 = 0x067dd6d2ba03fedcULL;
  static const uint64_t static_value2 = 0xe3130fb073db7e39ULL;
};

template<class ContainerAllocator>
struct DataType< ::common::command_ros_srvRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "common/command_ros_srvRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::common::command_ros_srvRequest_<ContainerAllocator> >
{
  static const char* value()
  {
    return "int32   srctype       # source device type\n"
"int32   srcid         # source device id\n"
"int32   dsttype       # destination device type\n"
"int32   dstid         # destination device id\n"
"int32   command       # command\n"
;
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

  template<class ContainerAllocator> struct Serializer< ::common::command_ros_srvRequest_<ContainerAllocator> >
  {
    template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
    {
      stream.next(m.srctype);
      stream.next(m.srcid);
      stream.next(m.dsttype);
      stream.next(m.dstid);
      stream.next(m.command);
    }

    ROS_DECLARE_ALLINONE_SERIALIZER
  }; // struct command_ros_srvRequest_

} // namespace serialization
} // namespace ros

namespace ros
{
namespace message_operations
{

template<class ContainerAllocator>
struct Printer< ::common::command_ros_srvRequest_<ContainerAllocator> >
{
  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::common::command_ros_srvRequest_<ContainerAllocator>& v)
  {
    s << indent << "srctype: ";
    Printer<int32_t>::stream(s, indent + "  ", v.srctype);
    s << indent << "srcid: ";
    Printer<int32_t>::stream(s, indent + "  ", v.srcid);
    s << indent << "dsttype: ";
    Printer<int32_t>::stream(s, indent + "  ", v.dsttype);
    s << indent << "dstid: ";
    Printer<int32_t>::stream(s, indent + "  ", v.dstid);
    s << indent << "command: ";
    Printer<int32_t>::stream(s, indent + "  ", v.command);
  }
};

} // namespace message_operations
} // namespace ros

#endif // COMMON_MESSAGE_COMMAND_ROS_SRVREQUEST_H
