00001
00002 #ifndef MAV_MSGS_SERVICE_CHANGEDESPOSE_H
00003 #define MAV_MSGS_SERVICE_CHANGEDESPOSE_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
00022 namespace mav_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct ChangeDesPoseRequest_ {
00026 typedef ChangeDesPoseRequest_<ContainerAllocator> Type;
00027
00028 ChangeDesPoseRequest_()
00029 : field(0)
00030 , delta(0.0)
00031 {
00032 }
00033
00034 ChangeDesPoseRequest_(const ContainerAllocator& _alloc)
00035 : field(0)
00036 , delta(0.0)
00037 {
00038 }
00039
00040 typedef uint8_t _field_type;
00041 uint8_t field;
00042
00043 typedef double _delta_type;
00044 double delta;
00045
00046
00047 private:
00048 static const char* __s_getDataType_() { return "mav_msgs/ChangeDesPoseRequest"; }
00049 public:
00050 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00051
00052 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00053
00054 private:
00055 static const char* __s_getMD5Sum_() { return "c730d7ee3613fc5e0524a97cf9d61d9a"; }
00056 public:
00057 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00058
00059 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00060
00061 private:
00062 static const char* __s_getServerMD5Sum_() { return "c730d7ee3613fc5e0524a97cf9d61d9a"; }
00063 public:
00064 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00065
00066 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00067
00068 private:
00069 static const char* __s_getMessageDefinition_() { return "uint8 field\n\
00070 \n\
00071 \n\
00072 \n\
00073 float64 delta\n\
00074 \n\
00075 "; }
00076 public:
00077 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00078
00079 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00080
00081 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00082 {
00083 ros::serialization::OStream stream(write_ptr, 1000000000);
00084 ros::serialization::serialize(stream, field);
00085 ros::serialization::serialize(stream, delta);
00086 return stream.getData();
00087 }
00088
00089 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00090 {
00091 ros::serialization::IStream stream(read_ptr, 1000000000);
00092 ros::serialization::deserialize(stream, field);
00093 ros::serialization::deserialize(stream, delta);
00094 return stream.getData();
00095 }
00096
00097 ROS_DEPRECATED virtual uint32_t serializationLength() const
00098 {
00099 uint32_t size = 0;
00100 size += ros::serialization::serializationLength(field);
00101 size += ros::serialization::serializationLength(delta);
00102 return size;
00103 }
00104
00105 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > Ptr;
00106 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> const> ConstPtr;
00107 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00108 };
00109 typedef ::mav_msgs::ChangeDesPoseRequest_<std::allocator<void> > ChangeDesPoseRequest;
00110
00111 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest> ChangeDesPoseRequestPtr;
00112 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseRequest const> ChangeDesPoseRequestConstPtr;
00113
00114
00115 template <class ContainerAllocator>
00116 struct ChangeDesPoseResponse_ {
00117 typedef ChangeDesPoseResponse_<ContainerAllocator> Type;
00118
00119 ChangeDesPoseResponse_()
00120 {
00121 }
00122
00123 ChangeDesPoseResponse_(const ContainerAllocator& _alloc)
00124 {
00125 }
00126
00127
00128 private:
00129 static const char* __s_getDataType_() { return "mav_msgs/ChangeDesPoseResponse"; }
00130 public:
00131 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00132
00133 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00134
00135 private:
00136 static const char* __s_getMD5Sum_() { return "d41d8cd98f00b204e9800998ecf8427e"; }
00137 public:
00138 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00139
00140 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00141
00142 private:
00143 static const char* __s_getServerMD5Sum_() { return "c730d7ee3613fc5e0524a97cf9d61d9a"; }
00144 public:
00145 ROS_DEPRECATED static const std::string __s_getServerMD5Sum() { return __s_getServerMD5Sum_(); }
00146
00147 ROS_DEPRECATED const std::string __getServerMD5Sum() const { return __s_getServerMD5Sum_(); }
00148
00149 private:
00150 static const char* __s_getMessageDefinition_() { return "\n\
00151 \n\
00152 \n\
00153 "; }
00154 public:
00155 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00156
00157 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00158
00159 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00160 {
00161 ros::serialization::OStream stream(write_ptr, 1000000000);
00162 return stream.getData();
00163 }
00164
00165 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00166 {
00167 ros::serialization::IStream stream(read_ptr, 1000000000);
00168 return stream.getData();
00169 }
00170
00171 ROS_DEPRECATED virtual uint32_t serializationLength() const
00172 {
00173 uint32_t size = 0;
00174 return size;
00175 }
00176
00177 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > Ptr;
00178 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> const> ConstPtr;
00179 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00180 };
00181 typedef ::mav_msgs::ChangeDesPoseResponse_<std::allocator<void> > ChangeDesPoseResponse;
00182
00183 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse> ChangeDesPoseResponsePtr;
00184 typedef boost::shared_ptr< ::mav_msgs::ChangeDesPoseResponse const> ChangeDesPoseResponseConstPtr;
00185
00186 struct ChangeDesPose
00187 {
00188
00189 typedef ChangeDesPoseRequest Request;
00190 typedef ChangeDesPoseResponse Response;
00191 Request request;
00192 Response response;
00193
00194 typedef Request RequestType;
00195 typedef Response ResponseType;
00196 };
00197 }
00198
00199 namespace ros
00200 {
00201 namespace message_traits
00202 {
00203 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > : public TrueType {};
00204 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> const> : public TrueType {};
00205 template<class ContainerAllocator>
00206 struct MD5Sum< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00207 static const char* value()
00208 {
00209 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00210 }
00211
00212 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00213 static const uint64_t static_value1 = 0xc730d7ee3613fc5eULL;
00214 static const uint64_t static_value2 = 0x0524a97cf9d61d9aULL;
00215 };
00216
00217 template<class ContainerAllocator>
00218 struct DataType< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "mav_msgs/ChangeDesPoseRequest";
00222 }
00223
00224 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00225 };
00226
00227 template<class ContainerAllocator>
00228 struct Definition< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00229 static const char* value()
00230 {
00231 return "uint8 field\n\
00232 \n\
00233 \n\
00234 \n\
00235 float64 delta\n\
00236 \n\
00237 ";
00238 }
00239
00240 static const char* value(const ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00241 };
00242
00243 template<class ContainerAllocator> struct IsFixedSize< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > : public TrueType {};
00244 }
00245 }
00246
00247
00248 namespace ros
00249 {
00250 namespace message_traits
00251 {
00252 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > : public TrueType {};
00253 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> const> : public TrueType {};
00254 template<class ContainerAllocator>
00255 struct MD5Sum< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00256 static const char* value()
00257 {
00258 return "d41d8cd98f00b204e9800998ecf8427e";
00259 }
00260
00261 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00262 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00263 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct DataType< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "mav_msgs/ChangeDesPoseResponse";
00271 }
00272
00273 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct Definition< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "\n\
00281 \n\
00282 \n\
00283 ";
00284 }
00285
00286 static const char* value(const ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00287 };
00288
00289 template<class ContainerAllocator> struct IsFixedSize< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > : public TrueType {};
00290 }
00291 }
00292
00293 namespace ros
00294 {
00295 namespace serialization
00296 {
00297
00298 template<class ContainerAllocator> struct Serializer< ::mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> >
00299 {
00300 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00301 {
00302 stream.next(m.field);
00303 stream.next(m.delta);
00304 }
00305
00306 ROS_DECLARE_ALLINONE_SERIALIZER;
00307 };
00308 }
00309 }
00310
00311
00312 namespace ros
00313 {
00314 namespace serialization
00315 {
00316
00317 template<class ContainerAllocator> struct Serializer< ::mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> >
00318 {
00319 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00320 {
00321 }
00322
00323 ROS_DECLARE_ALLINONE_SERIALIZER;
00324 };
00325 }
00326 }
00327
00328 namespace ros
00329 {
00330 namespace service_traits
00331 {
00332 template<>
00333 struct MD5Sum<mav_msgs::ChangeDesPose> {
00334 static const char* value()
00335 {
00336 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00337 }
00338
00339 static const char* value(const mav_msgs::ChangeDesPose&) { return value(); }
00340 };
00341
00342 template<>
00343 struct DataType<mav_msgs::ChangeDesPose> {
00344 static const char* value()
00345 {
00346 return "mav_msgs/ChangeDesPose";
00347 }
00348
00349 static const char* value(const mav_msgs::ChangeDesPose&) { return value(); }
00350 };
00351
00352 template<class ContainerAllocator>
00353 struct MD5Sum<mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00354 static const char* value()
00355 {
00356 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00357 }
00358
00359 static const char* value(const mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00360 };
00361
00362 template<class ContainerAllocator>
00363 struct DataType<mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> > {
00364 static const char* value()
00365 {
00366 return "mav_msgs/ChangeDesPose";
00367 }
00368
00369 static const char* value(const mav_msgs::ChangeDesPoseRequest_<ContainerAllocator> &) { return value(); }
00370 };
00371
00372 template<class ContainerAllocator>
00373 struct MD5Sum<mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00374 static const char* value()
00375 {
00376 return "c730d7ee3613fc5e0524a97cf9d61d9a";
00377 }
00378
00379 static const char* value(const mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00380 };
00381
00382 template<class ContainerAllocator>
00383 struct DataType<mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> > {
00384 static const char* value()
00385 {
00386 return "mav_msgs/ChangeDesPose";
00387 }
00388
00389 static const char* value(const mav_msgs::ChangeDesPoseResponse_<ContainerAllocator> &) { return value(); }
00390 };
00391
00392 }
00393 }
00394
00395 #endif // MAV_MSGS_SERVICE_CHANGEDESPOSE_H
00396