/* Auto-generated by genmsg_cpp for file /work/a/ports/devel/ros_comm/work/ros_comm-1.4.8/tools/topic_tools/srv/MuxList.srv */
#ifndef TOPIC_TOOLS_SERVICE_MUXLIST_H
#define TOPIC_TOOLS_SERVICE_MUXLIST_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 MuxListRequest_ : public ros::Message
{
  typedef MuxListRequest_<ContainerAllocator> Type;

  MuxListRequest_()
  {
  }

  MuxListRequest_(const ContainerAllocator& _alloc)
  {
  }


private:
  static const char* __s_getDataType_() { return "topic_tools/MuxListRequest"; }
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 "b0eef9a05d4e829092fc2f2c3c2aad3d"; }
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\
"; }
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< ::topic_tools::MuxListRequest_<ContainerAllocator> > Ptr;
  typedef boost::shared_ptr< ::topic_tools::MuxListRequest_<ContainerAllocator>  const> ConstPtr;
}; // struct MuxListRequest
typedef  ::topic_tools::MuxListRequest_<std::allocator<void> > MuxListRequest;

typedef boost::shared_ptr< ::topic_tools::MuxListRequest> MuxListRequestPtr;
typedef boost::shared_ptr< ::topic_tools::MuxListRequest const> MuxListRequestConstPtr;


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

  MuxListResponse_()
  : topics()
  {
  }

  MuxListResponse_(const ContainerAllocator& _alloc)
  : topics(_alloc)
  {
  }

  typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  _topics_type;
  std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other >  topics;


  ROS_DEPRECATED uint32_t get_topics_size() const { return (uint32_t)topics.size(); }
  ROS_DEPRECATED void set_topics_size(uint32_t size) { topics.resize((size_t)size); }
  ROS_DEPRECATED void get_topics_vec(std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) const { vec = this->topics; }
  ROS_DEPRECATED void set_topics_vec(const std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > & vec) { this->topics = vec; }
private:
  static const char* __s_getDataType_() { return "topic_tools/MuxListResponse"; }
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 "b0eef9a05d4e829092fc2f2c3c2aad3d"; }
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 "b0eef9a05d4e829092fc2f2c3c2aad3d"; }
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[] topics\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, topics);
    return stream.getData();
  }

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

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

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

typedef boost::shared_ptr< ::topic_tools::MuxListResponse> MuxListResponsePtr;
typedef boost::shared_ptr< ::topic_tools::MuxListResponse const> MuxListResponseConstPtr;

struct MuxList
{

typedef MuxListRequest Request;
typedef MuxListResponse Response;
Request request;
Response response;

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

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

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

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

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

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

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

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


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

  static const char* value(const  ::topic_tools::MuxListResponse_<ContainerAllocator> &) { return value(); } 
  static const uint64_t static_value1 = 0xb0eef9a05d4e8290ULL;
  static const uint64_t static_value2 = 0x92fc2f2c3c2aad3dULL;
};

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

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

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

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

} // namespace message_traits
} // namespace ros

namespace ros
{
namespace serialization
{

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

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


namespace ros
{
namespace serialization
{

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

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

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

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

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

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

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

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

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

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

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

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

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

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

} // namespace service_traits
} // namespace ros

#endif // TOPIC_TOOLS_SERVICE_MUXLIST_H

