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


geographic_msgs
Author(s): Jack O'Quin
autogenerated on Sat Dec 28 2013 17:02:27