Go to the documentation of this file.00001
00002 #ifndef DYNAMIC_TF_PUBLISHER_SERVICE_ASSOCTF_H
00003 #define DYNAMIC_TF_PUBLISHER_SERVICE_ASSOCTF_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 "std_msgs/Header.h"
00020
00021
00022
00023 namespace dynamic_tf_publisher
00024 {
00025 template <class ContainerAllocator>
00026 struct AssocTFRequest_ {
00027 typedef AssocTFRequest_<ContainerAllocator> Type;
00028
00029 AssocTFRequest_()
00030 : header()
00031 , parent_frame()
00032 , child_frame()
00033 {
00034 }
00035
00036 AssocTFRequest_(const ContainerAllocator& _alloc)
00037 : header(_alloc)
00038 , parent_frame(_alloc)
00039 , child_frame(_alloc)
00040 {
00041 }
00042
00043 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00044 ::std_msgs::Header_<ContainerAllocator> header;
00045
00046 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _parent_frame_type;
00047 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > parent_frame;
00048
00049 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _child_frame_type;
00050 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > child_frame;
00051
00052
00053 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::dynamic_tf_publisher::AssocTFRequest_<std::allocator<void> > AssocTFRequest;
00058
00059 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFRequest> AssocTFRequestPtr;
00060 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFRequest const> AssocTFRequestConstPtr;
00061
00062
00063 template <class ContainerAllocator>
00064 struct AssocTFResponse_ {
00065 typedef AssocTFResponse_<ContainerAllocator> Type;
00066
00067 AssocTFResponse_()
00068 {
00069 }
00070
00071 AssocTFResponse_(const ContainerAllocator& _alloc)
00072 {
00073 }
00074
00075
00076 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::dynamic_tf_publisher::AssocTFResponse_<std::allocator<void> > AssocTFResponse;
00081
00082 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFResponse> AssocTFResponsePtr;
00083 typedef boost::shared_ptr< ::dynamic_tf_publisher::AssocTFResponse const> AssocTFResponseConstPtr;
00084
00085 struct AssocTF
00086 {
00087
00088 typedef AssocTFRequest Request;
00089 typedef AssocTFResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "984a9f3f6741b2b5568909b82fec6355";
00109 }
00110
00111 static const char* value(const ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0x984a9f3f6741b2b5ULL;
00113 static const uint64_t static_value2 = 0x568909b82fec6355ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "dynamic_tf_publisher/AssocTFRequest";
00121 }
00122
00123 static const char* value(const ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "Header header\n\
00131 string parent_frame\n\
00132 string child_frame\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 ";
00153 }
00154
00155 static const char* value(const ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> &) { return value(); }
00156 };
00157
00158 template<class ContainerAllocator> struct HasHeader< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > : public TrueType {};
00159 template<class ContainerAllocator> struct HasHeader< const ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > : public TrueType {};
00160 }
00161 }
00162
00163
00164 namespace ros
00165 {
00166 namespace message_traits
00167 {
00168 template<class ContainerAllocator> struct IsMessage< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > : public TrueType {};
00169 template<class ContainerAllocator> struct IsMessage< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> const> : public TrueType {};
00170 template<class ContainerAllocator>
00171 struct MD5Sum< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "d41d8cd98f00b204e9800998ecf8427e";
00175 }
00176
00177 static const char* value(const ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> &) { return value(); }
00178 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00179 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00180 };
00181
00182 template<class ContainerAllocator>
00183 struct DataType< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > {
00184 static const char* value()
00185 {
00186 return "dynamic_tf_publisher/AssocTFResponse";
00187 }
00188
00189 static const char* value(const ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 template<class ContainerAllocator>
00193 struct Definition< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > {
00194 static const char* value()
00195 {
00196 return "\n\
00197 \n\
00198 ";
00199 }
00200
00201 static const char* value(const ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> &) { return value(); }
00202 };
00203
00204 template<class ContainerAllocator> struct IsFixedSize< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > : public TrueType {};
00205 }
00206 }
00207
00208 namespace ros
00209 {
00210 namespace serialization
00211 {
00212
00213 template<class ContainerAllocator> struct Serializer< ::dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> >
00214 {
00215 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00216 {
00217 stream.next(m.header);
00218 stream.next(m.parent_frame);
00219 stream.next(m.child_frame);
00220 }
00221
00222 ROS_DECLARE_ALLINONE_SERIALIZER;
00223 };
00224 }
00225 }
00226
00227
00228 namespace ros
00229 {
00230 namespace serialization
00231 {
00232
00233 template<class ContainerAllocator> struct Serializer< ::dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> >
00234 {
00235 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00236 {
00237 }
00238
00239 ROS_DECLARE_ALLINONE_SERIALIZER;
00240 };
00241 }
00242 }
00243
00244 namespace ros
00245 {
00246 namespace service_traits
00247 {
00248 template<>
00249 struct MD5Sum<dynamic_tf_publisher::AssocTF> {
00250 static const char* value()
00251 {
00252 return "984a9f3f6741b2b5568909b82fec6355";
00253 }
00254
00255 static const char* value(const dynamic_tf_publisher::AssocTF&) { return value(); }
00256 };
00257
00258 template<>
00259 struct DataType<dynamic_tf_publisher::AssocTF> {
00260 static const char* value()
00261 {
00262 return "dynamic_tf_publisher/AssocTF";
00263 }
00264
00265 static const char* value(const dynamic_tf_publisher::AssocTF&) { return value(); }
00266 };
00267
00268 template<class ContainerAllocator>
00269 struct MD5Sum<dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > {
00270 static const char* value()
00271 {
00272 return "984a9f3f6741b2b5568909b82fec6355";
00273 }
00274
00275 static const char* value(const dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> &) { return value(); }
00276 };
00277
00278 template<class ContainerAllocator>
00279 struct DataType<dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> > {
00280 static const char* value()
00281 {
00282 return "dynamic_tf_publisher/AssocTF";
00283 }
00284
00285 static const char* value(const dynamic_tf_publisher::AssocTFRequest_<ContainerAllocator> &) { return value(); }
00286 };
00287
00288 template<class ContainerAllocator>
00289 struct MD5Sum<dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > {
00290 static const char* value()
00291 {
00292 return "984a9f3f6741b2b5568909b82fec6355";
00293 }
00294
00295 static const char* value(const dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> &) { return value(); }
00296 };
00297
00298 template<class ContainerAllocator>
00299 struct DataType<dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> > {
00300 static const char* value()
00301 {
00302 return "dynamic_tf_publisher/AssocTF";
00303 }
00304
00305 static const char* value(const dynamic_tf_publisher::AssocTFResponse_<ContainerAllocator> &) { return value(); }
00306 };
00307
00308 }
00309 }
00310
00311 #endif // DYNAMIC_TF_PUBLISHER_SERVICE_ASSOCTF_H
00312