Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_PLANNER_PLAN_H
00003 #define OPENRAVEROS_SERVICE_PLANNER_PLAN_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 #include "openraveros/Trajectory.h"
00022
00023 namespace openraveros
00024 {
00025 template <class ContainerAllocator>
00026 struct planner_planRequest_ {
00027 typedef planner_planRequest_<ContainerAllocator> Type;
00028
00029 planner_planRequest_()
00030 : plannerid(0)
00031 {
00032 }
00033
00034 planner_planRequest_(const ContainerAllocator& _alloc)
00035 : plannerid(0)
00036 {
00037 }
00038
00039 typedef uint32_t _plannerid_type;
00040 uint32_t plannerid;
00041
00042
00043 typedef boost::shared_ptr< ::openraveros::planner_planRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::openraveros::planner_planRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::openraveros::planner_planRequest_<std::allocator<void> > planner_planRequest;
00048
00049 typedef boost::shared_ptr< ::openraveros::planner_planRequest> planner_planRequestPtr;
00050 typedef boost::shared_ptr< ::openraveros::planner_planRequest const> planner_planRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct planner_planResponse_ {
00055 typedef planner_planResponse_<ContainerAllocator> Type;
00056
00057 planner_planResponse_()
00058 : trajectory()
00059 {
00060 }
00061
00062 planner_planResponse_(const ContainerAllocator& _alloc)
00063 : trajectory(_alloc)
00064 {
00065 }
00066
00067 typedef ::openraveros::Trajectory_<ContainerAllocator> _trajectory_type;
00068 ::openraveros::Trajectory_<ContainerAllocator> trajectory;
00069
00070
00071 typedef boost::shared_ptr< ::openraveros::planner_planResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::openraveros::planner_planResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::openraveros::planner_planResponse_<std::allocator<void> > planner_planResponse;
00076
00077 typedef boost::shared_ptr< ::openraveros::planner_planResponse> planner_planResponsePtr;
00078 typedef boost::shared_ptr< ::openraveros::planner_planResponse const> planner_planResponseConstPtr;
00079
00080 struct planner_plan
00081 {
00082
00083 typedef planner_planRequest Request;
00084 typedef planner_planResponse Response;
00085 Request request;
00086 Response response;
00087
00088 typedef Request RequestType;
00089 typedef Response ResponseType;
00090 };
00091 }
00092
00093 namespace ros
00094 {
00095 namespace message_traits
00096 {
00097 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_planRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_planRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::openraveros::planner_planRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "d0279c5c4bd73513d942852023693170";
00104 }
00105
00106 static const char* value(const ::openraveros::planner_planRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xd0279c5c4bd73513ULL;
00108 static const uint64_t static_value2 = 0xd942852023693170ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::openraveros::planner_planRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "openraveros/planner_planRequest";
00116 }
00117
00118 static const char* value(const ::openraveros::planner_planRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::openraveros::planner_planRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "\n\
00126 \n\
00127 uint32 plannerid\n\
00128 \n\
00129 ";
00130 }
00131
00132 static const char* value(const ::openraveros::planner_planRequest_<ContainerAllocator> &) { return value(); }
00133 };
00134
00135 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::planner_planRequest_<ContainerAllocator> > : public TrueType {};
00136 }
00137 }
00138
00139
00140 namespace ros
00141 {
00142 namespace message_traits
00143 {
00144 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_planResponse_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_planResponse_<ContainerAllocator> const> : public TrueType {};
00146 template<class ContainerAllocator>
00147 struct MD5Sum< ::openraveros::planner_planResponse_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "1ef5f24e2b6810cbabae36db36fbf59b";
00151 }
00152
00153 static const char* value(const ::openraveros::planner_planResponse_<ContainerAllocator> &) { return value(); }
00154 static const uint64_t static_value1 = 0x1ef5f24e2b6810cbULL;
00155 static const uint64_t static_value2 = 0xabae36db36fbf59bULL;
00156 };
00157
00158 template<class ContainerAllocator>
00159 struct DataType< ::openraveros::planner_planResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "openraveros/planner_planResponse";
00163 }
00164
00165 static const char* value(const ::openraveros::planner_planResponse_<ContainerAllocator> &) { return value(); }
00166 };
00167
00168 template<class ContainerAllocator>
00169 struct Definition< ::openraveros::planner_planResponse_<ContainerAllocator> > {
00170 static const char* value()
00171 {
00172 return "Trajectory trajectory\n\
00173 \n\
00174 \n\
00175 ================================================================================\n\
00176 MSG: openraveros/Trajectory\n\
00177 ConfigurationSpecification spec\n\
00178 float64[] points\n\
00179 string xmlid\n\
00180 \n\
00181 ================================================================================\n\
00182 MSG: openraveros/ConfigurationSpecification\n\
00183 ConfigurationSpecificationGroup[] groups\n\
00184 \n\
00185 ================================================================================\n\
00186 MSG: openraveros/ConfigurationSpecificationGroup\n\
00187 int32 offset\n\
00188 int32 dof\n\
00189 string name\n\
00190 string interpolation\n\
00191 \n\
00192 ";
00193 }
00194
00195 static const char* value(const ::openraveros::planner_planResponse_<ContainerAllocator> &) { return value(); }
00196 };
00197
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::openraveros::planner_planRequest_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.plannerid);
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< ::openraveros::planner_planResponse_<ContainerAllocator> >
00225 {
00226 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00227 {
00228 stream.next(m.trajectory);
00229 }
00230
00231 ROS_DECLARE_ALLINONE_SERIALIZER;
00232 };
00233 }
00234 }
00235
00236 namespace ros
00237 {
00238 namespace service_traits
00239 {
00240 template<>
00241 struct MD5Sum<openraveros::planner_plan> {
00242 static const char* value()
00243 {
00244 return "bf3b7a9df944a87827286957c98c429f";
00245 }
00246
00247 static const char* value(const openraveros::planner_plan&) { return value(); }
00248 };
00249
00250 template<>
00251 struct DataType<openraveros::planner_plan> {
00252 static const char* value()
00253 {
00254 return "openraveros/planner_plan";
00255 }
00256
00257 static const char* value(const openraveros::planner_plan&) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct MD5Sum<openraveros::planner_planRequest_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "bf3b7a9df944a87827286957c98c429f";
00265 }
00266
00267 static const char* value(const openraveros::planner_planRequest_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct DataType<openraveros::planner_planRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "openraveros/planner_plan";
00275 }
00276
00277 static const char* value(const openraveros::planner_planRequest_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct MD5Sum<openraveros::planner_planResponse_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "bf3b7a9df944a87827286957c98c429f";
00285 }
00286
00287 static const char* value(const openraveros::planner_planResponse_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct DataType<openraveros::planner_planResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "openraveros/planner_plan";
00295 }
00296
00297 static const char* value(const openraveros::planner_planResponse_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 }
00301 }
00302
00303 #endif // OPENRAVEROS_SERVICE_PLANNER_PLAN_H
00304