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