$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/SetStaticTransform.srv */ 00002 #ifndef STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_H 00003 #define STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_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 #include "geometry_msgs/TransformStamped.h" 00020 00021 00022 00023 namespace static_transform_broadcaster 00024 { 00025 template <class ContainerAllocator> 00026 struct SetStaticTransformRequest_ { 00027 typedef SetStaticTransformRequest_<ContainerAllocator> Type; 00028 00029 SetStaticTransformRequest_() 00030 : transform() 00031 { 00032 } 00033 00034 SetStaticTransformRequest_(const ContainerAllocator& _alloc) 00035 : transform(_alloc) 00036 { 00037 } 00038 00039 typedef ::geometry_msgs::TransformStamped_<ContainerAllocator> _transform_type; 00040 ::geometry_msgs::TransformStamped_<ContainerAllocator> transform; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "static_transform_broadcaster/SetStaticTransformRequest"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getServerMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00061 00062 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00063 00064 private: 00065 static const char* __s_getMessageDefinition_() { return "\n\ 00066 \n\ 00067 \n\ 00068 \n\ 00069 \n\ 00070 geometry_msgs/TransformStamped transform\n\ 00071 \n\ 00072 \n\ 00073 ================================================================================\n\ 00074 MSG: geometry_msgs/TransformStamped\n\ 00075 # This expresses a transform from coordinate frame header.frame_id\n\ 00076 # to the coordinate frame child_frame_id\n\ 00077 #\n\ 00078 # This message is mostly used by the \n\ 00079 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\ 00080 # See it's documentation for more information.\n\ 00081 \n\ 00082 Header header\n\ 00083 string child_frame_id # the frame id of the child frame\n\ 00084 Transform transform\n\ 00085 \n\ 00086 ================================================================================\n\ 00087 MSG: std_msgs/Header\n\ 00088 # Standard metadata for higher-level stamped data types.\n\ 00089 # This is generally used to communicate timestamped data \n\ 00090 # in a particular coordinate frame.\n\ 00091 # \n\ 00092 # sequence ID: consecutively increasing ID \n\ 00093 uint32 seq\n\ 00094 #Two-integer timestamp that is expressed as:\n\ 00095 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00096 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00097 # time-handling sugar is provided by the client library\n\ 00098 time stamp\n\ 00099 #Frame this data is associated with\n\ 00100 # 0: no frame\n\ 00101 # 1: global frame\n\ 00102 string frame_id\n\ 00103 \n\ 00104 ================================================================================\n\ 00105 MSG: geometry_msgs/Transform\n\ 00106 # This represents the transform between two coordinate frames in free space.\n\ 00107 \n\ 00108 Vector3 translation\n\ 00109 Quaternion rotation\n\ 00110 \n\ 00111 ================================================================================\n\ 00112 MSG: geometry_msgs/Vector3\n\ 00113 # This represents a vector in free space. \n\ 00114 \n\ 00115 float64 x\n\ 00116 float64 y\n\ 00117 float64 z\n\ 00118 ================================================================================\n\ 00119 MSG: geometry_msgs/Quaternion\n\ 00120 # This represents an orientation in free space in quaternion form.\n\ 00121 \n\ 00122 float64 x\n\ 00123 float64 y\n\ 00124 float64 z\n\ 00125 float64 w\n\ 00126 \n\ 00127 "; } 00128 public: 00129 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00130 00131 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00132 00133 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00134 { 00135 ros::serialization::OStream stream(write_ptr, 1000000000); 00136 ros::serialization::serialize(stream, transform); 00137 return stream.getData(); 00138 } 00139 00140 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00141 { 00142 ros::serialization::IStream stream(read_ptr, 1000000000); 00143 ros::serialization::deserialize(stream, transform); 00144 return stream.getData(); 00145 } 00146 00147 ROS_DEPRECATED virtual uint32_t serializationLength() const 00148 { 00149 uint32_t size = 0; 00150 size += ros::serialization::serializationLength(transform); 00151 return size; 00152 } 00153 00154 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > Ptr; 00155 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> const> ConstPtr; 00156 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00157 }; // struct SetStaticTransformRequest 00158 typedef ::static_transform_broadcaster::SetStaticTransformRequest_<std::allocator<void> > SetStaticTransformRequest; 00159 00160 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest> SetStaticTransformRequestPtr; 00161 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformRequest const> SetStaticTransformRequestConstPtr; 00162 00163 00164 template <class ContainerAllocator> 00165 struct SetStaticTransformResponse_ { 00166 typedef SetStaticTransformResponse_<ContainerAllocator> Type; 00167 00168 SetStaticTransformResponse_() 00169 { 00170 } 00171 00172 SetStaticTransformResponse_(const ContainerAllocator& _alloc) 00173 { 00174 } 00175 00176 00177 private: 00178 static const char* __s_getDataType_() { return "static_transform_broadcaster/SetStaticTransformResponse"; } 00179 public: 00180 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00181 00182 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00183 00184 private: 00185 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; } 00186 public: 00187 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00188 00189 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00190 00191 private: 00192 static const char* __s_getServerMD5Sum_() { return "627ebb4e09bbb127f87308bbfdbaec08"; } 00193 public: 00194 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); } 00195 00196 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); } 00197 00198 private: 00199 static const char* __s_getMessageDefinition_() { return "\n\ 00200 \n\ 00201 \n\ 00202 "; } 00203 public: 00204 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00205 00206 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00207 00208 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00209 { 00210 ros::serialization::OStream stream(write_ptr, 1000000000); 00211 return stream.getData(); 00212 } 00213 00214 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00215 { 00216 ros::serialization::IStream stream(read_ptr, 1000000000); 00217 return stream.getData(); 00218 } 00219 00220 ROS_DEPRECATED virtual uint32_t serializationLength() const 00221 { 00222 uint32_t size = 0; 00223 return size; 00224 } 00225 00226 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > Ptr; 00227 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> const> ConstPtr; 00228 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00229 }; // struct SetStaticTransformResponse 00230 typedef ::static_transform_broadcaster::SetStaticTransformResponse_<std::allocator<void> > SetStaticTransformResponse; 00231 00232 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse> SetStaticTransformResponsePtr; 00233 typedef boost::shared_ptr< ::static_transform_broadcaster::SetStaticTransformResponse const> SetStaticTransformResponseConstPtr; 00234 00235 struct SetStaticTransform 00236 { 00237 00238 typedef SetStaticTransformRequest Request; 00239 typedef SetStaticTransformResponse Response; 00240 Request request; 00241 Response response; 00242 00243 typedef Request RequestType; 00244 typedef Response ResponseType; 00245 }; // struct SetStaticTransform 00246 } // namespace static_transform_broadcaster 00247 00248 namespace ros 00249 { 00250 namespace message_traits 00251 { 00252 template<class ContainerAllocator> struct IsMessage< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > : public TrueType {}; 00253 template<class ContainerAllocator> struct IsMessage< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> const> : public TrueType {}; 00254 template<class ContainerAllocator> 00255 struct MD5Sum< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > { 00256 static const char* value() 00257 { 00258 return "627ebb4e09bbb127f87308bbfdbaec08"; 00259 } 00260 00261 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); } 00262 static const uint64_t static_value1 = 0x627ebb4e09bbb127ULL; 00263 static const uint64_t static_value2 = 0xf87308bbfdbaec08ULL; 00264 }; 00265 00266 template<class ContainerAllocator> 00267 struct DataType< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > { 00268 static const char* value() 00269 { 00270 return "static_transform_broadcaster/SetStaticTransformRequest"; 00271 } 00272 00273 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); } 00274 }; 00275 00276 template<class ContainerAllocator> 00277 struct Definition< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > { 00278 static const char* value() 00279 { 00280 return "\n\ 00281 \n\ 00282 \n\ 00283 \n\ 00284 \n\ 00285 geometry_msgs/TransformStamped transform\n\ 00286 \n\ 00287 \n\ 00288 ================================================================================\n\ 00289 MSG: geometry_msgs/TransformStamped\n\ 00290 # This expresses a transform from coordinate frame header.frame_id\n\ 00291 # to the coordinate frame child_frame_id\n\ 00292 #\n\ 00293 # This message is mostly used by the \n\ 00294 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\ 00295 # See it's documentation for more information.\n\ 00296 \n\ 00297 Header header\n\ 00298 string child_frame_id # the frame id of the child frame\n\ 00299 Transform transform\n\ 00300 \n\ 00301 ================================================================================\n\ 00302 MSG: std_msgs/Header\n\ 00303 # Standard metadata for higher-level stamped data types.\n\ 00304 # This is generally used to communicate timestamped data \n\ 00305 # in a particular coordinate frame.\n\ 00306 # \n\ 00307 # sequence ID: consecutively increasing ID \n\ 00308 uint32 seq\n\ 00309 #Two-integer timestamp that is expressed as:\n\ 00310 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00311 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00312 # time-handling sugar is provided by the client library\n\ 00313 time stamp\n\ 00314 #Frame this data is associated with\n\ 00315 # 0: no frame\n\ 00316 # 1: global frame\n\ 00317 string frame_id\n\ 00318 \n\ 00319 ================================================================================\n\ 00320 MSG: geometry_msgs/Transform\n\ 00321 # This represents the transform between two coordinate frames in free space.\n\ 00322 \n\ 00323 Vector3 translation\n\ 00324 Quaternion rotation\n\ 00325 \n\ 00326 ================================================================================\n\ 00327 MSG: geometry_msgs/Vector3\n\ 00328 # This represents a vector in free space. \n\ 00329 \n\ 00330 float64 x\n\ 00331 float64 y\n\ 00332 float64 z\n\ 00333 ================================================================================\n\ 00334 MSG: geometry_msgs/Quaternion\n\ 00335 # This represents an orientation in free space in quaternion form.\n\ 00336 \n\ 00337 float64 x\n\ 00338 float64 y\n\ 00339 float64 z\n\ 00340 float64 w\n\ 00341 \n\ 00342 "; 00343 } 00344 00345 static const char* value(const ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); } 00346 }; 00347 00348 } // namespace message_traits 00349 } // namespace ros 00350 00351 00352 namespace ros 00353 { 00354 namespace message_traits 00355 { 00356 template<class ContainerAllocator> struct IsMessage< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > : public TrueType {}; 00357 template<class ContainerAllocator> struct IsMessage< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> const> : public TrueType {}; 00358 template<class ContainerAllocator> 00359 struct MD5Sum< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > { 00360 static const char* value() 00361 { 00362 return "d41d8cd98f00b204e9800998ecf8427e"; 00363 } 00364 00365 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); } 00366 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL; 00367 static const uint64_t static_value2 = 0xe9800998ecf8427eULL; 00368 }; 00369 00370 template<class ContainerAllocator> 00371 struct DataType< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > { 00372 static const char* value() 00373 { 00374 return "static_transform_broadcaster/SetStaticTransformResponse"; 00375 } 00376 00377 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); } 00378 }; 00379 00380 template<class ContainerAllocator> 00381 struct Definition< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > { 00382 static const char* value() 00383 { 00384 return "\n\ 00385 \n\ 00386 \n\ 00387 "; 00388 } 00389 00390 static const char* value(const ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); } 00391 }; 00392 00393 template<class ContainerAllocator> struct IsFixedSize< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > : public TrueType {}; 00394 } // namespace message_traits 00395 } // namespace ros 00396 00397 namespace ros 00398 { 00399 namespace serialization 00400 { 00401 00402 template<class ContainerAllocator> struct Serializer< ::static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > 00403 { 00404 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00405 { 00406 stream.next(m.transform); 00407 } 00408 00409 ROS_DECLARE_ALLINONE_SERIALIZER; 00410 }; // struct SetStaticTransformRequest_ 00411 } // namespace serialization 00412 } // namespace ros 00413 00414 00415 namespace ros 00416 { 00417 namespace serialization 00418 { 00419 00420 template<class ContainerAllocator> struct Serializer< ::static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > 00421 { 00422 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00423 { 00424 } 00425 00426 ROS_DECLARE_ALLINONE_SERIALIZER; 00427 }; // struct SetStaticTransformResponse_ 00428 } // namespace serialization 00429 } // namespace ros 00430 00431 namespace ros 00432 { 00433 namespace service_traits 00434 { 00435 template<> 00436 struct MD5Sum<static_transform_broadcaster::SetStaticTransform> { 00437 static const char* value() 00438 { 00439 return "627ebb4e09bbb127f87308bbfdbaec08"; 00440 } 00441 00442 static const char* value(const static_transform_broadcaster::SetStaticTransform&) { return value(); } 00443 }; 00444 00445 template<> 00446 struct DataType<static_transform_broadcaster::SetStaticTransform> { 00447 static const char* value() 00448 { 00449 return "static_transform_broadcaster/SetStaticTransform"; 00450 } 00451 00452 static const char* value(const static_transform_broadcaster::SetStaticTransform&) { return value(); } 00453 }; 00454 00455 template<class ContainerAllocator> 00456 struct MD5Sum<static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > { 00457 static const char* value() 00458 { 00459 return "627ebb4e09bbb127f87308bbfdbaec08"; 00460 } 00461 00462 static const char* value(const static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); } 00463 }; 00464 00465 template<class ContainerAllocator> 00466 struct DataType<static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> > { 00467 static const char* value() 00468 { 00469 return "static_transform_broadcaster/SetStaticTransform"; 00470 } 00471 00472 static const char* value(const static_transform_broadcaster::SetStaticTransformRequest_<ContainerAllocator> &) { return value(); } 00473 }; 00474 00475 template<class ContainerAllocator> 00476 struct MD5Sum<static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > { 00477 static const char* value() 00478 { 00479 return "627ebb4e09bbb127f87308bbfdbaec08"; 00480 } 00481 00482 static const char* value(const static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); } 00483 }; 00484 00485 template<class ContainerAllocator> 00486 struct DataType<static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> > { 00487 static const char* value() 00488 { 00489 return "static_transform_broadcaster/SetStaticTransform"; 00490 } 00491 00492 static const char* value(const static_transform_broadcaster::SetStaticTransformResponse_<ContainerAllocator> &) { return value(); } 00493 }; 00494 00495 } // namespace service_traits 00496 } // namespace ros 00497 00498 #endif // STATIC_TRANSFORM_BROADCASTER_SERVICE_SETSTATICTRANSFORM_H 00499