$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ethzasl_message_transport/doc_stacks/2013-03-02_12-29-27.912819/ethzasl_message_transport/udpmulti_transport/srv/UDPMultGetTopicList.srv */ 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 private: 00039 static const char* __s_getDataType_() { return "udpmulti_transport/UDPMultGetTopicListRequest"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getServerMD5Sum_() { return "22672cb98b49fe101a321cb17bceec21"; } 00054 public: 00055 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00056 00057 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00058 00059 private: 00060 static const char* __s_getMessageDefinition_() { return "\n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 return stream.getData(); 00071 } 00072 00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00074 { 00075 ros::serialization::IStream stream(read_ptr, 1000000000); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 return size; 00083 } 00084 00085 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > Ptr; 00086 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> const> ConstPtr; 00087 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00088 }; // struct UDPMultGetTopicListRequest 00089 typedef ::udpmulti_transport::UDPMultGetTopicListRequest_<std::allocator<void> > UDPMultGetTopicListRequest; 00090 00091 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest> UDPMultGetTopicListRequestPtr; 00092 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListRequest const> UDPMultGetTopicListRequestConstPtr; 00093 00094 00095 template <class ContainerAllocator> 00096 struct UDPMultGetTopicListResponse_ { 00097 typedef UDPMultGetTopicListResponse_<ContainerAllocator> Type; 00098 00099 UDPMultGetTopicListResponse_() 00100 : multicast_address() 00101 , topics() 00102 { 00103 } 00104 00105 UDPMultGetTopicListResponse_(const ContainerAllocator& _alloc) 00106 : multicast_address(_alloc) 00107 , topics(_alloc) 00108 { 00109 } 00110 00111 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _multicast_address_type; 00112 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > multicast_address; 00113 00114 typedef std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > _topics_type; 00115 std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > topics; 00116 00117 00118 ROS_DEPRECATED uint32_t get_topics_size() const { return (uint32_t)topics.size(); } 00119 ROS_DEPRECATED void set_topics_size(uint32_t size) { topics.resize((size_t)size); } 00120 ROS_DEPRECATED void get_topics_vec(std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > & vec) const { vec = this->topics; } 00121 ROS_DEPRECATED void set_topics_vec(const std::vector< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::udpmulti_transport::UDPMultTopic_<ContainerAllocator> >::other > & vec) { this->topics = vec; } 00122 private: 00123 static const char* __s_getDataType_() { return "udpmulti_transport/UDPMultGetTopicListResponse"; } 00124 public: 00125 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00126 00127 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00128 00129 private: 00130 static const char* __s_getMD5Sum_() { return "22672cb98b49fe101a321cb17bceec21"; } 00131 public: 00132 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00133 00134 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00135 00136 private: 00137 static const char* __s_getServerMD5Sum_() { return "22672cb98b49fe101a321cb17bceec21"; } 00138 public: 00139 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00140 00141 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00142 00143 private: 00144 static const char* __s_getMessageDefinition_() { return "string multicast_address\n\ 00145 udpmulti_transport/UDPMultTopic[] topics\n\ 00146 \n\ 00147 \n\ 00148 ================================================================================\n\ 00149 MSG: udpmulti_transport/UDPMultTopic\n\ 00150 string topic\n\ 00151 uint16 port\n\ 00152 \n\ 00153 "; } 00154 public: 00155 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00156 00157 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00158 00159 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00160 { 00161 ros::serialization::OStream stream(write_ptr, 1000000000); 00162 ros::serialization::serialize(stream, multicast_address); 00163 ros::serialization::serialize(stream, topics); 00164 return stream.getData(); 00165 } 00166 00167 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00168 { 00169 ros::serialization::IStream stream(read_ptr, 1000000000); 00170 ros::serialization::deserialize(stream, multicast_address); 00171 ros::serialization::deserialize(stream, topics); 00172 return stream.getData(); 00173 } 00174 00175 ROS_DEPRECATED virtual uint32_t serializationLength() const 00176 { 00177 uint32_t size = 0; 00178 size += ros::serialization::serializationLength(multicast_address); 00179 size += ros::serialization::serializationLength(topics); 00180 return size; 00181 } 00182 00183 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > Ptr; 00184 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> const> ConstPtr; 00185 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00186 }; // struct UDPMultGetTopicListResponse 00187 typedef ::udpmulti_transport::UDPMultGetTopicListResponse_<std::allocator<void> > UDPMultGetTopicListResponse; 00188 00189 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse> UDPMultGetTopicListResponsePtr; 00190 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultGetTopicListResponse const> UDPMultGetTopicListResponseConstPtr; 00191 00192 struct UDPMultGetTopicList 00193 { 00194 00195 typedef UDPMultGetTopicListRequest Request; 00196 typedef UDPMultGetTopicListResponse Response; 00197 Request request; 00198 Response response; 00199 00200 typedef Request RequestType; 00201 typedef Response ResponseType; 00202 }; // struct UDPMultGetTopicList 00203 } // namespace udpmulti_transport 00204 00205 namespace ros 00206 { 00207 namespace message_traits 00208 { 00209 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > : public TrueType {}; 00210 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> const> : public TrueType {}; 00211 template<class ContainerAllocator> 00212 struct MD5Sum< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > { 00213 static const char* value() 00214 { 00215 return "d41d8cd98f00b204e9800998ecf8427e"; 00216 } 00217 00218 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); } 00219 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00220 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00221 }; 00222 00223 template<class ContainerAllocator> 00224 struct DataType< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > { 00225 static const char* value() 00226 { 00227 return "udpmulti_transport/UDPMultGetTopicListRequest"; 00228 } 00229 00230 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); } 00231 }; 00232 00233 template<class ContainerAllocator> 00234 struct Definition< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > { 00235 static const char* value() 00236 { 00237 return "\n\ 00238 "; 00239 } 00240 00241 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); } 00242 }; 00243 00244 template<class ContainerAllocator> struct IsFixedSize< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > : public TrueType {}; 00245 } // namespace message_traits 00246 } // namespace ros 00247 00248 00249 namespace ros 00250 { 00251 namespace message_traits 00252 { 00253 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > : public TrueType {}; 00254 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> const> : public TrueType {}; 00255 template<class ContainerAllocator> 00256 struct MD5Sum< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > { 00257 static const char* value() 00258 { 00259 return "22672cb98b49fe101a321cb17bceec21"; 00260 } 00261 00262 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); } 00263 static const uint64_t static_value1 = 0x22672cb98b49fe10ULL; 00264 static const uint64_t static_value2 = 0x1a321cb17bceec21ULL; 00265 }; 00266 00267 template<class ContainerAllocator> 00268 struct DataType< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > { 00269 static const char* value() 00270 { 00271 return "udpmulti_transport/UDPMultGetTopicListResponse"; 00272 } 00273 00274 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); } 00275 }; 00276 00277 template<class ContainerAllocator> 00278 struct Definition< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > { 00279 static const char* value() 00280 { 00281 return "string multicast_address\n\ 00282 udpmulti_transport/UDPMultTopic[] topics\n\ 00283 \n\ 00284 \n\ 00285 ================================================================================\n\ 00286 MSG: udpmulti_transport/UDPMultTopic\n\ 00287 string topic\n\ 00288 uint16 port\n\ 00289 \n\ 00290 "; 00291 } 00292 00293 static const char* value(const ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); } 00294 }; 00295 00296 } // namespace message_traits 00297 } // namespace ros 00298 00299 namespace ros 00300 { 00301 namespace serialization 00302 { 00303 00304 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > 00305 { 00306 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00307 { 00308 } 00309 00310 ROS_DECLARE_ALLINONE_SERIALIZER; 00311 }; // struct UDPMultGetTopicListRequest_ 00312 } // namespace serialization 00313 } // namespace ros 00314 00315 00316 namespace ros 00317 { 00318 namespace serialization 00319 { 00320 00321 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > 00322 { 00323 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00324 { 00325 stream.next(m.multicast_address); 00326 stream.next(m.topics); 00327 } 00328 00329 ROS_DECLARE_ALLINONE_SERIALIZER; 00330 }; // struct UDPMultGetTopicListResponse_ 00331 } // namespace serialization 00332 } // namespace ros 00333 00334 namespace ros 00335 { 00336 namespace service_traits 00337 { 00338 template<> 00339 struct MD5Sum<udpmulti_transport::UDPMultGetTopicList> { 00340 static const char* value() 00341 { 00342 return "22672cb98b49fe101a321cb17bceec21"; 00343 } 00344 00345 static const char* value(const udpmulti_transport::UDPMultGetTopicList&) { return value(); } 00346 }; 00347 00348 template<> 00349 struct DataType<udpmulti_transport::UDPMultGetTopicList> { 00350 static const char* value() 00351 { 00352 return "udpmulti_transport/UDPMultGetTopicList"; 00353 } 00354 00355 static const char* value(const udpmulti_transport::UDPMultGetTopicList&) { return value(); } 00356 }; 00357 00358 template<class ContainerAllocator> 00359 struct MD5Sum<udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > { 00360 static const char* value() 00361 { 00362 return "22672cb98b49fe101a321cb17bceec21"; 00363 } 00364 00365 static const char* value(const udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); } 00366 }; 00367 00368 template<class ContainerAllocator> 00369 struct DataType<udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> > { 00370 static const char* value() 00371 { 00372 return "udpmulti_transport/UDPMultGetTopicList"; 00373 } 00374 00375 static const char* value(const udpmulti_transport::UDPMultGetTopicListRequest_<ContainerAllocator> &) { return value(); } 00376 }; 00377 00378 template<class ContainerAllocator> 00379 struct MD5Sum<udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > { 00380 static const char* value() 00381 { 00382 return "22672cb98b49fe101a321cb17bceec21"; 00383 } 00384 00385 static const char* value(const udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); } 00386 }; 00387 00388 template<class ContainerAllocator> 00389 struct DataType<udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> > { 00390 static const char* value() 00391 { 00392 return "udpmulti_transport/UDPMultGetTopicList"; 00393 } 00394 00395 static const char* value(const udpmulti_transport::UDPMultGetTopicListResponse_<ContainerAllocator> &) { return value(); } 00396 }; 00397 00398 } // namespace service_traits 00399 } // namespace ros 00400 00401 #endif // UDPMULTI_TRANSPORT_SERVICE_UDPMULTGETTOPICLIST_H 00402