/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rospy/srv/TransitiveSrv.srv */
#ifndef TEST_ROSPY_SERVICE_TRANSITIVESRV_H
#define TEST_ROSPY_SERVICE_TRANSITIVESRV_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 "test_rospy/TransitiveMsg1.h"



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

  TransitiveSrvRequest_()
  : msg()
  {
  }

  TransitiveSrvRequest_(const ContainerAllocator& _alloc)
  : msg(_alloc)
  {
  }

  typedef  ::test_rospy::TransitiveMsg1_<ContainerAllocator>  _msg_type;
   ::test_rospy::TransitiveMsg1_<ContainerAllocator>  msg;


private:
  static const char* __s_getDataType_() { return "test_rospy/TransitiveSrvRequest"; }
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 "c9627b8665f2e2514f3d19406d2ed17d"; }
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 "8b7918ee2b81eaf825f4c70de011f6fa"; }
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 "test_rospy/TransitiveMsg1 msg\n\
\n\
================================================================================\n\
MSG: test_rospy/TransitiveMsg1\n\
TransitiveMsg2 msg2\n\
\n\
\n\
================================================================================\n\
MSG: test_rospy/TransitiveMsg2\n\
test_ros/Composite data\n\
\n\
================================================================================\n\
MSG: test_ros/Composite\n\
# composite message. required for testing import calculation in generators\n\
CompositeA a\n\
CompositeB b\n\
\n\
================================================================================\n\
MSG: test_ros/CompositeA\n\
# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
\n\
================================================================================\n\
MSG: test_ros/CompositeB\n\
# copy of geometry_msgs/Point for testing\n\
float64 x\n\
float64 y\n\
float64 z\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, msg);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rospy::TransitiveSrvRequest> TransitiveSrvRequestPtr;
typedef boost::shared_ptr< ::test_rospy::TransitiveSrvRequest const> TransitiveSrvRequestConstPtr;


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

  TransitiveSrvResponse_()
  : a(0)
  {
  }

  TransitiveSrvResponse_(const ContainerAllocator& _alloc)
  : a(0)
  {
  }

  typedef int32_t _a_type;
  int32_t a;


private:
  static const char* __s_getDataType_() { return "test_rospy/TransitiveSrvResponse"; }
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 "5c9fb1a886e81e3162a5c87bf55c072b"; }
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 "8b7918ee2b81eaf825f4c70de011f6fa"; }
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 a\n\
\n\
\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);
    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);
    return stream.getData();
  }

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

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

typedef boost::shared_ptr< ::test_rospy::TransitiveSrvResponse> TransitiveSrvResponsePtr;
typedef boost::shared_ptr< ::test_rospy::TransitiveSrvResponse const> TransitiveSrvResponseConstPtr;

struct TransitiveSrv
{

typedef TransitiveSrvRequest Request;
typedef TransitiveSrvResponse Response;
Request request;
Response response;

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

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

  static const char* value(const  ::test_rospy::TransitiveSrvRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xc9627b8665f2e251ULL;
  static const uint64_t static_value2 = 0x4f3d19406d2ed17dULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::TransitiveSrvRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_rospy/TransitiveMsg1 msg\n\
\n\
================================================================================\n\
MSG: test_rospy/TransitiveMsg1\n\
TransitiveMsg2 msg2\n\
\n\
\n\
================================================================================\n\
MSG: test_rospy/TransitiveMsg2\n\
test_ros/Composite data\n\
\n\
================================================================================\n\
MSG: test_ros/Composite\n\
# composite message. required for testing import calculation in generators\n\
CompositeA a\n\
CompositeB b\n\
\n\
================================================================================\n\
MSG: test_ros/CompositeA\n\
# This represents an orientation in free space in quaternion form.\n\
\n\
float64 x\n\
float64 y\n\
float64 z\n\
float64 w\n\
\n\
================================================================================\n\
MSG: test_ros/CompositeB\n\
# copy of geometry_msgs/Point for testing\n\
float64 x\n\
float64 y\n\
float64 z\n\
\n\
";
  }

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

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


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

  static const char* value(const  ::test_rospy::TransitiveSrvResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x5c9fb1a886e81e31ULL;
  static const uint64_t static_value2 = 0x62a5c87bf55c072bULL;
};

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

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

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

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

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

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSPY_SERVICE_TRANSITIVESRV_H

