Go to the documentation of this file.00001
00002 #ifndef UDPMULTI_TRANSPORT_SERVICE_UDPMULTREGISTERTOPIC_H
00003 #define UDPMULTI_TRANSPORT_SERVICE_UDPMULTREGISTERTOPIC_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
00022 namespace udpmulti_transport
00023 {
00024 template <class ContainerAllocator>
00025 struct UDPMultRegisterTopicRequest_ {
00026 typedef UDPMultRegisterTopicRequest_<ContainerAllocator> Type;
00027
00028 UDPMultRegisterTopicRequest_()
00029 : topic()
00030 {
00031 }
00032
00033 UDPMultRegisterTopicRequest_(const ContainerAllocator& _alloc)
00034 : topic(_alloc)
00035 {
00036 }
00037
00038 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _topic_type;
00039 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > topic;
00040
00041
00042 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > Ptr;
00043 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> const> ConstPtr;
00044 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00045 };
00046 typedef ::udpmulti_transport::UDPMultRegisterTopicRequest_<std::allocator<void> > UDPMultRegisterTopicRequest;
00047
00048 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicRequest> UDPMultRegisterTopicRequestPtr;
00049 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicRequest const> UDPMultRegisterTopicRequestConstPtr;
00050
00051
00052
00053 template <class ContainerAllocator>
00054 struct UDPMultRegisterTopicResponse_ {
00055 typedef UDPMultRegisterTopicResponse_<ContainerAllocator> Type;
00056
00057 UDPMultRegisterTopicResponse_()
00058 : multicast_address()
00059 , port(0)
00060 {
00061 }
00062
00063 UDPMultRegisterTopicResponse_(const ContainerAllocator& _alloc)
00064 : multicast_address(_alloc)
00065 , port(0)
00066 {
00067 }
00068
00069 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _multicast_address_type;
00070 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > multicast_address;
00071
00072 typedef uint16_t _port_type;
00073 uint16_t port;
00074
00075
00076 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::udpmulti_transport::UDPMultRegisterTopicResponse_<std::allocator<void> > UDPMultRegisterTopicResponse;
00081
00082 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicResponse> UDPMultRegisterTopicResponsePtr;
00083 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultRegisterTopicResponse const> UDPMultRegisterTopicResponseConstPtr;
00084
00085
00086 struct UDPMultRegisterTopic
00087 {
00088
00089 typedef UDPMultRegisterTopicRequest Request;
00090 typedef UDPMultRegisterTopicResponse Response;
00091 Request request;
00092 Response response;
00093
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 };
00097 }
00098
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "d8f94bae31b356b24d0427f80426d0c3";
00110 }
00111
00112 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> &) { return value(); }
00113 static const uint64_t static_value1 = 0xd8f94bae31b356b2ULL;
00114 static const uint64_t static_value2 = 0x4d0427f80426d0c3ULL;
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct DataType< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "udpmulti_transport/UDPMultRegisterTopicRequest";
00122 }
00123
00124 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator>
00128 struct Definition< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "string topic\n\
00132 \n\
00133 ";
00134 }
00135
00136 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> &) { return value(); }
00137 };
00138
00139 }
00140 }
00141
00142
00143 namespace ros
00144 {
00145 namespace message_traits
00146 {
00147 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> const> : public TrueType {};
00149 template<class ContainerAllocator>
00150 struct MD5Sum< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > {
00151 static const char* value()
00152 {
00153 return "788ff22966c25b901c0a6454f5c3cb60";
00154 }
00155
00156 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> &) { return value(); }
00157 static const uint64_t static_value1 = 0x788ff22966c25b90ULL;
00158 static const uint64_t static_value2 = 0x1c0a6454f5c3cb60ULL;
00159 };
00160
00161 template<class ContainerAllocator>
00162 struct DataType< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > {
00163 static const char* value()
00164 {
00165 return "udpmulti_transport/UDPMultRegisterTopicResponse";
00166 }
00167
00168 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> &) { return value(); }
00169 };
00170
00171 template<class ContainerAllocator>
00172 struct Definition< ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > {
00173 static const char* value()
00174 {
00175 return "string multicast_address\n\
00176 uint16 port\n\
00177 \n\
00178 \n\
00179 ";
00180 }
00181
00182 static const char* value(const ::udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 }
00186 }
00187
00188 namespace ros
00189 {
00190 namespace serialization
00191 {
00192
00193 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> >
00194 {
00195 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00196 {
00197 stream.next(m.topic);
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::UDPMultRegisterTopicResponse_<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.port);
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::UDPMultRegisterTopic> {
00230 static const char* value()
00231 {
00232 return "01e42bac3b5bfa13c13f4a93b95bceb1";
00233 }
00234
00235 static const char* value(const udpmulti_transport::UDPMultRegisterTopic&) { return value(); }
00236 };
00237
00238 template<>
00239 struct DataType<udpmulti_transport::UDPMultRegisterTopic> {
00240 static const char* value()
00241 {
00242 return "udpmulti_transport/UDPMultRegisterTopic";
00243 }
00244
00245 static const char* value(const udpmulti_transport::UDPMultRegisterTopic&) { return value(); }
00246 };
00247
00248 template<class ContainerAllocator>
00249 struct MD5Sum<udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > {
00250 static const char* value()
00251 {
00252 return "01e42bac3b5bfa13c13f4a93b95bceb1";
00253 }
00254
00255 static const char* value(const udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> &) { return value(); }
00256 };
00257
00258 template<class ContainerAllocator>
00259 struct DataType<udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> > {
00260 static const char* value()
00261 {
00262 return "udpmulti_transport/UDPMultRegisterTopic";
00263 }
00264
00265 static const char* value(const udpmulti_transport::UDPMultRegisterTopicRequest_<ContainerAllocator> &) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "01e42bac3b5bfa13c13f4a93b95bceb1";
00273 }
00274
00275 static const char* value(const udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "udpmulti_transport/UDPMultRegisterTopic";
00283 }
00284
00285 static const char* value(const udpmulti_transport::UDPMultRegisterTopicResponse_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 }
00289 }
00290
00291 #endif // UDPMULTI_TRANSPORT_SERVICE_UDPMULTREGISTERTOPIC_H
00292