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