Go to the documentation of this file.00001
00002 #ifndef UDPMULTI_TRANSPORT_SERVICE_UDPMULTGETTOPICLIST_H
00003 #define UDPMULTI_TRANSPORT_SERVICE_UDPMULTGETTOPICLIST_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "ros/service_traits.h"
00018
00019
00020
00021 #include "udpmulti_transport/UDPMultTopic.h"
00022
00023 namespace udpmulti_transport
00024 {
00025 template <class ContainerAllocator>
00026 struct UDPMultGetTopicListRequest_ {
00027 typedef UDPMultGetTopicListRequest_<ContainerAllocator> Type;
00028
00029 UDPMultGetTopicListRequest_()
00030 {
00031 }
00032
00033 UDPMultGetTopicListRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::udpmulti_transport::UDPMultGetTopicListRequest_<std::allocator<void> > UDPMultGetTopicListRequest;
00043
00044 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest> UDPMultGetTopicListRequestPtr;
00045 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest const> UDPMultGetTopicListRequestConstPtr;
00046
00047
00048
00049 template <class ContainerAllocator>
00050 struct UDPMultGetTopicListResponse_ {
00051 typedef UDPMultGetTopicListResponse_<ContainerAllocator> Type;
00052
00053 UDPMultGetTopicListResponse_()
00054 : multicast_address()
00055 , topics()
00056 {
00057 }
00058
00059 UDPMultGetTopicListResponse_(const ContainerAllocator& _alloc)
00060 : multicast_address(_alloc)
00061 , topics(_alloc)
00062 {
00063 }
00064
00065 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _multicast_address_type;
00066 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > multicast_address;
00067
00068 typedef std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > _topics_type;
00069 std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > topics;
00070
00071
00072 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > Ptr;
00073 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> const> ConstPtr;
00074 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00075 };
00076 typedef ::udpmulti_transport::UDPMultGetTopicListResponse_<std::allocator<void> > UDPMultGetTopicListResponse;
00077
00078 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse> UDPMultGetTopicListResponsePtr;
00079 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse const> UDPMultGetTopicListResponseConstPtr;
00080
00081
00082 struct UDPMultGetTopicList
00083 {
00084
00085 typedef UDPMultGetTopicListRequest Request;
00086 typedef UDPMultGetTopicListResponse Response;
00087 Request request;
00088 Response response;
00089
00090 typedef Request RequestType;
00091 typedef Response ResponseType;
00092 };
00093 }
00094
00095 namespace ros
00096 {
00097 namespace message_traits
00098 {
00099 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > : public TrueType {};
00100 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> const> : public TrueType {};
00101 template<class ContainerAllocator>
00102 struct MD5Sum< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "d41d8cd98f00b204e9800998ecf8427e";
00106 }
00107
00108 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); }
00109 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00110 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00111 };
00112
00113 template<class ContainerAllocator>
00114 struct DataType< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > {
00115 static const char* value()
00116 {
00117 return "udpmulti_transport/UDPMultGetTopicListRequest";
00118 }
00119
00120 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); }
00121 };
00122
00123 template<class ContainerAllocator>
00124 struct Definition< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > {
00125 static const char* value()
00126 {
00127 return "\n\
00128 ";
00129 }
00130
00131 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); }
00132 };
00133
00134 template<class ContainerAllocator> struct IsFixedSize< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > : public TrueType {};
00135 }
00136 }
00137
00138
00139 namespace ros
00140 {
00141 namespace message_traits
00142 {
00143 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > : public TrueType {};
00144 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> const> : public TrueType {};
00145 template<class ContainerAllocator>
00146 struct MD5Sum< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > {
00147 static const char* value()
00148 {
00149 return "22672cb98b49fe101a321cb17bceec21";
00150 }
00151
00152 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); }
00153 static const uint64_t static_value1 = 0x22672cb98b49fe10ULL;
00154 static const uint64_t static_value2 = 0x1a321cb17bceec21ULL;
00155 };
00156
00157 template<class ContainerAllocator>
00158 struct DataType< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > {
00159 static const char* value()
00160 {
00161 return "udpmulti_transport/UDPMultGetTopicListResponse";
00162 }
00163
00164 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); }
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct Definition< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "string multicast_address\n\
00172 udpmulti_transport/UDPMultTopic[] topics\n\
00173 \n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: udpmulti_transport/UDPMultTopic\n\
00177 string topic\n\
00178 uint16 port\n\
00179 \n\
00180 ";
00181 }
00182
00183 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); }
00184 };
00185
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193
00194 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> >
00195 {
00196 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197 {
00198 }
00199
00200 ROS_DECLARE_ALLINONE_SERIALIZER;
00201 };
00202 }
00203 }
00204
00205
00206 namespace ros
00207 {
00208 namespace serialization
00209 {
00210
00211 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> >
00212 {
00213 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00214 {
00215 stream.next(m.multicast_address);
00216 stream.next(m.topics);
00217 }
00218
00219 ROS_DECLARE_ALLINONE_SERIALIZER;
00220 };
00221 }
00222 }
00223
00224 namespace ros
00225 {
00226 namespace service_traits
00227 {
00228 template<>
00229 struct MD5Sum<udpmulti_transport::UDPMultGetTopicList> {
00230 static const char* value()
00231 {
00232 return "22672cb98b49fe101a321cb17bceec21";
00233 }
00234
00235 static const char* value(const udpmulti_transport::UDPMultGetTopicList&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<udpmulti_transport::UDPMultGetTopicList> {
00240 static const char* value()
00241 {
00242 return "udpmulti_transport/UDPMultGetTopicList";
00243 }
00244
00245 static const char* value(const udpmulti_transport::UDPMultGetTopicList&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "22672cb98b49fe101a321cb17bceec21";
00253 }
00254
00255 static const char* value(const udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "udpmulti_transport/UDPMultGetTopicList";
00263 }
00264
00265 static const char* value(const udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "22672cb98b49fe101a321cb17bceec21";
00273 }
00274
00275 static const char* value(const udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "udpmulti_transport/UDPMultGetTopicList";
00283 }
00284
00285 static const char* value(const udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // UDPMULTI_TRANSPORT_SERVICE_UDPMULTGETTOPICLIST_H
00292