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