/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/test/test_rospy/srv/StringString.srv */
#ifndef TEST_ROSPY_SERVICE_STRINGSTRING_H
#define TEST_ROSPY_SERVICE_STRINGSTRING_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/String.h"
#include "test_rospy/Val.h"


#include "std_msgs/String.h"

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

  StringStringRequest_()
  : str()
  , str2()
  {
  }

  StringStringRequest_(const ContainerAllocator& _alloc)
  : str(_alloc)
  , str2(_alloc)
  {
  }

  typedef  ::std_msgs::String_<ContainerAllocator>  _str_type;
   ::std_msgs::String_<ContainerAllocator>  str;

  typedef  ::test_rospy::Val_<ContainerAllocator>  _str2_type;
   ::test_rospy::Val_<ContainerAllocator>  str2;


private:
  static const char* __s_getDataType_() { return "test_rospy/StringStringRequest"; }
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 "1546156fedebbd48201e9764f27ae3e2"; }
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 "37bf11bf0378473e105b4a52f61d1a75"; }
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/String str\n\
Val str2\n\
\n\
================================================================================\n\
MSG: std_msgs/String\n\
string data\n\
\n\
================================================================================\n\
MSG: test_rospy/Val\n\
string val\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, str);
    ros::serialization::serialize(stream, str2);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rospy::StringStringRequest> StringStringRequestPtr;
typedef boost::shared_ptr< ::test_rospy::StringStringRequest const> StringStringRequestConstPtr;


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

  StringStringResponse_()
  : str()
  {
  }

  StringStringResponse_(const ContainerAllocator& _alloc)
  : str(_alloc)
  {
  }

  typedef  ::std_msgs::String_<ContainerAllocator>  _str_type;
   ::std_msgs::String_<ContainerAllocator>  str;


private:
  static const char* __s_getDataType_() { return "test_rospy/StringStringResponse"; }
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 "32224c1636e75e68745b61629dfa07c5"; }
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 "37bf11bf0378473e105b4a52f61d1a75"; }
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/String str\n\
\n\
\n\
================================================================================\n\
MSG: std_msgs/String\n\
string data\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, str);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::test_rospy::StringStringResponse> StringStringResponsePtr;
typedef boost::shared_ptr< ::test_rospy::StringStringResponse const> StringStringResponseConstPtr;

struct StringString
{

typedef StringStringRequest Request;
typedef StringStringResponse Response;
Request request;
Response response;

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

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

  static const char* value(const  ::test_rospy::StringStringRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x1546156fedebbd48ULL;
  static const uint64_t static_value2 = 0x201e9764f27ae3e2ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::StringStringRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "std_msgs/String str\n\
Val str2\n\
\n\
================================================================================\n\
MSG: std_msgs/String\n\
string data\n\
\n\
================================================================================\n\
MSG: test_rospy/Val\n\
string val\n\
";
  }

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

} // namespace message_traits
} // namespace ros


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

  static const char* value(const  ::test_rospy::StringStringResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x32224c1636e75e68ULL;
  static const uint64_t static_value2 = 0x745b61629dfa07c5ULL;
};

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

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

template<class ContainerAllocator>
struct Definition< ::test_rospy::StringStringResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "std_msgs/String str\n\
\n\
\n\
================================================================================\n\
MSG: std_msgs/String\n\
string data\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TEST_ROSPY_SERVICE_STRINGSTRING_H

