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