$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/UDPMultClearAll.srv */ 00002 #ifndef UDPMULTI_TRANSPORT_SERVICE_UDPMULTCLEARALL_H 00003 #define UDPMULTI_TRANSPORT_SERVICE_UDPMULTCLEARALL_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 UDPMultClearAllRequest_ { 00026 typedef UDPMultClearAllRequest_<ContainerAllocator> Type; 00027 00028 UDPMultClearAllRequest_() 00029 { 00030 } 00031 00032 UDPMultClearAllRequest_(const ContainerAllocator& _alloc) 00033 { 00034 } 00035 00036 00037 private: 00038 static const char* __s_getDataType_() { return "udpmulti_transport/UDPMultClearAllRequest"; } 00039 public: 00040 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00041 00042 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00043 00044 private: 00045 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00046 public: 00047 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00048 00049 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00050 00051 private: 00052 static const char* __s_getServerMD5Sum_() { return "034a8e20d6a306665e3a5b340fab3f09"; } 00053 public: 00054 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00055 00056 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00057 00058 private: 00059 static const char* __s_getMessageDefinition_() { return "\n\ 00060 "; } 00061 public: 00062 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00063 00064 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00065 00066 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00067 { 00068 ros::serialization::OStream stream(write_ptr, 1000000000); 00069 return stream.getData(); 00070 } 00071 00072 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00073 { 00074 ros::serialization::IStream stream(read_ptr, 1000000000); 00075 return stream.getData(); 00076 } 00077 00078 ROS_DEPRECATED virtual uint32_t serializationLength() const 00079 { 00080 uint32_t size = 0; 00081 return size; 00082 } 00083 00084 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > Ptr; 00085 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> const> ConstPtr; 00086 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00087 }; // struct UDPMultClearAllRequest 00088 typedef ::udpmulti_transport::UDPMultClearAllRequest_<std::allocator<void> > UDPMultClearAllRequest; 00089 00090 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllRequest> UDPMultClearAllRequestPtr; 00091 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllRequest const> UDPMultClearAllRequestConstPtr; 00092 00093 00094 template <class ContainerAllocator> 00095 struct UDPMultClearAllResponse_ { 00096 typedef UDPMultClearAllResponse_<ContainerAllocator> Type; 00097 00098 UDPMultClearAllResponse_() 00099 : result(0) 00100 { 00101 } 00102 00103 UDPMultClearAllResponse_(const ContainerAllocator& _alloc) 00104 : result(0) 00105 { 00106 } 00107 00108 typedef int32_t _result_type; 00109 int32_t result; 00110 00111 00112 private: 00113 static const char* __s_getDataType_() { return "udpmulti_transport/UDPMultClearAllResponse"; } 00114 public: 00115 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00116 00117 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00118 00119 private: 00120 static const char* __s_getMD5Sum_() { return "034a8e20d6a306665e3a5b340fab3f09"; } 00121 public: 00122 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00123 00124 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00125 00126 private: 00127 static const char* __s_getServerMD5Sum_() { return "034a8e20d6a306665e3a5b340fab3f09"; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00130 00131 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00132 00133 private: 00134 static const char* __s_getMessageDefinition_() { return "int32 result\n\ 00135 \n\ 00136 \n\ 00137 "; } 00138 public: 00139 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00140 00141 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00142 00143 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00144 { 00145 ros::serialization::OStream stream(write_ptr, 1000000000); 00146 ros::serialization::serialize(stream, result); 00147 return stream.getData(); 00148 } 00149 00150 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00151 { 00152 ros::serialization::IStream stream(read_ptr, 1000000000); 00153 ros::serialization::deserialize(stream, result); 00154 return stream.getData(); 00155 } 00156 00157 ROS_DEPRECATED virtual uint32_t serializationLength() const 00158 { 00159 uint32_t size = 0; 00160 size += ros::serialization::serializationLength(result); 00161 return size; 00162 } 00163 00164 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > Ptr; 00165 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> const> ConstPtr; 00166 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00167 }; // struct UDPMultClearAllResponse 00168 typedef ::udpmulti_transport::UDPMultClearAllResponse_<std::allocator<void> > UDPMultClearAllResponse; 00169 00170 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllResponse> UDPMultClearAllResponsePtr; 00171 typedef boost::shared_ptr< ::udpmulti_transport::UDPMultClearAllResponse const> UDPMultClearAllResponseConstPtr; 00172 00173 struct UDPMultClearAll 00174 { 00175 00176 typedef UDPMultClearAllRequest Request; 00177 typedef UDPMultClearAllResponse Response; 00178 Request request; 00179 Response response; 00180 00181 typedef Request RequestType; 00182 typedef Response ResponseType; 00183 }; // struct UDPMultClearAll 00184 } // namespace udpmulti_transport 00185 00186 namespace ros 00187 { 00188 namespace message_traits 00189 { 00190 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > : public TrueType {}; 00191 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> const> : public TrueType {}; 00192 template<class ContainerAllocator> 00193 struct MD5Sum< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > { 00194 static const char* value() 00195 { 00196 return "d41d8cd98f00b204e9800998ecf8427e"; 00197 } 00198 00199 static const char* value(const ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> &) { return value(); } 00200 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00201 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00202 }; 00203 00204 template<class ContainerAllocator> 00205 struct DataType< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > { 00206 static const char* value() 00207 { 00208 return "udpmulti_transport/UDPMultClearAllRequest"; 00209 } 00210 00211 static const char* value(const ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> &) { return value(); } 00212 }; 00213 00214 template<class ContainerAllocator> 00215 struct Definition< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > { 00216 static const char* value() 00217 { 00218 return "\n\ 00219 "; 00220 } 00221 00222 static const char* value(const ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> &) { return value(); } 00223 }; 00224 00225 template<class ContainerAllocator> struct IsFixedSize< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > : public TrueType {}; 00226 } // namespace message_traits 00227 } // namespace ros 00228 00229 00230 namespace ros 00231 { 00232 namespace message_traits 00233 { 00234 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > : public TrueType {}; 00235 template<class ContainerAllocator> struct IsMessage< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> const> : public TrueType {}; 00236 template<class ContainerAllocator> 00237 struct MD5Sum< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > { 00238 static const char* value() 00239 { 00240 return "034a8e20d6a306665e3a5b340fab3f09"; 00241 } 00242 00243 static const char* value(const ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> &) { return value(); } 00244 static const uint64_t static_value1 = 0x034a8e20d6a30666ULL; 00245 static const uint64_t static_value2 = 0x5e3a5b340fab3f09ULL; 00246 }; 00247 00248 template<class ContainerAllocator> 00249 struct DataType< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > { 00250 static const char* value() 00251 { 00252 return "udpmulti_transport/UDPMultClearAllResponse"; 00253 } 00254 00255 static const char* value(const ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> &) { return value(); } 00256 }; 00257 00258 template<class ContainerAllocator> 00259 struct Definition< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > { 00260 static const char* value() 00261 { 00262 return "int32 result\n\ 00263 \n\ 00264 \n\ 00265 "; 00266 } 00267 00268 static const char* value(const ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> &) { return value(); } 00269 }; 00270 00271 template<class ContainerAllocator> struct IsFixedSize< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > : public TrueType {}; 00272 } // namespace message_traits 00273 } // namespace ros 00274 00275 namespace ros 00276 { 00277 namespace serialization 00278 { 00279 00280 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > 00281 { 00282 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00283 { 00284 } 00285 00286 ROS_DECLARE_ALLINONE_SERIALIZER; 00287 }; // struct UDPMultClearAllRequest_ 00288 } // namespace serialization 00289 } // namespace ros 00290 00291 00292 namespace ros 00293 { 00294 namespace serialization 00295 { 00296 00297 template<class ContainerAllocator> struct Serializer< ::udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > 00298 { 00299 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00300 { 00301 stream.next(m.result); 00302 } 00303 00304 ROS_DECLARE_ALLINONE_SERIALIZER; 00305 }; // struct UDPMultClearAllResponse_ 00306 } // namespace serialization 00307 } // namespace ros 00308 00309 namespace ros 00310 { 00311 namespace service_traits 00312 { 00313 template<> 00314 struct MD5Sum<udpmulti_transport::UDPMultClearAll> { 00315 static const char* value() 00316 { 00317 return "034a8e20d6a306665e3a5b340fab3f09"; 00318 } 00319 00320 static const char* value(const udpmulti_transport::UDPMultClearAll&) { return value(); } 00321 }; 00322 00323 template<> 00324 struct DataType<udpmulti_transport::UDPMultClearAll> { 00325 static const char* value() 00326 { 00327 return "udpmulti_transport/UDPMultClearAll"; 00328 } 00329 00330 static const char* value(const udpmulti_transport::UDPMultClearAll&) { return value(); } 00331 }; 00332 00333 template<class ContainerAllocator> 00334 struct MD5Sum<udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > { 00335 static const char* value() 00336 { 00337 return "034a8e20d6a306665e3a5b340fab3f09"; 00338 } 00339 00340 static const char* value(const udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> &) { return value(); } 00341 }; 00342 00343 template<class ContainerAllocator> 00344 struct DataType<udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> > { 00345 static const char* value() 00346 { 00347 return "udpmulti_transport/UDPMultClearAll"; 00348 } 00349 00350 static const char* value(const udpmulti_transport::UDPMultClearAllRequest_<ContainerAllocator> &) { return value(); } 00351 }; 00352 00353 template<class ContainerAllocator> 00354 struct MD5Sum<udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > { 00355 static const char* value() 00356 { 00357 return "034a8e20d6a306665e3a5b340fab3f09"; 00358 } 00359 00360 static const char* value(const udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> &) { return value(); } 00361 }; 00362 00363 template<class ContainerAllocator> 00364 struct DataType<udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> > { 00365 static const char* value() 00366 { 00367 return "udpmulti_transport/UDPMultClearAll"; 00368 } 00369 00370 static const char* value(const udpmulti_transport::UDPMultClearAllResponse_<ContainerAllocator> &) { return value(); } 00371 }; 00372 00373 } // namespace service_traits 00374 } // namespace ros 00375 00376 #endif // UDPMULTI_TRANSPORT_SERVICE_UDPMULTCLEARALL_H 00377