Go to the documentation of this file.00001
00002 #ifndef GEOGRAPHIC_MSGS_SERVICE_GETROUTEPLAN_H
00003 #define GEOGRAPHIC_MSGS_SERVICE_GETROUTEPLAN_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 "uuid_msgs/UniqueID.h"
00020 #include "uuid_msgs/UniqueID.h"
00021 #include "uuid_msgs/UniqueID.h"
00022
00023
00024 #include "geographic_msgs/RoutePath.h"
00025
00026 namespace geographic_msgs
00027 {
00028 template <class ContainerAllocator>
00029 struct GetRoutePlanRequest_ {
00030 typedef GetRoutePlanRequest_<ContainerAllocator> Type;
00031
00032 GetRoutePlanRequest_()
00033 : network()
00034 , start()
00035 , goal()
00036 {
00037 }
00038
00039 GetRoutePlanRequest_(const ContainerAllocator& _alloc)
00040 : network(_alloc)
00041 , start(_alloc)
00042 , goal(_alloc)
00043 {
00044 }
00045
00046 typedef ::uuid_msgs::UniqueID_<ContainerAllocator> _network_type;
00047 ::uuid_msgs::UniqueID_<ContainerAllocator> network;
00048
00049 typedef ::uuid_msgs::UniqueID_<ContainerAllocator> _start_type;
00050 ::uuid_msgs::UniqueID_<ContainerAllocator> start;
00051
00052 typedef ::uuid_msgs::UniqueID_<ContainerAllocator> _goal_type;
00053 ::uuid_msgs::UniqueID_<ContainerAllocator> goal;
00054
00055
00056 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > Ptr;
00057 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> const> ConstPtr;
00058 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00059 };
00060 typedef ::geographic_msgs::GetRoutePlanRequest_<std::allocator<void> > GetRoutePlanRequest;
00061
00062 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanRequest> GetRoutePlanRequestPtr;
00063 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanRequest const> GetRoutePlanRequestConstPtr;
00064
00065
00066
00067 template <class ContainerAllocator>
00068 struct GetRoutePlanResponse_ {
00069 typedef GetRoutePlanResponse_<ContainerAllocator> Type;
00070
00071 GetRoutePlanResponse_()
00072 : success(false)
00073 , status()
00074 , plan()
00075 {
00076 }
00077
00078 GetRoutePlanResponse_(const ContainerAllocator& _alloc)
00079 : success(false)
00080 , status(_alloc)
00081 , plan(_alloc)
00082 {
00083 }
00084
00085 typedef uint8_t _success_type;
00086 uint8_t success;
00087
00088 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _status_type;
00089 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > status;
00090
00091 typedef ::geographic_msgs::RoutePath_<ContainerAllocator> _plan_type;
00092 ::geographic_msgs::RoutePath_<ContainerAllocator> plan;
00093
00094
00095 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > Ptr;
00096 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> const> ConstPtr;
00097 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00098 };
00099 typedef ::geographic_msgs::GetRoutePlanResponse_<std::allocator<void> > GetRoutePlanResponse;
00100
00101 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanResponse> GetRoutePlanResponsePtr;
00102 typedef boost::shared_ptr< ::geographic_msgs::GetRoutePlanResponse const> GetRoutePlanResponseConstPtr;
00103
00104
00105 struct GetRoutePlan
00106 {
00107
00108 typedef GetRoutePlanRequest Request;
00109 typedef GetRoutePlanResponse Response;
00110 Request request;
00111 Response response;
00112
00113 typedef Request RequestType;
00114 typedef Response ResponseType;
00115 };
00116 }
00117
00118 namespace ros
00119 {
00120 namespace message_traits
00121 {
00122 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > : public TrueType {};
00123 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> const> : public TrueType {};
00124 template<class ContainerAllocator>
00125 struct MD5Sum< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > {
00126 static const char* value()
00127 {
00128 return "e56ac34268c6d575dabb30f42da4a47a";
00129 }
00130
00131 static const char* value(const ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> &) { return value(); }
00132 static const uint64_t static_value1 = 0xe56ac34268c6d575ULL;
00133 static const uint64_t static_value2 = 0xdabb30f42da4a47aULL;
00134 };
00135
00136 template<class ContainerAllocator>
00137 struct DataType< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > {
00138 static const char* value()
00139 {
00140 return "geographic_msgs/GetRoutePlanRequest";
00141 }
00142
00143 static const char* value(const ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 template<class ContainerAllocator>
00147 struct Definition< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > {
00148 static const char* value()
00149 {
00150 return "\n\
00151 \n\
00152 \n\
00153 \n\
00154 uuid_msgs/UniqueID network\n\
00155 uuid_msgs/UniqueID start\n\
00156 uuid_msgs/UniqueID goal\n\
00157 \n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: uuid_msgs/UniqueID\n\
00161 # A universally unique identifier (UUID).\n\
00162 #\n\
00163 # http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00164 # http://tools.ietf.org/html/rfc4122.html\n\
00165 \n\
00166 uint8[16] uuid\n\
00167 \n\
00168 ";
00169 }
00170
00171 static const char* value(const ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> &) { return value(); }
00172 };
00173
00174 template<class ContainerAllocator> struct IsFixedSize< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > : public TrueType {};
00175 }
00176 }
00177
00178
00179 namespace ros
00180 {
00181 namespace message_traits
00182 {
00183 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > : public TrueType {};
00184 template<class ContainerAllocator> struct IsMessage< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> const> : public TrueType {};
00185 template<class ContainerAllocator>
00186 struct MD5Sum< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > {
00187 static const char* value()
00188 {
00189 return "28ee54f0ccb2ab28b46048ebc6fa5aff";
00190 }
00191
00192 static const char* value(const ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> &) { return value(); }
00193 static const uint64_t static_value1 = 0x28ee54f0ccb2ab28ULL;
00194 static const uint64_t static_value2 = 0xb46048ebc6fa5affULL;
00195 };
00196
00197 template<class ContainerAllocator>
00198 struct DataType< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > {
00199 static const char* value()
00200 {
00201 return "geographic_msgs/GetRoutePlanResponse";
00202 }
00203
00204 static const char* value(const ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> &) { return value(); }
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct Definition< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "\n\
00212 bool success\n\
00213 string status\n\
00214 \n\
00215 RoutePath plan\n\
00216 \n\
00217 \n\
00218 ================================================================================\n\
00219 MSG: geographic_msgs/RoutePath\n\
00220 # Path through a route network.\n\
00221 #\n\
00222 # A path is a sequence of RouteSegment edges. This information is\n\
00223 # extracted from a RouteNetwork graph. A RoutePath lists the route\n\
00224 # segments needed to reach some chosen goal.\n\
00225 \n\
00226 Header header\n\
00227 \n\
00228 uuid_msgs/UniqueID network # Route network containing this path\n\
00229 uuid_msgs/UniqueID[] segments # Sequence of RouteSegment IDs\n\
00230 KeyValue[] props # Key/value properties\n\
00231 \n\
00232 ================================================================================\n\
00233 MSG: std_msgs/Header\n\
00234 # Standard metadata for higher-level stamped data types.\n\
00235 # This is generally used to communicate timestamped data \n\
00236 # in a particular coordinate frame.\n\
00237 # \n\
00238 # sequence ID: consecutively increasing ID \n\
00239 uint32 seq\n\
00240 #Two-integer timestamp that is expressed as:\n\
00241 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00242 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00243 # time-handling sugar is provided by the client library\n\
00244 time stamp\n\
00245 #Frame this data is associated with\n\
00246 # 0: no frame\n\
00247 # 1: global frame\n\
00248 string frame_id\n\
00249 \n\
00250 ================================================================================\n\
00251 MSG: uuid_msgs/UniqueID\n\
00252 # A universally unique identifier (UUID).\n\
00253 #\n\
00254 # http://en.wikipedia.org/wiki/Universally_unique_identifier\n\
00255 # http://tools.ietf.org/html/rfc4122.html\n\
00256 \n\
00257 uint8[16] uuid\n\
00258 \n\
00259 ================================================================================\n\
00260 MSG: geographic_msgs/KeyValue\n\
00261 # Geographic map tag (key, value) pair\n\
00262 #\n\
00263 # This is equivalent to diagnostic_msgs/KeyValue, repeated here to\n\
00264 # avoid introducing a trivial stack dependency.\n\
00265 \n\
00266 string key # tag label\n\
00267 string value # corresponding value\n\
00268 \n\
00269 ";
00270 }
00271
00272 static const char* value(const ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 }
00276 }
00277
00278 namespace ros
00279 {
00280 namespace serialization
00281 {
00282
00283 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> >
00284 {
00285 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00286 {
00287 stream.next(m.network);
00288 stream.next(m.start);
00289 stream.next(m.goal);
00290 }
00291
00292 ROS_DECLARE_ALLINONE_SERIALIZER;
00293 };
00294 }
00295 }
00296
00297
00298 namespace ros
00299 {
00300 namespace serialization
00301 {
00302
00303 template<class ContainerAllocator> struct Serializer< ::geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> >
00304 {
00305 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00306 {
00307 stream.next(m.success);
00308 stream.next(m.status);
00309 stream.next(m.plan);
00310 }
00311
00312 ROS_DECLARE_ALLINONE_SERIALIZER;
00313 };
00314 }
00315 }
00316
00317 namespace ros
00318 {
00319 namespace service_traits
00320 {
00321 template<>
00322 struct MD5Sum<geographic_msgs::GetRoutePlan> {
00323 static const char* value()
00324 {
00325 return "04479050c4f2a58d915ceec419e70b4e";
00326 }
00327
00328 static const char* value(const geographic_msgs::GetRoutePlan&) { return value(); }
00329 };
00330
00331 template<>
00332 struct DataType<geographic_msgs::GetRoutePlan> {
00333 static const char* value()
00334 {
00335 return "geographic_msgs/GetRoutePlan";
00336 }
00337
00338 static const char* value(const geographic_msgs::GetRoutePlan&) { return value(); }
00339 };
00340
00341 template<class ContainerAllocator>
00342 struct MD5Sum<geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > {
00343 static const char* value()
00344 {
00345 return "04479050c4f2a58d915ceec419e70b4e";
00346 }
00347
00348 static const char* value(const geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> &) { return value(); }
00349 };
00350
00351 template<class ContainerAllocator>
00352 struct DataType<geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> > {
00353 static const char* value()
00354 {
00355 return "geographic_msgs/GetRoutePlan";
00356 }
00357
00358 static const char* value(const geographic_msgs::GetRoutePlanRequest_<ContainerAllocator> &) { return value(); }
00359 };
00360
00361 template<class ContainerAllocator>
00362 struct MD5Sum<geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > {
00363 static const char* value()
00364 {
00365 return "04479050c4f2a58d915ceec419e70b4e";
00366 }
00367
00368 static const char* value(const geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> &) { return value(); }
00369 };
00370
00371 template<class ContainerAllocator>
00372 struct DataType<geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> > {
00373 static const char* value()
00374 {
00375 return "geographic_msgs/GetRoutePlan";
00376 }
00377
00378 static const char* value(const geographic_msgs::GetRoutePlanResponse_<ContainerAllocator> &) { return value(); }
00379 };
00380
00381 }
00382 }
00383
00384 #endif // GEOGRAPHIC_MSGS_SERVICE_GETROUTEPLAN_H
00385