Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_PLANNER_INIT_H
00003 #define OPENRAVEROS_SERVICE_PLANNER_INIT_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 "openraveros/PlannerParameters.h"
00020
00021
00022
00023 namespace openraveros
00024 {
00025 template <class ContainerAllocator>
00026 struct planner_initRequest_ {
00027 typedef planner_initRequest_<ContainerAllocator> Type;
00028
00029 planner_initRequest_()
00030 : plannerid(0)
00031 , robotid(0)
00032 , params()
00033 {
00034 }
00035
00036 planner_initRequest_(const ContainerAllocator& _alloc)
00037 : plannerid(0)
00038 , robotid(0)
00039 , params(_alloc)
00040 {
00041 }
00042
00043 typedef uint32_t _plannerid_type;
00044 uint32_t plannerid;
00045
00046 typedef uint32_t _robotid_type;
00047 uint32_t robotid;
00048
00049 typedef ::openraveros::PlannerParameters_<ContainerAllocator> _params_type;
00050 ::openraveros::PlannerParameters_<ContainerAllocator> params;
00051
00052
00053 typedef boost::shared_ptr< ::openraveros::planner_initRequest_<ContainerAllocator> > Ptr;
00054 typedef boost::shared_ptr< ::openraveros::planner_initRequest_<ContainerAllocator> const> ConstPtr;
00055 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00056 };
00057 typedef ::openraveros::planner_initRequest_<std::allocator<void> > planner_initRequest;
00058
00059 typedef boost::shared_ptr< ::openraveros::planner_initRequest> planner_initRequestPtr;
00060 typedef boost::shared_ptr< ::openraveros::planner_initRequest const> planner_initRequestConstPtr;
00061
00062
00063 template <class ContainerAllocator>
00064 struct planner_initResponse_ {
00065 typedef planner_initResponse_<ContainerAllocator> Type;
00066
00067 planner_initResponse_()
00068 {
00069 }
00070
00071 planner_initResponse_(const ContainerAllocator& _alloc)
00072 {
00073 }
00074
00075
00076 typedef boost::shared_ptr< ::openraveros::planner_initResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::openraveros::planner_initResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::openraveros::planner_initResponse_<std::allocator<void> > planner_initResponse;
00081
00082 typedef boost::shared_ptr< ::openraveros::planner_initResponse> planner_initResponsePtr;
00083 typedef boost::shared_ptr< ::openraveros::planner_initResponse const> planner_initResponseConstPtr;
00084
00085 struct planner_init
00086 {
00087
00088 typedef planner_initRequest Request;
00089 typedef planner_initResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_initRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_initRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::openraveros::planner_initRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "c73b5b286a5948cf820facdfe68cffcc";
00109 }
00110
00111 static const char* value(const ::openraveros::planner_initRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xc73b5b286a5948cfULL;
00113 static const uint64_t static_value2 = 0x820facdfe68cffccULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::openraveros::planner_initRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "openraveros/planner_initRequest";
00121 }
00122
00123 static const char* value(const ::openraveros::planner_initRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::openraveros::planner_initRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "\n\
00131 \n\
00132 uint32 plannerid\n\
00133 uint32 robotid\n\
00134 PlannerParameters params\n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: openraveros/PlannerParameters\n\
00138 # planner parameters\n\
00139 float32[] initialconfig\n\
00140 float32[] finalconfig\n\
00141 \n\
00142 ";
00143 }
00144
00145 static const char* value(const ::openraveros::planner_initRequest_<ContainerAllocator> &) { return value(); }
00146 };
00147
00148 }
00149 }
00150
00151
00152 namespace ros
00153 {
00154 namespace message_traits
00155 {
00156 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_initResponse_<ContainerAllocator> > : public TrueType {};
00157 template<class ContainerAllocator> struct IsMessage< ::openraveros::planner_initResponse_<ContainerAllocator> const> : public TrueType {};
00158 template<class ContainerAllocator>
00159 struct MD5Sum< ::openraveros::planner_initResponse_<ContainerAllocator> > {
00160 static const char* value()
00161 {
00162 return "d41d8cd98f00b204e9800998ecf8427e";
00163 }
00164
00165 static const char* value(const ::openraveros::planner_initResponse_<ContainerAllocator> &) { return value(); }
00166 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00167 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct DataType< ::openraveros::planner_initResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "openraveros/planner_initResponse";
00175 }
00176
00177 static const char* value(const ::openraveros::planner_initResponse_<ContainerAllocator> &) { return value(); }
00178 };
00179
00180 template<class ContainerAllocator>
00181 struct Definition< ::openraveros::planner_initResponse_<ContainerAllocator> > {
00182 static const char* value()
00183 {
00184 return "\n\
00185 \n\
00186 ";
00187 }
00188
00189 static const char* value(const ::openraveros::planner_initResponse_<ContainerAllocator> &) { return value(); }
00190 };
00191
00192 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::planner_initResponse_<ContainerAllocator> > : public TrueType {};
00193 }
00194 }
00195
00196 namespace ros
00197 {
00198 namespace serialization
00199 {
00200
00201 template<class ContainerAllocator> struct Serializer< ::openraveros::planner_initRequest_<ContainerAllocator> >
00202 {
00203 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00204 {
00205 stream.next(m.plannerid);
00206 stream.next(m.robotid);
00207 stream.next(m.params);
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< ::openraveros::planner_initResponse_<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<openraveros::planner_init> {
00238 static const char* value()
00239 {
00240 return "c73b5b286a5948cf820facdfe68cffcc";
00241 }
00242
00243 static const char* value(const openraveros::planner_init&) { return value(); }
00244 };
00245
00246 template<>
00247 struct DataType<openraveros::planner_init> {
00248 static const char* value()
00249 {
00250 return "openraveros/planner_init";
00251 }
00252
00253 static const char* value(const openraveros::planner_init&) { return value(); }
00254 };
00255
00256 template<class ContainerAllocator>
00257 struct MD5Sum<openraveros::planner_initRequest_<ContainerAllocator> > {
00258 static const char* value()
00259 {
00260 return "c73b5b286a5948cf820facdfe68cffcc";
00261 }
00262
00263 static const char* value(const openraveros::planner_initRequest_<ContainerAllocator> &) { return value(); }
00264 };
00265
00266 template<class ContainerAllocator>
00267 struct DataType<openraveros::planner_initRequest_<ContainerAllocator> > {
00268 static const char* value()
00269 {
00270 return "openraveros/planner_init";
00271 }
00272
00273 static const char* value(const openraveros::planner_initRequest_<ContainerAllocator> &) { return value(); }
00274 };
00275
00276 template<class ContainerAllocator>
00277 struct MD5Sum<openraveros::planner_initResponse_<ContainerAllocator> > {
00278 static const char* value()
00279 {
00280 return "c73b5b286a5948cf820facdfe68cffcc";
00281 }
00282
00283 static const char* value(const openraveros::planner_initResponse_<ContainerAllocator> &) { return value(); }
00284 };
00285
00286 template<class ContainerAllocator>
00287 struct DataType<openraveros::planner_initResponse_<ContainerAllocator> > {
00288 static const char* value()
00289 {
00290 return "openraveros/planner_init";
00291 }
00292
00293 static const char* value(const openraveros::planner_initResponse_<ContainerAllocator> &) { return value(); }
00294 };
00295
00296 }
00297 }
00298
00299 #endif // OPENRAVEROS_SERVICE_PLANNER_INIT_H
00300