/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rospy/srv/MultipleAddTwoInts.srv */
#ifndef TEST_ROSPY_SERVICE_MULTIPLEADDTWOINTS_H
#define TEST_ROSPY_SERVICE_MULTIPLEADDTWOINTS_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 MultipleAddTwoIntsRequest_ : public ros::Message
{
  typedef MultipleAddTwoIntsRequest_<ContainerAllocator> Type;

  MultipleAddTwoIntsRequest_()
  : a(0)
  , b(0)
  , c(0)
  , d(0)
  {
  }

  MultipleAddTwoIntsRequest_(const ContainerAllocator& _alloc)
  : a(0)
  , b(0)
  , c(0)
  , d(0)
  {
  }

  typedef int32_t _a_type;
  int32_t a;

  typedef int32_t _b_type;
  int32_t b;

  typedef int32_t _c_type;
  int32_t c;

  typedef int32_t _d_type;
  int32_t d;


private:
  static const char* __s_getDataType_() { return "test_rospy/MultipleAddTwoIntsRequest"; }
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 "55328e64986cccd71be7fe834e693c76"; }
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 "51899e11b54a9c6a1153d9517a921791"; }
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 "\n\
int32 a\n\
int32 b\n\
int32 c\n\
int32 d\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, a);
    ros::serialization::serialize(stream, b);
    ros::serialization::serialize(stream, c);
    ros::serialization::serialize(stream, d);
    return stream.getData();
  }

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

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(a);
    size += ros::serialization::serializationLength(b);
    size += ros::serialization::serializationLength(c);
    size += ros::serialization::serializationLength(d);
    return size;
  }

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

typedef boost::shared_ptr< ::test_rospy::MultipleAddTwoIntsRequest> MultipleAddTwoIntsRequestPtr;
typedef boost::shared_ptr< ::test_rospy::MultipleAddTwoIntsRequest const> MultipleAddTwoIntsRequestConstPtr;


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

  MultipleAddTwoIntsResponse_()
  : ab(0)
  , cd(0)
  {
  }

  MultipleAddTwoIntsResponse_(const ContainerAllocator& _alloc)
  : ab(0)
  , cd(0)
  {
  }

  typedef int32_t _ab_type;
  int32_t ab;

  typedef int32_t _cd_type;
  int32_t cd;


private:
  static const char* __s_getDataType_() { return "test_rospy/MultipleAddTwoIntsResponse"; }
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 "e6fcb876df417a4130d2c7eb2d1b2436"; }
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 "51899e11b54a9c6a1153d9517a921791"; }
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 "int32 ab\n\
int32 cd\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, ab);
    ros::serialization::serialize(stream, cd);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rospy::MultipleAddTwoIntsResponse> MultipleAddTwoIntsResponsePtr;
typedef boost::shared_ptr< ::test_rospy::MultipleAddTwoIntsResponse const> MultipleAddTwoIntsResponseConstPtr;

struct MultipleAddTwoInts
{

typedef MultipleAddTwoIntsRequest Request;
typedef MultipleAddTwoIntsResponse Response;
Request request;
Response response;

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

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

  static const char* value(const  ::test_rospy::MultipleAddTwoIntsRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x55328e64986cccd7ULL;
  static const uint64_t static_value2 = 0x1be7fe834e693c76ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::MultipleAddTwoIntsRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "\n\
int32 a\n\
int32 b\n\
int32 c\n\
int32 d\n\
\n\
";
  }

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

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


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

  static const char* value(const  ::test_rospy::MultipleAddTwoIntsResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xe6fcb876df417a41ULL;
  static const uint64_t static_value2 = 0x30d2c7eb2d1b2436ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::MultipleAddTwoIntsResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "int32 ab\n\
int32 cd\n\
\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_rospy::MultipleAddTwoIntsRequest_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.a);
    stream.next(m.b);
    stream.next(m.c);
    stream.next(m.d);
  }

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


namespace ros
{
namespace serialization
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSPY_SERVICE_MULTIPLEADDTWOINTS_H

