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