/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros-common/work/common-1.4.3/test_bond/srv/TestBond.srv */
#ifndef TEST_BOND_SERVICE_TESTBOND_H
#define TEST_BOND_SERVICE_TESTBOND_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_bond
{
template <class ContainerAllocator>
struct TestBondRequest_ : public ros::Message
{
  typedef TestBondRequest_<ContainerAllocator> Type;

  TestBondRequest_()
  : topic()
  , id()
  , delay_connect()
  , delay_death()
  , inhibit_death(false)
  , inhibit_death_message(false)
  {
  }

  TestBondRequest_(const ContainerAllocator& _alloc)
  : topic(_alloc)
  , id(_alloc)
  , delay_connect()
  , delay_death()
  , inhibit_death(false)
  , inhibit_death_message(false)
  {
  }

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _topic_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  topic;

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _id_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  id;

  typedef ros::Duration _delay_connect_type;
  ros::Duration delay_connect;

  typedef ros::Duration _delay_death_type;
  ros::Duration delay_death;

  typedef uint8_t _inhibit_death_type;
  uint8_t inhibit_death;

  typedef uint8_t _inhibit_death_message_type;
  uint8_t inhibit_death_message;


private:
  static const char* __s_getDataType_() { return "test_bond/TestBondRequest"; }
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 "1c7d43df2e371719140975f9c404a8bb"; }
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 "1c7d43df2e371719140975f9c404a8bb"; }
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 "string topic\n\
string id\n\
duration delay_connect\n\
duration delay_death\n\
bool inhibit_death\n\
bool inhibit_death_message\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, topic);
    ros::serialization::serialize(stream, id);
    ros::serialization::serialize(stream, delay_connect);
    ros::serialization::serialize(stream, delay_death);
    ros::serialization::serialize(stream, inhibit_death);
    ros::serialization::serialize(stream, inhibit_death_message);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
  {
    ros::serialization::IStream stream(read_ptr, 1000000000);
    ros::serialization::deserialize(stream, topic);
    ros::serialization::deserialize(stream, id);
    ros::serialization::deserialize(stream, delay_connect);
    ros::serialization::deserialize(stream, delay_death);
    ros::serialization::deserialize(stream, inhibit_death);
    ros::serialization::deserialize(stream, inhibit_death_message);
    return stream.getData();
  }

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    size += ros::serialization::serializationLength(topic);
    size += ros::serialization::serializationLength(id);
    size += ros::serialization::serializationLength(delay_connect);
    size += ros::serialization::serializationLength(delay_death);
    size += ros::serialization::serializationLength(inhibit_death);
    size += ros::serialization::serializationLength(inhibit_death_message);
    return size;
  }

  typedef boost::shared_ptr< ::test_bond::TestBondRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_bond::TestBondRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct TestBondRequest
typedef  ::test_bond::TestBondRequest_<std::allocator<void> > TestBondRequest;

typedef boost::shared_ptr< ::test_bond::TestBondRequest> TestBondRequestPtr;
typedef boost::shared_ptr< ::test_bond::TestBondRequest const> TestBondRequestConstPtr;


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

  TestBondResponse_()
  {
  }

  TestBondResponse_(const ContainerAllocator& _alloc)
  {
  }


private:
  static const char* __s_getDataType_() { return "test_bond/TestBondResponse"; }
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 "d41d8cd98f00b204e9800998ecf8427e"; }
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 "1c7d43df2e371719140975f9c404a8bb"; }
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\
\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);
    return stream.getData();
  }

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

  ROS_DEPRECATED virtual uint32_t serializationLength() const
  {
    uint32_t size = 0;
    return size;
  }

  typedef boost::shared_ptr< ::test_bond::TestBondResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::test_bond::TestBondResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct TestBondResponse
typedef  ::test_bond::TestBondResponse_<std::allocator<void> > TestBondResponse;

typedef boost::shared_ptr< ::test_bond::TestBondResponse> TestBondResponsePtr;
typedef boost::shared_ptr< ::test_bond::TestBondResponse const> TestBondResponseConstPtr;

struct TestBond
{

typedef TestBondRequest Request;
typedef TestBondResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct TestBond
} // namespace test_bond

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_bond::TestBondRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "1c7d43df2e371719140975f9c404a8bb";
  }

  static const char* value(const  ::test_bond::TestBondRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x1c7d43df2e371719ULL;
  static const uint64_t static_value2 = 0x140975f9c404a8bbULL;
};

template<class ContainerAllocator>
struct DataType< ::test_bond::TestBondRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_bond/TestBondRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_bond::TestBondRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "string topic\n\
string id\n\
duration delay_connect\n\
duration delay_death\n\
bool inhibit_death\n\
bool inhibit_death_message\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros


namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::test_bond::TestBondResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "d41d8cd98f00b204e9800998ecf8427e";
  }

  static const char* value(const  ::test_bond::TestBondResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
  static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
};

template<class ContainerAllocator>
struct DataType< ::test_bond::TestBondResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_bond/TestBondResponse";
  }

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

template<class ContainerAllocator>
struct Definition< ::test_bond::TestBondResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "\n\
\n\
";
  }

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

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

namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_bond::TestBondRequest_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
    stream.next(m.topic);
    stream.next(m.id);
    stream.next(m.delay_connect);
    stream.next(m.delay_death);
    stream.next(m.inhibit_death);
    stream.next(m.inhibit_death_message);
  }

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


namespace ros
{
namespace serialization
{

template<class ContainerAllocator> struct Serializer< ::test_bond::TestBondResponse_<ContainerAllocator> >
{
  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
  {
  }

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<test_bond::TestBond> {
  static const char* value() 
  {
    return "1c7d43df2e371719140975f9c404a8bb";
  }

  static const char* value(const test_bond::TestBond&) { return value(); } 
};

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

  static const char* value(const test_bond::TestBond&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<test_bond::TestBondRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "1c7d43df2e371719140975f9c404a8bb";
  }

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

template<class ContainerAllocator>
struct DataType<test_bond::TestBondRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_bond/TestBond";
  }

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

template<class ContainerAllocator>
struct MD5Sum<test_bond::TestBondResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "1c7d43df2e371719140975f9c404a8bb";
  }

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

template<class ContainerAllocator>
struct DataType<test_bond::TestBondResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "test_bond/TestBond";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TEST_BOND_SERVICE_TESTBOND_H

