00001
00002 #ifndef TOPIC_TOOLS_SERVICE_MUXSELECT_H
00003 #define TOPIC_TOOLS_SERVICE_MUXSELECT_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 MuxSelectRequest_ : public ros::Message
00022 {
00023 typedef MuxSelectRequest_<ContainerAllocator> Type;
00024
00025 MuxSelectRequest_()
00026 : topic()
00027 {
00028 }
00029
00030 MuxSelectRequest_(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/MuxSelectRequest"; }
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 "053052240ca985e1f2eedbb0dae9b1f7"; }
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::MuxSelectRequest_<ContainerAllocator> > Ptr;
00091 typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest_<ContainerAllocator> const> ConstPtr;
00092 };
00093 typedef ::topic_tools::MuxSelectRequest_<std::allocator<void> > MuxSelectRequest;
00094
00095 typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest> MuxSelectRequestPtr;
00096 typedef boost::shared_ptr< ::topic_tools::MuxSelectRequest const> MuxSelectRequestConstPtr;
00097
00098
00099 template <class ContainerAllocator>
00100 struct MuxSelectResponse_ : public ros::Message
00101 {
00102 typedef MuxSelectResponse_<ContainerAllocator> Type;
00103
00104 MuxSelectResponse_()
00105 : prev_topic()
00106 {
00107 }
00108
00109 MuxSelectResponse_(const ContainerAllocator& _alloc)
00110 : prev_topic(_alloc)
00111 {
00112 }
00113
00114 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _prev_topic_type;
00115 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > prev_topic;
00116
00117
00118 private:
00119 static const char* __s_getDataType_() { return "topic_tools/MuxSelectResponse"; }
00120 public:
00121 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00122
00123 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00124
00125 private:
00126 static const char* __s_getMD5Sum_() { return "3db0a473debdbafea387c9e49358c320"; }
00127 public:
00128 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00129
00130 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00131
00132 private:
00133 static const char* __s_getServerMD5Sum_() { return "053052240ca985e1f2eedbb0dae9b1f7"; }
00134 public:
00135 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00136
00137 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00138
00139 private:
00140 static const char* __s_getMessageDefinition_() { return "string prev_topic\n\
00141 \n\
00142 \n\
00143 "; }
00144 public:
00145 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00146
00147 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00148
00149 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00150 {
00151 ros::serialization::OStream stream(write_ptr, 1000000000);
00152 ros::serialization::serialize(stream, prev_topic);
00153 return stream.getData();
00154 }
00155
00156 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00157 {
00158 ros::serialization::IStream stream(read_ptr, 1000000000);
00159 ros::serialization::deserialize(stream, prev_topic);
00160 return stream.getData();
00161 }
00162
00163 ROS_DEPRECATED virtual uint32_t serializationLength() const
00164 {
00165 uint32_t size = 0;
00166 size += ros::serialization::serializationLength(prev_topic);
00167 return size;
00168 }
00169
00170 typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse_<ContainerAllocator> > Ptr;
00171 typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse_<ContainerAllocator> const> ConstPtr;
00172 };
00173 typedef ::topic_tools::MuxSelectResponse_<std::allocator<void> > MuxSelectResponse;
00174
00175 typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse> MuxSelectResponsePtr;
00176 typedef boost::shared_ptr< ::topic_tools::MuxSelectResponse const> MuxSelectResponseConstPtr;
00177
00178 struct MuxSelect
00179 {
00180
00181 typedef MuxSelectRequest Request;
00182 typedef MuxSelectResponse Response;
00183 Request request;
00184 Response response;
00185
00186 typedef Request RequestType;
00187 typedef Response ResponseType;
00188 };
00189 }
00190
00191 namespace ros
00192 {
00193 namespace message_traits
00194 {
00195 template<class ContainerAllocator>
00196 struct MD5Sum< ::topic_tools::MuxSelectRequest_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "d8f94bae31b356b24d0427f80426d0c3";
00200 }
00201
00202 static const char* value(const ::topic_tools::MuxSelectRequest_<ContainerAllocator> &) { return value(); }
00203 static const uint64_t static_value1 = 0xd8f94bae31b356b2ULL;
00204 static const uint64_t static_value2 = 0x4d0427f80426d0c3ULL;
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct DataType< ::topic_tools::MuxSelectRequest_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "topic_tools/MuxSelectRequest";
00212 }
00213
00214 static const char* value(const ::topic_tools::MuxSelectRequest_<ContainerAllocator> &) { return value(); }
00215 };
00216
00217 template<class ContainerAllocator>
00218 struct Definition< ::topic_tools::MuxSelectRequest_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "string topic\n\
00222 \n\
00223 ";
00224 }
00225
00226 static const char* value(const ::topic_tools::MuxSelectRequest_<ContainerAllocator> &) { return value(); }
00227 };
00228
00229 }
00230 }
00231
00232
00233 namespace ros
00234 {
00235 namespace message_traits
00236 {
00237 template<class ContainerAllocator>
00238 struct MD5Sum< ::topic_tools::MuxSelectResponse_<ContainerAllocator> > {
00239 static const char* value()
00240 {
00241 return "3db0a473debdbafea387c9e49358c320";
00242 }
00243
00244 static const char* value(const ::topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); }
00245 static const uint64_t static_value1 = 0x3db0a473debdbafeULL;
00246 static const uint64_t static_value2 = 0xa387c9e49358c320ULL;
00247 };
00248
00249 template<class ContainerAllocator>
00250 struct DataType< ::topic_tools::MuxSelectResponse_<ContainerAllocator> > {
00251 static const char* value()
00252 {
00253 return "topic_tools/MuxSelectResponse";
00254 }
00255
00256 static const char* value(const ::topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct Definition< ::topic_tools::MuxSelectResponse_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "string prev_topic\n\
00264 \n\
00265 \n\
00266 ";
00267 }
00268
00269 static const char* value(const ::topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); }
00270 };
00271
00272 }
00273 }
00274
00275 namespace ros
00276 {
00277 namespace serialization
00278 {
00279
00280 template<class ContainerAllocator> struct Serializer< ::topic_tools::MuxSelectRequest_<ContainerAllocator> >
00281 {
00282 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00283 {
00284 stream.next(m.topic);
00285 }
00286
00287 ROS_DECLARE_ALLINONE_SERIALIZER;
00288 };
00289 }
00290 }
00291
00292
00293 namespace ros
00294 {
00295 namespace serialization
00296 {
00297
00298 template<class ContainerAllocator> struct Serializer< ::topic_tools::MuxSelectResponse_<ContainerAllocator> >
00299 {
00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00301 {
00302 stream.next(m.prev_topic);
00303 }
00304
00305 ROS_DECLARE_ALLINONE_SERIALIZER;
00306 };
00307 }
00308 }
00309
00310 namespace ros
00311 {
00312 namespace service_traits
00313 {
00314 template<>
00315 struct MD5Sum<topic_tools::MuxSelect> {
00316 static const char* value()
00317 {
00318 return "053052240ca985e1f2eedbb0dae9b1f7";
00319 }
00320
00321 static const char* value(const topic_tools::MuxSelect&) { return value(); }
00322 };
00323
00324 template<>
00325 struct DataType<topic_tools::MuxSelect> {
00326 static const char* value()
00327 {
00328 return "topic_tools/MuxSelect";
00329 }
00330
00331 static const char* value(const topic_tools::MuxSelect&) { return value(); }
00332 };
00333
00334 template<class ContainerAllocator>
00335 struct MD5Sum<topic_tools::MuxSelectRequest_<ContainerAllocator> > {
00336 static const char* value()
00337 {
00338 return "053052240ca985e1f2eedbb0dae9b1f7";
00339 }
00340
00341 static const char* value(const topic_tools::MuxSelectRequest_<ContainerAllocator> &) { return value(); }
00342 };
00343
00344 template<class ContainerAllocator>
00345 struct DataType<topic_tools::MuxSelectRequest_<ContainerAllocator> > {
00346 static const char* value()
00347 {
00348 return "topic_tools/MuxSelect";
00349 }
00350
00351 static const char* value(const topic_tools::MuxSelectRequest_<ContainerAllocator> &) { return value(); }
00352 };
00353
00354 template<class ContainerAllocator>
00355 struct MD5Sum<topic_tools::MuxSelectResponse_<ContainerAllocator> > {
00356 static const char* value()
00357 {
00358 return "053052240ca985e1f2eedbb0dae9b1f7";
00359 }
00360
00361 static const char* value(const topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); }
00362 };
00363
00364 template<class ContainerAllocator>
00365 struct DataType<topic_tools::MuxSelectResponse_<ContainerAllocator> > {
00366 static const char* value()
00367 {
00368 return "topic_tools/MuxSelect";
00369 }
00370
00371 static const char* value(const topic_tools::MuxSelectResponse_<ContainerAllocator> &) { return value(); }
00372 };
00373
00374 }
00375 }
00376
00377 #endif // TOPIC_TOOLS_SERVICE_MUXSELECT_H
00378