/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rosmsg/srv/RossrvB.srv */
#ifndef TEST_ROSMSG_SERVICE_ROSSRVB_H
#define TEST_ROSMSG_SERVICE_ROSSRVB_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"

#include "std_msgs/Empty.h"


#include "std_msgs/Empty.h"

namespace test_rosmsg
{
template <class ContainerAllocator>
struct RossrvBRequest_ : public ros::Message
{
  typedef RossrvBRequest_<ContainerAllocator> Type;

  RossrvBRequest_()
  : empty()
  {
  }

  RossrvBRequest_(const ContainerAllocator& _alloc)
  : empty(_alloc)
  {
  }

  typedef  ::std_msgs::Empty_<ContainerAllocator>  _empty_type;
   ::std_msgs::Empty_<ContainerAllocator>  empty;


private:
  static const char* __s_getDataType_() { return "test_rosmsg/RossrvBRequest"; }
public:
  ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

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

private:
  static const char* __s_getMD5Sum_() { return "6aac6c697d5414bc0fcede8c33981d0e"; }
public:
  ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

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

private:
  static const char* __s_getServerMD5Sum_() { return "928fb104d412cd4f5983340b98df1876"; }
public:
  ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

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

private:
  static const char* __s_getMessageDefinition_() { return "std_msgs/Empty empty\n\
\n\
================================================================================\n\
MSG: std_msgs/Empty\n\
\n\
"; }
public:
  ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

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

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

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

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

  typedef boost::shared_ptr< ::test_rosmsg::RossrvBRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rosmsg::RossrvBRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct RossrvBRequest
typedef  ::test_rosmsg::RossrvBRequest_<std::allocator<void> > RossrvBRequest;

typedef boost::shared_ptr< ::test_rosmsg::RossrvBRequest> RossrvBRequestPtr;
typedef boost::shared_ptr< ::test_rosmsg::RossrvBRequest const> RossrvBRequestConstPtr;


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

  RossrvBResponse_()
  : empty()
  {
  }

  RossrvBResponse_(const ContainerAllocator& _alloc)
  : empty(_alloc)
  {
  }

  typedef  ::std_msgs::Empty_<ContainerAllocator>  _empty_type;
   ::std_msgs::Empty_<ContainerAllocator>  empty;


private:
  static const char* __s_getDataType_() { return "test_rosmsg/RossrvBResponse"; }
public:
  ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }

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

private:
  static const char* __s_getMD5Sum_() { return "6aac6c697d5414bc0fcede8c33981d0e"; }
public:
  ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }

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

private:
  static const char* __s_getServerMD5Sum_() { return "928fb104d412cd4f5983340b98df1876"; }
public:
  ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }

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

private:
  static const char* __s_getMessageDefinition_() { return "std_msgs/Empty empty\n\
\n\
\n\
================================================================================\n\
MSG: std_msgs/Empty\n\
\n\
"; }
public:
  ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }

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

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

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

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

  typedef boost::shared_ptr< ::test_rosmsg::RossrvBResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_rosmsg::RossrvBResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct RossrvBResponse
typedef  ::test_rosmsg::RossrvBResponse_<std::allocator<void> > RossrvBResponse;

typedef boost::shared_ptr< ::test_rosmsg::RossrvBResponse> RossrvBResponsePtr;
typedef boost::shared_ptr< ::test_rosmsg::RossrvBResponse const> RossrvBResponseConstPtr;

struct RossrvB
{

typedef RossrvBRequest Request;
typedef RossrvBResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct RossrvB
} // namespace test_rosmsg

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rosmsg::RossrvBRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "6aac6c697d5414bc0fcede8c33981d0e";
  }

  static const char* value(const  ::test_rosmsg::RossrvBRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x6aac6c697d5414bcULL;
  static const uint64_t static_value2 = 0x0fcede8c33981d0eULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rosmsg::RossrvBRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rosmsg/RossrvBRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rosmsg::RossrvBRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "std_msgs/Empty empty\n\
\n\
================================================================================\n\
MSG: std_msgs/Empty\n\
\n\
";
  }

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

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


namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_rosmsg::RossrvBResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "6aac6c697d5414bc0fcede8c33981d0e";
  }

  static const char* value(const  ::test_rosmsg::RossrvBResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x6aac6c697d5414bcULL;
  static const uint64_t static_value2 = 0x0fcede8c33981d0eULL;
};

template<class ContainerAllocator>
struct DataType< ::test_rosmsg::RossrvBResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rosmsg/RossrvBResponse";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_rosmsg::RossrvBResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "std_msgs/Empty empty\n\
\n\
\n\
================================================================================\n\
MSG: std_msgs/Empty\n\
\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_rosmsg::RossrvB> {
  static const char* value() 
  {
    return "928fb104d412cd4f5983340b98df1876";
  }

  static const char* value(const test_rosmsg::RossrvB&) { return value(); } 
};

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

  static const char* value(const test_rosmsg::RossrvB&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<test_rosmsg::RossrvBRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "928fb104d412cd4f5983340b98df1876";
  }

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

template<class ContainerAllocator>
struct DataType<test_rosmsg::RossrvBRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rosmsg/RossrvB";
  }

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

template<class ContainerAllocator>
struct MD5Sum<test_rosmsg::RossrvBResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "928fb104d412cd4f5983340b98df1876";
  }

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

template<class ContainerAllocator>
struct DataType<test_rosmsg::RossrvBResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rosmsg/RossrvB";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSMSG_SERVICE_ROSSRVB_H

