/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/test/test_rosmsg/srv/RossrvA.srv */
#ifndef TEST_ROSMSG_SERVICE_ROSSRVA_H
#define TEST_ROSMSG_SERVICE_ROSSRVA_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_rosmsg
{
template <class ContainerAllocator>
struct RossrvARequest_ : public ros::Message
{
  typedef RossrvARequest_<ContainerAllocator> Type;

  RossrvARequest_()
  : areq(0)
  {
  }

  RossrvARequest_(const ContainerAllocator& _alloc)
  : areq(0)
  {
  }

  typedef int32_t _areq_type;
  int32_t areq;


private:
  static const char* __s_getDataType_() { return "test_rosmsg/RossrvARequest"; }
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 "0217cf2f145df7686492b0471b5ecf7a"; }
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 "76c968b761b29d4bcc0a15cf4316a1e7"; }
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 "int32 areq\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, areq);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rosmsg::RossrvARequest> RossrvARequestPtr;
typedef boost::shared_ptr< ::test_rosmsg::RossrvARequest const> RossrvARequestConstPtr;


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

  RossrvAResponse_()
  : aresp(0)
  {
  }

  RossrvAResponse_(const ContainerAllocator& _alloc)
  : aresp(0)
  {
  }

  typedef int32_t _aresp_type;
  int32_t aresp;


private:
  static const char* __s_getDataType_() { return "test_rosmsg/RossrvAResponse"; }
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 "7714078796589731036f4da799e23357"; }
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 "76c968b761b29d4bcc0a15cf4316a1e7"; }
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 "int32 aresp\n\
\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, aresp);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rosmsg::RossrvAResponse> RossrvAResponsePtr;
typedef boost::shared_ptr< ::test_rosmsg::RossrvAResponse const> RossrvAResponseConstPtr;

struct RossrvA
{

typedef RossrvARequest Request;
typedef RossrvAResponse Response;
Request request;
Response response;

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

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

  static const char* value(const  ::test_rosmsg::RossrvARequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x0217cf2f145df768ULL;
  static const uint64_t static_value2 = 0x6492b0471b5ecf7aULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rosmsg::RossrvARequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "int32 areq\n\
\n\
";
  }

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

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


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

  static const char* value(const  ::test_rosmsg::RossrvAResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x7714078796589731ULL;
  static const uint64_t static_value2 = 0x036f4da799e23357ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rosmsg::RossrvAResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "int32 aresp\n\
\n\
\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_rosmsg::RossrvA> {
  static const char* value() 
  {
    return "76c968b761b29d4bcc0a15cf4316a1e7";
  }

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

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

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

template<class ContainerAllocator>
struct MD5Sum<test_rosmsg::RossrvARequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "76c968b761b29d4bcc0a15cf4316a1e7";
  }

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

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

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

template<class ContainerAllocator>
struct MD5Sum<test_rosmsg::RossrvAResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "76c968b761b29d4bcc0a15cf4316a1e7";
  }

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSMSG_SERVICE_ROSSRVA_H

