/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/tools/topic_tools/srv/MuxAdd.srv */
#ifndef TOPIC_TOOLS_SERVICE_MUXADD_H
#define TOPIC_TOOLS_SERVICE_MUXADD_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 topic_tools
{
template <class ContainerAllocator>
struct MuxAddRequest_ : public ros::Message
{
  typedef MuxAddRequest_<ContainerAllocator> Type;

  MuxAddRequest_()
  : topic()
  {
  }

  MuxAddRequest_(const ContainerAllocator& _alloc)
  : topic(_alloc)
  {
  }

  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;


private:
  static const char* __s_getDataType_() { return "topic_tools/MuxAddRequest"; }
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 "d8f94bae31b356b24d0427f80426d0c3"; }
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 "d8f94bae31b356b24d0427f80426d0c3"; }
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 "string topic\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, topic);
    return stream.getData();
  }

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

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

  typedef boost::shared_ptr< ::topic_tools::MuxAddRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::topic_tools::MuxAddRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct MuxAddRequest
typedef  ::topic_tools::MuxAddRequest_<std::allocator<void> > MuxAddRequest;

typedef boost::shared_ptr< ::topic_tools::MuxAddRequest> MuxAddRequestPtr;
typedef boost::shared_ptr< ::topic_tools::MuxAddRequest const> MuxAddRequestConstPtr;


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

  MuxAddResponse_()
  {
  }

  MuxAddResponse_(const ContainerAllocator& _alloc)
  {
  }


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

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

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

  typedef boost::shared_ptr< ::topic_tools::MuxAddResponse_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::topic_tools::MuxAddResponse_<ContainerAllocator>  const> ConstPtr;
}; // struct MuxAddResponse
typedef  ::topic_tools::MuxAddResponse_<std::allocator<void> > MuxAddResponse;

typedef boost::shared_ptr< ::topic_tools::MuxAddResponse> MuxAddResponsePtr;
typedef boost::shared_ptr< ::topic_tools::MuxAddResponse const> MuxAddResponseConstPtr;

struct MuxAdd
{

typedef MuxAddRequest Request;
typedef MuxAddResponse Response;
Request request;
Response response;

typedef Request RequestType;
typedef Response ResponseType;
}; // struct MuxAdd
} // namespace topic_tools

namespace ros
{
namespace message_traits
{
template<class ContainerAllocator>
struct MD5Sum< ::topic_tools::MuxAddRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "d8f94bae31b356b24d0427f80426d0c3";
  }

  static const char* value(const  ::topic_tools::MuxAddRequest_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xd8f94bae31b356b2ULL;
  static const uint64_t static_value2 = 0x4d0427f80426d0c3ULL;
};

template<class ContainerAllocator>
struct DataType< ::topic_tools::MuxAddRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "topic_tools/MuxAddRequest";
  }

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

template<class ContainerAllocator>
struct Definition< ::topic_tools::MuxAddRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "string topic\n\
\n\
";
  }

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

} // namespace message_traits
} // namespace ros


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

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

template<class ContainerAllocator>
struct DataType< ::topic_tools::MuxAddResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "topic_tools/MuxAddResponse";
  }

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

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

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

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

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

namespace ros
{
namespace service_traits
{
template<>
struct MD5Sum<topic_tools::MuxAdd> {
  static const char* value() 
  {
    return "d8f94bae31b356b24d0427f80426d0c3";
  }

  static const char* value(const topic_tools::MuxAdd&) { return value(); } 
};

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

  static const char* value(const topic_tools::MuxAdd&) { return value(); } 
};

template<class ContainerAllocator>
struct MD5Sum<topic_tools::MuxAddRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "d8f94bae31b356b24d0427f80426d0c3";
  }

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

template<class ContainerAllocator>
struct DataType<topic_tools::MuxAddRequest_<ContainerAllocator> > {
  static const char* value() 
  {
    return "topic_tools/MuxAdd";
  }

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

template<class ContainerAllocator>
struct MD5Sum<topic_tools::MuxAddResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "d8f94bae31b356b24d0427f80426d0c3";
  }

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

template<class ContainerAllocator>
struct DataType<topic_tools::MuxAddResponse_<ContainerAllocator> > {
  static const char* value() 
  {
    return "topic_tools/MuxAdd";
  }

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

} // namespace service_traits
} // namespace ros

#endif // TOPIC_TOOLS_SERVICE_MUXADD_H

