Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_GETNEXTPOSE_H
00003 #define RE_SRVS_SERVICE_GETNEXTPOSE_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/Pose.h"
00020
00021
00022 #include "geometry_msgs/Pose.h"
00023
00024 namespace re_srvs
00025 {
00026 template <class ContainerAllocator>
00027 struct getNextPoseRequest_ {
00028 typedef getNextPoseRequest_<ContainerAllocator> Type;
00029
00030 getNextPoseRequest_()
00031 : currentPose()
00032 {
00033 }
00034
00035 getNextPoseRequest_(const ContainerAllocator& _alloc)
00036 : currentPose(_alloc)
00037 {
00038 }
00039
00040 typedef ::geometry_msgs::Pose_<ContainerAllocator> _currentPose_type;
00041 ::geometry_msgs::Pose_<ContainerAllocator> currentPose;
00042
00043
00044 typedef boost::shared_ptr< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > Ptr;
00045 typedef boost::shared_ptr< ::re_srvs::getNextPoseRequest_<ContainerAllocator> const> ConstPtr;
00046 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 };
00048 typedef ::re_srvs::getNextPoseRequest_<std::allocator<void> > getNextPoseRequest;
00049
00050 typedef boost::shared_ptr< ::re_srvs::getNextPoseRequest> getNextPoseRequestPtr;
00051 typedef boost::shared_ptr< ::re_srvs::getNextPoseRequest const> getNextPoseRequestConstPtr;
00052
00053
00054 template <class ContainerAllocator>
00055 struct getNextPoseResponse_ {
00056 typedef getNextPoseResponse_<ContainerAllocator> Type;
00057
00058 getNextPoseResponse_()
00059 : commandPose()
00060 , learningFinished(false)
00061 {
00062 }
00063
00064 getNextPoseResponse_(const ContainerAllocator& _alloc)
00065 : commandPose(_alloc)
00066 , learningFinished(false)
00067 {
00068 }
00069
00070 typedef ::geometry_msgs::Pose_<ContainerAllocator> _commandPose_type;
00071 ::geometry_msgs::Pose_<ContainerAllocator> commandPose;
00072
00073 typedef uint8_t _learningFinished_type;
00074 uint8_t learningFinished;
00075
00076
00077 typedef boost::shared_ptr< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > Ptr;
00078 typedef boost::shared_ptr< ::re_srvs::getNextPoseResponse_<ContainerAllocator> const> ConstPtr;
00079 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00080 };
00081 typedef ::re_srvs::getNextPoseResponse_<std::allocator<void> > getNextPoseResponse;
00082
00083 typedef boost::shared_ptr< ::re_srvs::getNextPoseResponse> getNextPoseResponsePtr;
00084 typedef boost::shared_ptr< ::re_srvs::getNextPoseResponse const> getNextPoseResponseConstPtr;
00085
00086 struct getNextPose
00087 {
00088
00089 typedef getNextPoseRequest Request;
00090 typedef getNextPoseResponse Response;
00091 Request request;
00092 Response response;
00093
00094 typedef Request RequestType;
00095 typedef Response ResponseType;
00096 };
00097 }
00098
00099 namespace ros
00100 {
00101 namespace message_traits
00102 {
00103 template<class ContainerAllocator> struct IsMessage< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > : public TrueType {};
00104 template<class ContainerAllocator> struct IsMessage< ::re_srvs::getNextPoseRequest_<ContainerAllocator> const> : public TrueType {};
00105 template<class ContainerAllocator>
00106 struct MD5Sum< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > {
00107 static const char* value()
00108 {
00109 return "68f88dbab9859bab49fcc8cd2125bed2";
00110 }
00111
00112 static const char* value(const ::re_srvs::getNextPoseRequest_<ContainerAllocator> &) { return value(); }
00113 static const uint64_t static_value1 = 0x68f88dbab9859babULL;
00114 static const uint64_t static_value2 = 0x49fcc8cd2125bed2ULL;
00115 };
00116
00117 template<class ContainerAllocator>
00118 struct DataType< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > {
00119 static const char* value()
00120 {
00121 return "re_srvs/getNextPoseRequest";
00122 }
00123
00124 static const char* value(const ::re_srvs::getNextPoseRequest_<ContainerAllocator> &) { return value(); }
00125 };
00126
00127 template<class ContainerAllocator>
00128 struct Definition< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > {
00129 static const char* value()
00130 {
00131 return "geometry_msgs/Pose currentPose\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/Pose\n\
00135 # A representation of pose in free space, composed of postion and orientation. \n\
00136 Point position\n\
00137 Quaternion orientation\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: geometry_msgs/Point\n\
00141 # This contains the position of a point in free space\n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Quaternion\n\
00148 # This represents an orientation in free space in quaternion form.\n\
00149 \n\
00150 float64 x\n\
00151 float64 y\n\
00152 float64 z\n\
00153 float64 w\n\
00154 \n\
00155 ";
00156 }
00157
00158 static const char* value(const ::re_srvs::getNextPoseRequest_<ContainerAllocator> &) { return value(); }
00159 };
00160
00161 template<class ContainerAllocator> struct IsFixedSize< ::re_srvs::getNextPoseRequest_<ContainerAllocator> > : public TrueType {};
00162 }
00163 }
00164
00165
00166 namespace ros
00167 {
00168 namespace message_traits
00169 {
00170 template<class ContainerAllocator> struct IsMessage< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > : public TrueType {};
00171 template<class ContainerAllocator> struct IsMessage< ::re_srvs::getNextPoseResponse_<ContainerAllocator> const> : public TrueType {};
00172 template<class ContainerAllocator>
00173 struct MD5Sum< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > {
00174 static const char* value()
00175 {
00176 return "3e1379b95e678c619009db32fe035ffe";
00177 }
00178
00179 static const char* value(const ::re_srvs::getNextPoseResponse_<ContainerAllocator> &) { return value(); }
00180 static const uint64_t static_value1 = 0x3e1379b95e678c61ULL;
00181 static const uint64_t static_value2 = 0x9009db32fe035ffeULL;
00182 };
00183
00184 template<class ContainerAllocator>
00185 struct DataType< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > {
00186 static const char* value()
00187 {
00188 return "re_srvs/getNextPoseResponse";
00189 }
00190
00191 static const char* value(const ::re_srvs::getNextPoseResponse_<ContainerAllocator> &) { return value(); }
00192 };
00193
00194 template<class ContainerAllocator>
00195 struct Definition< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > {
00196 static const char* value()
00197 {
00198 return "geometry_msgs/Pose commandPose\n\
00199 bool learningFinished\n\
00200 \n\
00201 \n\
00202 ================================================================================\n\
00203 MSG: geometry_msgs/Pose\n\
00204 # A representation of pose in free space, composed of postion and orientation. \n\
00205 Point position\n\
00206 Quaternion orientation\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geometry_msgs/Point\n\
00210 # This contains the position of a point in free space\n\
00211 float64 x\n\
00212 float64 y\n\
00213 float64 z\n\
00214 \n\
00215 ================================================================================\n\
00216 MSG: geometry_msgs/Quaternion\n\
00217 # This represents an orientation in free space in quaternion form.\n\
00218 \n\
00219 float64 x\n\
00220 float64 y\n\
00221 float64 z\n\
00222 float64 w\n\
00223 \n\
00224 ";
00225 }
00226
00227 static const char* value(const ::re_srvs::getNextPoseResponse_<ContainerAllocator> &) { return value(); }
00228 };
00229
00230 template<class ContainerAllocator> struct IsFixedSize< ::re_srvs::getNextPoseResponse_<ContainerAllocator> > : public TrueType {};
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace serialization
00237 {
00238
00239 template<class ContainerAllocator> struct Serializer< ::re_srvs::getNextPoseRequest_<ContainerAllocator> >
00240 {
00241 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00242 {
00243 stream.next(m.currentPose);
00244 }
00245
00246 ROS_DECLARE_ALLINONE_SERIALIZER;
00247 };
00248 }
00249 }
00250
00251
00252 namespace ros
00253 {
00254 namespace serialization
00255 {
00256
00257 template<class ContainerAllocator> struct Serializer< ::re_srvs::getNextPoseResponse_<ContainerAllocator> >
00258 {
00259 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00260 {
00261 stream.next(m.commandPose);
00262 stream.next(m.learningFinished);
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<re_srvs::getNextPose> {
00276 static const char* value()
00277 {
00278 return "380505756efd551cb201fc9bfa85fa88";
00279 }
00280
00281 static const char* value(const re_srvs::getNextPose&) { return value(); }
00282 };
00283
00284 template<>
00285 struct DataType<re_srvs::getNextPose> {
00286 static const char* value()
00287 {
00288 return "re_srvs/getNextPose";
00289 }
00290
00291 static const char* value(const re_srvs::getNextPose&) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct MD5Sum<re_srvs::getNextPoseRequest_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "380505756efd551cb201fc9bfa85fa88";
00299 }
00300
00301 static const char* value(const re_srvs::getNextPoseRequest_<ContainerAllocator> &) { return value(); }
00302 };
00303
00304 template<class ContainerAllocator>
00305 struct DataType<re_srvs::getNextPoseRequest_<ContainerAllocator> > {
00306 static const char* value()
00307 {
00308 return "re_srvs/getNextPose";
00309 }
00310
00311 static const char* value(const re_srvs::getNextPoseRequest_<ContainerAllocator> &) { return value(); }
00312 };
00313
00314 template<class ContainerAllocator>
00315 struct MD5Sum<re_srvs::getNextPoseResponse_<ContainerAllocator> > {
00316 static const char* value()
00317 {
00318 return "380505756efd551cb201fc9bfa85fa88";
00319 }
00320
00321 static const char* value(const re_srvs::getNextPoseResponse_<ContainerAllocator> &) { return value(); }
00322 };
00323
00324 template<class ContainerAllocator>
00325 struct DataType<re_srvs::getNextPoseResponse_<ContainerAllocator> > {
00326 static const char* value()
00327 {
00328 return "re_srvs/getNextPose";
00329 }
00330
00331 static const char* value(const re_srvs::getNextPoseResponse_<ContainerAllocator> &) { return value(); }
00332 };
00333
00334 }
00335 }
00336
00337 #endif // RE_SRVS_SERVICE_GETNEXTPOSE_H
00338