Go to the documentation of this file.00001
00002 #ifndef NAO_REMOTE_SERVICE_SETTRANSFORM_H
00003 #define NAO_REMOTE_SERVICE_SETTRANSFORM_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/Transform.h"
00020
00021
00022
00023 namespace nao_remote
00024 {
00025 template <class ContainerAllocator>
00026 struct SetTransformRequest_ {
00027 typedef SetTransformRequest_<ContainerAllocator> Type;
00028
00029 SetTransformRequest_()
00030 : offset()
00031 {
00032 }
00033
00034 SetTransformRequest_(const ContainerAllocator& _alloc)
00035 : offset(_alloc)
00036 {
00037 }
00038
00039 typedef ::geometry_msgs::Transform_<ContainerAllocator> _offset_type;
00040 ::geometry_msgs::Transform_<ContainerAllocator> offset;
00041
00042
00043 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::nao_remote::SetTransformRequest_<std::allocator<void> > SetTransformRequest;
00048
00049 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest> SetTransformRequestPtr;
00050 typedef boost::shared_ptr< ::nao_remote::SetTransformRequest const> SetTransformRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct SetTransformResponse_ {
00055 typedef SetTransformResponse_<ContainerAllocator> Type;
00056
00057 SetTransformResponse_()
00058 {
00059 }
00060
00061 SetTransformResponse_(const ContainerAllocator& _alloc)
00062 {
00063 }
00064
00065
00066 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse_<ContainerAllocator> > Ptr;
00067 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse_<ContainerAllocator> const> ConstPtr;
00068 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00069 };
00070 typedef ::nao_remote::SetTransformResponse_<std::allocator<void> > SetTransformResponse;
00071
00072 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse> SetTransformResponsePtr;
00073 typedef boost::shared_ptr< ::nao_remote::SetTransformResponse const> SetTransformResponseConstPtr;
00074
00075 struct SetTransform
00076 {
00077
00078 typedef SetTransformRequest Request;
00079 typedef SetTransformResponse Response;
00080 Request request;
00081 Response response;
00082
00083 typedef Request RequestType;
00084 typedef Response ResponseType;
00085 };
00086 }
00087
00088 namespace ros
00089 {
00090 namespace message_traits
00091 {
00092 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformRequest_<ContainerAllocator> > : public TrueType {};
00093 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformRequest_<ContainerAllocator> const> : public TrueType {};
00094 template<class ContainerAllocator>
00095 struct MD5Sum< ::nao_remote::SetTransformRequest_<ContainerAllocator> > {
00096 static const char* value()
00097 {
00098 return "67035ddf415a9bb64191f0e45b060e35";
00099 }
00100
00101 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); }
00102 static const uint64_t static_value1 = 0x67035ddf415a9bb6ULL;
00103 static const uint64_t static_value2 = 0x4191f0e45b060e35ULL;
00104 };
00105
00106 template<class ContainerAllocator>
00107 struct DataType< ::nao_remote::SetTransformRequest_<ContainerAllocator> > {
00108 static const char* value()
00109 {
00110 return "nao_remote/SetTransformRequest";
00111 }
00112
00113 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); }
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct Definition< ::nao_remote::SetTransformRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "\n\
00121 geometry_msgs/Transform offset\n\
00122 \n\
00123 ================================================================================\n\
00124 MSG: geometry_msgs/Transform\n\
00125 # This represents the transform between two coordinate frames in free space.\n\
00126 \n\
00127 Vector3 translation\n\
00128 Quaternion rotation\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: geometry_msgs/Vector3\n\
00132 # This represents a vector in free space. \n\
00133 \n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 ================================================================================\n\
00138 MSG: geometry_msgs/Quaternion\n\
00139 # This represents an orientation in free space in quaternion form.\n\
00140 \n\
00141 float64 x\n\
00142 float64 y\n\
00143 float64 z\n\
00144 float64 w\n\
00145 \n\
00146 ";
00147 }
00148
00149 static const char* value(const ::nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); }
00150 };
00151
00152 template<class ContainerAllocator> struct IsFixedSize< ::nao_remote::SetTransformRequest_<ContainerAllocator> > : public TrueType {};
00153 }
00154 }
00155
00156
00157 namespace ros
00158 {
00159 namespace message_traits
00160 {
00161 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformResponse_<ContainerAllocator> > : public TrueType {};
00162 template<class ContainerAllocator> struct IsMessage< ::nao_remote::SetTransformResponse_<ContainerAllocator> const> : public TrueType {};
00163 template<class ContainerAllocator>
00164 struct MD5Sum< ::nao_remote::SetTransformResponse_<ContainerAllocator> > {
00165 static const char* value()
00166 {
00167 return "d41d8cd98f00b204e9800998ecf8427e";
00168 }
00169
00170 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); }
00171 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00172 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00173 };
00174
00175 template<class ContainerAllocator>
00176 struct DataType< ::nao_remote::SetTransformResponse_<ContainerAllocator> > {
00177 static const char* value()
00178 {
00179 return "nao_remote/SetTransformResponse";
00180 }
00181
00182 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 template<class ContainerAllocator>
00186 struct Definition< ::nao_remote::SetTransformResponse_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "\n\
00190 \n\
00191 ";
00192 }
00193
00194 static const char* value(const ::nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); }
00195 };
00196
00197 template<class ContainerAllocator> struct IsFixedSize< ::nao_remote::SetTransformResponse_<ContainerAllocator> > : public TrueType {};
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::nao_remote::SetTransformRequest_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.offset);
00211 }
00212
00213 ROS_DECLARE_ALLINONE_SERIALIZER;
00214 };
00215 }
00216 }
00217
00218
00219 namespace ros
00220 {
00221 namespace serialization
00222 {
00223
00224 template<class ContainerAllocator> struct Serializer< ::nao_remote::SetTransformResponse_<ContainerAllocator> >
00225 {
00226 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00227 {
00228 }
00229
00230 ROS_DECLARE_ALLINONE_SERIALIZER;
00231 };
00232 }
00233 }
00234
00235 namespace ros
00236 {
00237 namespace service_traits
00238 {
00239 template<>
00240 struct MD5Sum<nao_remote::SetTransform> {
00241 static const char* value()
00242 {
00243 return "67035ddf415a9bb64191f0e45b060e35";
00244 }
00245
00246 static const char* value(const nao_remote::SetTransform&) { return value(); }
00247 };
00248
00249 template<>
00250 struct DataType<nao_remote::SetTransform> {
00251 static const char* value()
00252 {
00253 return "nao_remote/SetTransform";
00254 }
00255
00256 static const char* value(const nao_remote::SetTransform&) { return value(); }
00257 };
00258
00259 template<class ContainerAllocator>
00260 struct MD5Sum<nao_remote::SetTransformRequest_<ContainerAllocator> > {
00261 static const char* value()
00262 {
00263 return "67035ddf415a9bb64191f0e45b060e35";
00264 }
00265
00266 static const char* value(const nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); }
00267 };
00268
00269 template<class ContainerAllocator>
00270 struct DataType<nao_remote::SetTransformRequest_<ContainerAllocator> > {
00271 static const char* value()
00272 {
00273 return "nao_remote/SetTransform";
00274 }
00275
00276 static const char* value(const nao_remote::SetTransformRequest_<ContainerAllocator> &) { return value(); }
00277 };
00278
00279 template<class ContainerAllocator>
00280 struct MD5Sum<nao_remote::SetTransformResponse_<ContainerAllocator> > {
00281 static const char* value()
00282 {
00283 return "67035ddf415a9bb64191f0e45b060e35";
00284 }
00285
00286 static const char* value(const nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator>
00290 struct DataType<nao_remote::SetTransformResponse_<ContainerAllocator> > {
00291 static const char* value()
00292 {
00293 return "nao_remote/SetTransform";
00294 }
00295
00296 static const char* value(const nao_remote::SetTransformResponse_<ContainerAllocator> &) { return value(); }
00297 };
00298
00299 }
00300 }
00301
00302 #endif // NAO_REMOTE_SERVICE_SETTRANSFORM_H
00303