/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros/work/ros/tools/topic_tools/srv/MuxSelect.srv */
#ifndef TOPIC_TOOLS_SERVICE_MUXSELECT_H
#define TOPIC_TOOLS_SERVICE_MUXSELECT_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 MuxSelectRequest_ : public ros::Message
{
  typedef MuxSelectRequest_<ContainerAllocator> Type;

  MuxSelectRequest_()
  : topic()
  {
  }

  MuxSelectRequest_(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/MuxSelectRequest"; }
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 "053052240ca985e1f2eedbb0dae9b1f7"; }
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::MuxSelectRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct MuxSelectRequest
typedef  ::topic_tools::MuxSelectRequest_<std::allocator<void> > MuxSelectRequest;

typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest> MuxSelectRequestPtr;
typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest const> MuxSelectRequestConstPtr;


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

  MuxSelectResponse_()
  : prev_topic()
  {
  }

  MuxSelectResponse_(const ContainerAllocator& _alloc)
  : prev_topic(_alloc)
  {
  }

  typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _prev_topic_type;
  std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  prev_topic;


private:
  static const char* __s_getDataType_() { return "topic_tools/MuxSelectResponse"; }
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 "3db0a473debdbafea387c9e49358c320"; }
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 "053052240ca985e1f2eedbb0dae9b1f7"; }
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 prev_topic\n\
\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, prev_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, prev_topic);
    return stream.getData();
  }

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

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

typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse> MuxSelectResponsePtr;
typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse const> MuxSelectResponseConstPtr;

struct MuxSelect
{

typedef MuxSelectRequest Request;
typedef MuxSelectResponse Response;
Request request;
Response response;

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

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

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

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

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

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

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

} // namespace message_traits
} // namespace ros


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

  static const char* value(const  ::topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0x3db0a473debdbafeULL;
  static const uint64_t static_value2 = 0xa387c9e49358c320ULL;
};

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

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

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

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TOPIC_TOOLS_SERVICE_MUXSELECT_H

