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