Go to the documentation of this file.00001
00002 #ifndef TF_BROADCAST_SERVER_SERVICE_BROADCASTTRANSFORM_H
00003 #define TF_BROADCAST_SERVER_SERVICE_BROADCASTTRANSFORM_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/PoseStamped.h"
00020
00021
00022
00023 namespace tf_broadcast_server
00024 {
00025 template <class ContainerAllocator>
00026 struct BroadcastTransformRequest_ {
00027 typedef BroadcastTransformRequest_<ContainerAllocator> Type;
00028
00029 BroadcastTransformRequest_()
00030 : frame_name()
00031 , pose()
00032 {
00033 }
00034
00035 BroadcastTransformRequest_(const ContainerAllocator& _alloc)
00036 : frame_name(_alloc)
00037 , pose(_alloc)
00038 {
00039 }
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_name_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame_name;
00043
00044 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00045 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00046
00047
00048 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::tf_broadcast_server::BroadcastTransformRequest_<std::allocator<void> > BroadcastTransformRequest;
00053
00054 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformRequest> BroadcastTransformRequestPtr;
00055 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformRequest const> BroadcastTransformRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct BroadcastTransformResponse_ {
00060 typedef BroadcastTransformResponse_<ContainerAllocator> Type;
00061
00062 BroadcastTransformResponse_()
00063 {
00064 }
00065
00066 BroadcastTransformResponse_(const ContainerAllocator& _alloc)
00067 {
00068 }
00069
00070
00071 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::tf_broadcast_server::BroadcastTransformResponse_<std::allocator<void> > BroadcastTransformResponse;
00076
00077 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformResponse> BroadcastTransformResponsePtr;
00078 typedef boost::shared_ptr< ::tf_broadcast_server::BroadcastTransformResponse const> BroadcastTransformResponseConstPtr;
00079
00080 struct BroadcastTransform
00081 {
00082
00083 typedef BroadcastTransformRequest Request;
00084 typedef BroadcastTransformResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "014d196ac5b8db7c1867fa70aa8cf315";
00104 }
00105
00106 static const char* value(const ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0x014d196ac5b8db7cULL;
00108 static const uint64_t static_value2 = 0x1867fa70aa8cf315ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "tf_broadcast_server/BroadcastTransformRequest";
00116 }
00117
00118 static const char* value(const ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "string frame_name\n\
00126 geometry_msgs/PoseStamped pose\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: geometry_msgs/PoseStamped\n\
00130 # A Pose with reference coordinate frame and timestamp\n\
00131 Header header\n\
00132 Pose pose\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: std_msgs/Header\n\
00136 # Standard metadata for higher-level stamped data types.\n\
00137 # This is generally used to communicate timestamped data \n\
00138 # in a particular coordinate frame.\n\
00139 # \n\
00140 # sequence ID: consecutively increasing ID \n\
00141 uint32 seq\n\
00142 #Two-integer timestamp that is expressed as:\n\
00143 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00144 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00145 # time-handling sugar is provided by the client library\n\
00146 time stamp\n\
00147 #Frame this data is associated with\n\
00148 # 0: no frame\n\
00149 # 1: global frame\n\
00150 string frame_id\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Pose\n\
00154 # A representation of pose in free space, composed of postion and orientation. \n\
00155 Point position\n\
00156 Quaternion orientation\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Point\n\
00160 # This contains the position of a point in free space\n\
00161 float64 x\n\
00162 float64 y\n\
00163 float64 z\n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: geometry_msgs/Quaternion\n\
00167 # This represents an orientation in free space in quaternion form.\n\
00168 \n\
00169 float64 x\n\
00170 float64 y\n\
00171 float64 z\n\
00172 float64 w\n\
00173 \n\
00174 ";
00175 }
00176
00177 static const char* value(const ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 }
00181 }
00182
00183
00184 namespace ros
00185 {
00186 namespace message_traits
00187 {
00188 template<class ContainerAllocator> struct IsMessage< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > : public TrueType {};
00189 template<class ContainerAllocator> struct IsMessage< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> const> : public TrueType {};
00190 template<class ContainerAllocator>
00191 struct MD5Sum< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > {
00192 static const char* value()
00193 {
00194 return "d41d8cd98f00b204e9800998ecf8427e";
00195 }
00196
00197 static const char* value(const ::tf_broadcast_server::BroadcastTransformResponse_<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< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > {
00204 static const char* value()
00205 {
00206 return "tf_broadcast_server/BroadcastTransformResponse";
00207 }
00208
00209 static const char* value(const ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> &) { return value(); }
00210 };
00211
00212 template<class ContainerAllocator>
00213 struct Definition< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > {
00214 static const char* value()
00215 {
00216 return "\n\
00217 \n\
00218 ";
00219 }
00220
00221 static const char* value(const ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> &) { return value(); }
00222 };
00223
00224 template<class ContainerAllocator> struct IsFixedSize< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > : public TrueType {};
00225 }
00226 }
00227
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232
00233 template<class ContainerAllocator> struct Serializer< ::tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> >
00234 {
00235 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236 {
00237 stream.next(m.frame_name);
00238 stream.next(m.pose);
00239 }
00240
00241 ROS_DECLARE_ALLINONE_SERIALIZER;
00242 };
00243 }
00244 }
00245
00246
00247 namespace ros
00248 {
00249 namespace serialization
00250 {
00251
00252 template<class ContainerAllocator> struct Serializer< ::tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> >
00253 {
00254 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00255 {
00256 }
00257
00258 ROS_DECLARE_ALLINONE_SERIALIZER;
00259 };
00260 }
00261 }
00262
00263 namespace ros
00264 {
00265 namespace service_traits
00266 {
00267 template<>
00268 struct MD5Sum<tf_broadcast_server::BroadcastTransform> {
00269 static const char* value()
00270 {
00271 return "014d196ac5b8db7c1867fa70aa8cf315";
00272 }
00273
00274 static const char* value(const tf_broadcast_server::BroadcastTransform&) { return value(); }
00275 };
00276
00277 template<>
00278 struct DataType<tf_broadcast_server::BroadcastTransform> {
00279 static const char* value()
00280 {
00281 return "tf_broadcast_server/BroadcastTransform";
00282 }
00283
00284 static const char* value(const tf_broadcast_server::BroadcastTransform&) { return value(); }
00285 };
00286
00287 template<class ContainerAllocator>
00288 struct MD5Sum<tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > {
00289 static const char* value()
00290 {
00291 return "014d196ac5b8db7c1867fa70aa8cf315";
00292 }
00293
00294 static const char* value(const tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> &) { return value(); }
00295 };
00296
00297 template<class ContainerAllocator>
00298 struct DataType<tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> > {
00299 static const char* value()
00300 {
00301 return "tf_broadcast_server/BroadcastTransform";
00302 }
00303
00304 static const char* value(const tf_broadcast_server::BroadcastTransformRequest_<ContainerAllocator> &) { return value(); }
00305 };
00306
00307 template<class ContainerAllocator>
00308 struct MD5Sum<tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > {
00309 static const char* value()
00310 {
00311 return "014d196ac5b8db7c1867fa70aa8cf315";
00312 }
00313
00314 static const char* value(const tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> &) { return value(); }
00315 };
00316
00317 template<class ContainerAllocator>
00318 struct DataType<tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> > {
00319 static const char* value()
00320 {
00321 return "tf_broadcast_server/BroadcastTransform";
00322 }
00323
00324 static const char* value(const tf_broadcast_server::BroadcastTransformResponse_<ContainerAllocator> &) { return value(); }
00325 };
00326
00327 }
00328 }
00329
00330 #endif // TF_BROADCAST_SERVER_SERVICE_BROADCASTTRANSFORM_H
00331