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