/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_rospy/srv/ConstantsMultiplex.srv */
#ifndef TEST_ROSPY_SERVICE_CONSTANTSMULTIPLEX_H
#define TEST_ROSPY_SERVICE_CONSTANTSMULTIPLEX_H
#include <string>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/time.h"

#include "ros/service_traits.h"




namespace test_rospy
{
template <class ContainerAllocator>
struct ConstantsMultiplexRequest_ : public ros::Message
{
  typedef ConstantsMultiplexRequest_<ContainerAllocator> Type;

  ConstantsMultiplexRequest_()
  : selection(0)
  {
  }

  ConstantsMultiplexRequest_(const ContainerAllocator& _alloc)
  : selection(0)
  {
  }

  typedef int8_t _selection_type;
  int8_t selection;

  enum { BYTE_X = 0 };
  enum { BYTE_Y = 15 };
  enum { BYTE_Z = 5 };
  enum { INT32_X = 0 };
  enum { INT32_Y = -12345678 };
  enum { INT32_Z = 12345678 };
  enum { UINT32_X = 0 };
  enum { UINT32_Y = 12345678 };
  enum { UINT32_Z = 1 };
  static const float FLOAT32_X;
  static const float FLOAT32_Y;
  static const float FLOAT32_Z;
  enum { SELECT_X = 1 };
  enum { SELECT_Y = 2 };
  enum { SELECT_Z = 3 };

private:
  static const char* __s_getDataType_() { return "test_rospy/ConstantsMultiplexRequest"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

  ROSCPP_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }

private:
  static const char* __s_getMD5Sum_() { return "3e3b2ecf5f3e7d25830bd97a7fd13b17"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }

private:
  static const char* __s_getServerMD5Sum_() { return "bab86066b3f7801cb25df3932f644396"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "byte BYTE_X=0\n\
byte BYTE_Y=15\n\
byte BYTE_Z=5\n\
int32 INT32_X=0\n\
int32 INT32_Y=-12345678\n\
int32 INT32_Z=12345678\n\
uint32 UINT32_X=0\n\
uint32 UINT32_Y=12345678\n\
uint32 UINT32_Z=1\n\
float32 FLOAT32_X=0.0\n\
float32 FLOAT32_Y=-3.14159\n\
float32 FLOAT32_Z=12345.78\n\
byte SELECT_X=1\n\
byte SELECT_Y=2\n\
byte SELECT_Z=3\n\
byte selection\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    ros::serialization::serialize(stream, selection);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, selection);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(selection);
    return size;
  }

  typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct ConstantsMultiplexRequest
typedef  ::test_rospy::ConstantsMultiplexRequest_<std::allocator<void> > ConstantsMultiplexRequest;

typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexRequest> ConstantsMultiplexRequestPtr;
typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexRequest const> ConstantsMultiplexRequestConstPtr;


template <class ContainerAllocator>
struct ConstantsMultiplexResponse_ : public ros::Message
{
  typedef ConstantsMultiplexResponse_<ContainerAllocator> Type;

  ConstantsMultiplexResponse_()
  : select_confirm(0)
  , ret_byte(0)
  , ret_int32(0)
  , ret_uint32(0)
  , ret_float32(0.0)
  {
  }

  ConstantsMultiplexResponse_(const ContainerAllocator& _alloc)
  : select_confirm(0)
  , ret_byte(0)
  , ret_int32(0)
  , ret_uint32(0)
  , ret_float32(0.0)
  {
  }

  typedef int8_t _select_confirm_type;
  int8_t select_confirm;

  typedef int8_t _ret_byte_type;
  int8_t ret_byte;

  typedef int32_t _ret_int32_type;
  int32_t ret_int32;

  typedef uint32_t _ret_uint32_type;
  uint32_t ret_uint32;

  typedef float _ret_float32_type;
  float ret_float32;

  enum { CONFIRM_X = 1 };
  enum { CONFIRM_Y = 2 };
  enum { CONFIRM_Z = 3 };

private:
  static const char* __s_getDataType_() { return "test_rospy/ConstantsMultiplexResponse"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

  ROSCPP_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }

private:
  static const char* __s_getMD5Sum_() { return "012320975f41b58dcffb5b0e7a154691"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }

private:
  static const char* __s_getServerMD5Sum_() { return "bab86066b3f7801cb25df3932f644396"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

  ROSCPP_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }

private:
  static const char* __s_getMessageDefinition_() { return "\n\
byte CONFIRM_X=1\n\
byte CONFIRM_Y=2\n\
byte CONFIRM_Z=3\n\
byte select_confirm\n\
byte ret_byte\n\
int32 ret_int32\n\
uint32 ret_uint32\n\
float32 ret_float32\n\
\n\
"; }
public:
  ROSCPP_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }

  ROSCPP_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
  {
    ros::serialization::OStream stream(write_ptr, 1000000000);
    ros::serialization::serialize(stream, select_confirm);
    ros::serialization::serialize(stream, ret_byte);
    ros::serialization::serialize(stream, ret_int32);
    ros::serialization::serialize(stream, ret_uint32);
    ros::serialization::serialize(stream, ret_float32);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, select_confirm);
    ros::serialization::deserialize(stream, ret_byte);
    ros::serialization::deserialize(stream, ret_int32);
    ros::serialization::deserialize(stream, ret_uint32);
    ros::serialization::deserialize(stream, ret_float32);
    return stream.getData();
  }

  ROSCPP_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(select_confirm);
    size += ros::serialization::serializationLength(ret_byte);
    size += ros::serialization::serializationLength(ret_int32);
    size += ros::serialization::serializationLength(ret_uint32);
    size += ros::serialization::serializationLength(ret_float32);
    return size;
  }

  typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct ConstantsMultiplexResponse
typedef  ::test_rospy::ConstantsMultiplexResponse_<std::allocator<void> > ConstantsMultiplexResponse;

typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexResponse> ConstantsMultiplexResponsePtr;
typedef boost::shared_ptr< ::test_rospy::ConstantsMultiplexResponse const> ConstantsMultiplexResponseConstPtr;

struct ConstantsMultiplex
{

typedef ConstantsMultiplexRequest Request;
typedef ConstantsMultiplexResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct ConstantsMultiplex
} // namespace test_rospy

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "3e3b2ecf5f3e7d25830bd97a7fd13b17";
  }

  static const char* value(const  ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x3e3b2ecf5f3e7d25ULL;
  static const uint64_t static_value2 = 0x830bd97a7fd13b17ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ConstantsMultiplexRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "byte BYTE_X=0\n\
byte BYTE_Y=15\n\
byte BYTE_Z=5\n\
int32 INT32_X=0\n\
int32 INT32_Y=-12345678\n\
int32 INT32_Z=12345678\n\
uint32 UINT32_X=0\n\
uint32 UINT32_Y=12345678\n\
uint32 UINT32_Z=1\n\
float32 FLOAT32_X=0.0\n\
float32 FLOAT32_Y=-3.14159\n\
float32 FLOAT32_Z=12345.78\n\
byte SELECT_X=1\n\
byte SELECT_Y=2\n\
byte SELECT_Z=3\n\
byte selection\n\
\n\
";
  }

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

template<class ContainerAllocator> struct IsFixedSize< ::test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > : public TrueType {};
} // namespace message_traits
} // namespace ros


namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "012320975f41b58dcffb5b0e7a154691";
  }

  static const char* value(const  ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x012320975f41b58dULL;
  static const uint64_t static_value2 = 0xcffb5b0e7a154691ULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ConstantsMultiplexResponse";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "\n\
byte CONFIRM_X=1\n\
byte CONFIRM_Y=2\n\
byte CONFIRM_Z=3\n\
byte select_confirm\n\
byte ret_byte\n\
int32 ret_int32\n\
uint32 ret_uint32\n\
float32 ret_float32\n\
\n\
";
  }

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

template<class ContainerAllocator> struct IsFixedSize< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > : public TrueType {};
} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

  ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct ConstantsMultiplexRequest_
} // namespace serialization
} // namespace ros


namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.select_confirm);
    stream.next(m.ret_byte);
    stream.next(m.ret_int32);
    stream.next(m.ret_uint32);
    stream.next(m.ret_float32);
  }

  ROS_DECLARE_ALLINONE_SERIALIZER;
}; // struct ConstantsMultiplexResponse_
} // namespace serialization
} // namespace ros

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_rospy::ConstantsMultiplex> {
  static const char* value() 
  {
    return "bab86066b3f7801cb25df3932f644396";
  }

  static const char* value(const test_rospy::ConstantsMultiplex&) { return value(); } 
};

template<>
struct DataType<test_rospy::ConstantsMultiplex> {
  static const char* value() 
  {
    return "test_rospy/ConstantsMultiplex";
  }

  static const char* value(const test_rospy::ConstantsMultiplex&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "bab86066b3f7801cb25df3932f644396";
  }

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

template<class ContainerAllocator>
struct DataType<test_rospy::ConstantsMultiplexRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ConstantsMultiplex";
  }

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

template<class ContainerAllocator>
struct MD5Sum<test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "bab86066b3f7801cb25df3932f644396";
  }

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

template<class ContainerAllocator>
struct DataType<test_rospy::ConstantsMultiplexResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/ConstantsMultiplex";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSPY_SERVICE_CONSTANTSMULTIPLEX_H

