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