Go to the documentation of this file.00001
00002 #ifndef LOCATION_MEMORIZER_SERVICE_GETLOCATION_H
00003 #define LOCATION_MEMORIZER_SERVICE_GETLOCATION_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 "geometry_msgs/PoseStamped.h"
00022
00023 namespace location_memorizer
00024 {
00025 template <class ContainerAllocator>
00026 struct GetLocationRequest_ {
00027 typedef GetLocationRequest_<ContainerAllocator> Type;
00028
00029 GetLocationRequest_()
00030 : name()
00031 {
00032 }
00033
00034 GetLocationRequest_(const ContainerAllocator& _alloc)
00035 : name(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _name_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > name;
00041
00042
00043 typedef boost::shared_ptr< ::location_memorizer::GetLocationRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::location_memorizer::GetLocationRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::location_memorizer::GetLocationRequest_<std::allocator<void> > GetLocationRequest;
00048
00049 typedef boost::shared_ptr< ::location_memorizer::GetLocationRequest> GetLocationRequestPtr;
00050 typedef boost::shared_ptr< ::location_memorizer::GetLocationRequest const> GetLocationRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct GetLocationResponse_ {
00055 typedef GetLocationResponse_<ContainerAllocator> Type;
00056
00057 GetLocationResponse_()
00058 : success(false)
00059 , pose()
00060 {
00061 }
00062
00063 GetLocationResponse_(const ContainerAllocator& _alloc)
00064 : success(false)
00065 , pose(_alloc)
00066 {
00067 }
00068
00069 typedef uint8_t _success_type;
00070 uint8_t success;
00071
00072 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00073 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00074
00075
00076 typedef boost::shared_ptr< ::location_memorizer::GetLocationResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::location_memorizer::GetLocationResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::location_memorizer::GetLocationResponse_<std::allocator<void> > GetLocationResponse;
00081
00082 typedef boost::shared_ptr< ::location_memorizer::GetLocationResponse> GetLocationResponsePtr;
00083 typedef boost::shared_ptr< ::location_memorizer::GetLocationResponse const> GetLocationResponseConstPtr;
00084
00085 struct GetLocation
00086 {
00087
00088 typedef GetLocationRequest Request;
00089 typedef GetLocationResponse 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< ::location_memorizer::GetLocationRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::location_memorizer::GetLocationRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::location_memorizer::GetLocationRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "c1f3d28f1b044c871e6eff2e9fc3c667";
00109 }
00110
00111 static const char* value(const ::location_memorizer::GetLocationRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0xc1f3d28f1b044c87ULL;
00113 static const uint64_t static_value2 = 0x1e6eff2e9fc3c667ULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::location_memorizer::GetLocationRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "location_memorizer/GetLocationRequest";
00121 }
00122
00123 static const char* value(const ::location_memorizer::GetLocationRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::location_memorizer::GetLocationRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "string name\n\
00131 \n\
00132 ";
00133 }
00134
00135 static const char* value(const ::location_memorizer::GetLocationRequest_<ContainerAllocator> &) { return value(); }
00136 };
00137
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::location_memorizer::GetLocationResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::location_memorizer::GetLocationResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::location_memorizer::GetLocationResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "236213ed6979c1ab1c49bd1bc04ace9e";
00153 }
00154
00155 static const char* value(const ::location_memorizer::GetLocationResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0x236213ed6979c1abULL;
00157 static const uint64_t static_value2 = 0x1c49bd1bc04ace9eULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::location_memorizer::GetLocationResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "location_memorizer/GetLocationResponse";
00165 }
00166
00167 static const char* value(const ::location_memorizer::GetLocationResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::location_memorizer::GetLocationResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "bool success\n\
00175 geometry_msgs/PoseStamped pose\n\
00176 \n\
00177 \n\
00178 ================================================================================\n\
00179 MSG: geometry_msgs/PoseStamped\n\
00180 # A Pose with reference coordinate frame and timestamp\n\
00181 Header header\n\
00182 Pose pose\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: std_msgs/Header\n\
00186 # Standard metadata for higher-level stamped data types.\n\
00187 # This is generally used to communicate timestamped data \n\
00188 # in a particular coordinate frame.\n\
00189 # \n\
00190 # sequence ID: consecutively increasing ID \n\
00191 uint32 seq\n\
00192 #Two-integer timestamp that is expressed as:\n\
00193 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00194 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00195 # time-handling sugar is provided by the client library\n\
00196 time stamp\n\
00197 #Frame this data is associated with\n\
00198 # 0: no frame\n\
00199 # 1: global frame\n\
00200 string frame_id\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 ::location_memorizer::GetLocationResponse_<ContainerAllocator> &) { return value(); }
00228 };
00229
00230 }
00231 }
00232
00233 namespace ros
00234 {
00235 namespace serialization
00236 {
00237
00238 template<class ContainerAllocator> struct Serializer< ::location_memorizer::GetLocationRequest_<ContainerAllocator> >
00239 {
00240 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00241 {
00242 stream.next(m.name);
00243 }
00244
00245 ROS_DECLARE_ALLINONE_SERIALIZER;
00246 };
00247 }
00248 }
00249
00250
00251 namespace ros
00252 {
00253 namespace serialization
00254 {
00255
00256 template<class ContainerAllocator> struct Serializer< ::location_memorizer::GetLocationResponse_<ContainerAllocator> >
00257 {
00258 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00259 {
00260 stream.next(m.success);
00261 stream.next(m.pose);
00262 }
00263
00264 ROS_DECLARE_ALLINONE_SERIALIZER;
00265 };
00266 }
00267 }
00268
00269 namespace ros
00270 {
00271 namespace service_traits
00272 {
00273 template<>
00274 struct MD5Sum<location_memorizer::GetLocation> {
00275 static const char* value()
00276 {
00277 return "063bc9ef3579ffcc1f68f8803767c82b";
00278 }
00279
00280 static const char* value(const location_memorizer::GetLocation&) { return value(); }
00281 };
00282
00283 template<>
00284 struct DataType<location_memorizer::GetLocation> {
00285 static const char* value()
00286 {
00287 return "location_memorizer/GetLocation";
00288 }
00289
00290 static const char* value(const location_memorizer::GetLocation&) { return value(); }
00291 };
00292
00293 template<class ContainerAllocator>
00294 struct MD5Sum<location_memorizer::GetLocationRequest_<ContainerAllocator> > {
00295 static const char* value()
00296 {
00297 return "063bc9ef3579ffcc1f68f8803767c82b";
00298 }
00299
00300 static const char* value(const location_memorizer::GetLocationRequest_<ContainerAllocator> &) { return value(); }
00301 };
00302
00303 template<class ContainerAllocator>
00304 struct DataType<location_memorizer::GetLocationRequest_<ContainerAllocator> > {
00305 static const char* value()
00306 {
00307 return "location_memorizer/GetLocation";
00308 }
00309
00310 static const char* value(const location_memorizer::GetLocationRequest_<ContainerAllocator> &) { return value(); }
00311 };
00312
00313 template<class ContainerAllocator>
00314 struct MD5Sum<location_memorizer::GetLocationResponse_<ContainerAllocator> > {
00315 static const char* value()
00316 {
00317 return "063bc9ef3579ffcc1f68f8803767c82b";
00318 }
00319
00320 static const char* value(const location_memorizer::GetLocationResponse_<ContainerAllocator> &) { return value(); }
00321 };
00322
00323 template<class ContainerAllocator>
00324 struct DataType<location_memorizer::GetLocationResponse_<ContainerAllocator> > {
00325 static const char* value()
00326 {
00327 return "location_memorizer/GetLocation";
00328 }
00329
00330 static const char* value(const location_memorizer::GetLocationResponse_<ContainerAllocator> &) { return value(); }
00331 };
00332
00333 }
00334 }
00335
00336 #endif // LOCATION_MEMORIZER_SERVICE_GETLOCATION_H
00337