Go to the documentation of this file.00001
00002 #ifndef RFID_BEHAVIORS_SERVICE_NEXTBESTVANTAGE_H
00003 #define RFID_BEHAVIORS_SERVICE_NEXTBESTVANTAGE_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 rfid_behaviors
00024 {
00025 template <class ContainerAllocator>
00026 struct NextBestVantageRequest_ {
00027 typedef NextBestVantageRequest_<ContainerAllocator> Type;
00028
00029 NextBestVantageRequest_()
00030 : tagid()
00031 {
00032 }
00033
00034 NextBestVantageRequest_(const ContainerAllocator& _alloc)
00035 : tagid(_alloc)
00036 {
00037 }
00038
00039 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _tagid_type;
00040 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > tagid;
00041
00042
00043 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::rfid_behaviors::NextBestVantageRequest_<std::allocator<void> > NextBestVantageRequest;
00048
00049 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageRequest> NextBestVantageRequestPtr;
00050 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageRequest const> NextBestVantageRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct NextBestVantageResponse_ {
00055 typedef NextBestVantageResponse_<ContainerAllocator> Type;
00056
00057 NextBestVantageResponse_()
00058 : best_vantage()
00059 {
00060 }
00061
00062 NextBestVantageResponse_(const ContainerAllocator& _alloc)
00063 : best_vantage(_alloc)
00064 {
00065 }
00066
00067 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _best_vantage_type;
00068 ::geometry_msgs::PoseStamped_<ContainerAllocator> best_vantage;
00069
00070
00071 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::rfid_behaviors::NextBestVantageResponse_<std::allocator<void> > NextBestVantageResponse;
00076
00077 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageResponse> NextBestVantageResponsePtr;
00078 typedef boost::shared_ptr< ::rfid_behaviors::NextBestVantageResponse const> NextBestVantageResponseConstPtr;
00079
00080 struct NextBestVantage
00081 {
00082
00083 typedef NextBestVantageRequest Request;
00084 typedef NextBestVantageResponse 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< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "e219e553f9c3911b13f8a1a8a255c076";
00104 }
00105
00106 static const char* value(const ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0xe219e553f9c3911bULL;
00108 static const uint64_t static_value2 = 0x13f8a1a8a255c076ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "rfid_behaviors/NextBestVantageRequest";
00116 }
00117
00118 static const char* value(const ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "string tagid\n\
00126 \n\
00127 ";
00128 }
00129
00130 static const char* value(const ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> &) { return value(); }
00131 };
00132
00133 }
00134 }
00135
00136
00137 namespace ros
00138 {
00139 namespace message_traits
00140 {
00141 template<class ContainerAllocator> struct IsMessage< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > : public TrueType {};
00142 template<class ContainerAllocator> struct IsMessage< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> const> : public TrueType {};
00143 template<class ContainerAllocator>
00144 struct MD5Sum< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > {
00145 static const char* value()
00146 {
00147 return "cd3f1be3d6e0717a413998421e2b68da";
00148 }
00149
00150 static const char* value(const ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> &) { return value(); }
00151 static const uint64_t static_value1 = 0xcd3f1be3d6e0717aULL;
00152 static const uint64_t static_value2 = 0x413998421e2b68daULL;
00153 };
00154
00155 template<class ContainerAllocator>
00156 struct DataType< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "rfid_behaviors/NextBestVantageResponse";
00160 }
00161
00162 static const char* value(const ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> &) { return value(); }
00163 };
00164
00165 template<class ContainerAllocator>
00166 struct Definition< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > {
00167 static const char* value()
00168 {
00169 return "geometry_msgs/PoseStamped best_vantage\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/PoseStamped\n\
00173 # A Pose with reference coordinate frame and timestamp\n\
00174 Header header\n\
00175 Pose pose\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: std_msgs/Header\n\
00179 # Standard metadata for higher-level stamped data types.\n\
00180 # This is generally used to communicate timestamped data \n\
00181 # in a particular coordinate frame.\n\
00182 # \n\
00183 # sequence ID: consecutively increasing ID \n\
00184 uint32 seq\n\
00185 #Two-integer timestamp that is expressed as:\n\
00186 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00187 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00188 # time-handling sugar is provided by the client library\n\
00189 time stamp\n\
00190 #Frame this data is associated with\n\
00191 # 0: no frame\n\
00192 # 1: global frame\n\
00193 string frame_id\n\
00194 \n\
00195 ================================================================================\n\
00196 MSG: geometry_msgs/Pose\n\
00197 # A representation of pose in free space, composed of postion and orientation. \n\
00198 Point position\n\
00199 Quaternion orientation\n\
00200 \n\
00201 ================================================================================\n\
00202 MSG: geometry_msgs/Point\n\
00203 # This contains the position of a point in free space\n\
00204 float64 x\n\
00205 float64 y\n\
00206 float64 z\n\
00207 \n\
00208 ================================================================================\n\
00209 MSG: geometry_msgs/Quaternion\n\
00210 # This represents an orientation in free space in quaternion form.\n\
00211 \n\
00212 float64 x\n\
00213 float64 y\n\
00214 float64 z\n\
00215 float64 w\n\
00216 \n\
00217 ";
00218 }
00219
00220 static const char* value(const ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> &) { return value(); }
00221 };
00222
00223 }
00224 }
00225
00226 namespace ros
00227 {
00228 namespace serialization
00229 {
00230
00231 template<class ContainerAllocator> struct Serializer< ::rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> >
00232 {
00233 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00234 {
00235 stream.next(m.tagid);
00236 }
00237
00238 ROS_DECLARE_ALLINONE_SERIALIZER;
00239 };
00240 }
00241 }
00242
00243
00244 namespace ros
00245 {
00246 namespace serialization
00247 {
00248
00249 template<class ContainerAllocator> struct Serializer< ::rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> >
00250 {
00251 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00252 {
00253 stream.next(m.best_vantage);
00254 }
00255
00256 ROS_DECLARE_ALLINONE_SERIALIZER;
00257 };
00258 }
00259 }
00260
00261 namespace ros
00262 {
00263 namespace service_traits
00264 {
00265 template<>
00266 struct MD5Sum<rfid_behaviors::NextBestVantage> {
00267 static const char* value()
00268 {
00269 return "d089b28665bbd390d40adde0ca10b5c2";
00270 }
00271
00272 static const char* value(const rfid_behaviors::NextBestVantage&) { return value(); }
00273 };
00274
00275 template<>
00276 struct DataType<rfid_behaviors::NextBestVantage> {
00277 static const char* value()
00278 {
00279 return "rfid_behaviors/NextBestVantage";
00280 }
00281
00282 static const char* value(const rfid_behaviors::NextBestVantage&) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct MD5Sum<rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "d089b28665bbd390d40adde0ca10b5c2";
00290 }
00291
00292 static const char* value(const rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 template<class ContainerAllocator>
00296 struct DataType<rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> > {
00297 static const char* value()
00298 {
00299 return "rfid_behaviors/NextBestVantage";
00300 }
00301
00302 static const char* value(const rfid_behaviors::NextBestVantageRequest_<ContainerAllocator> &) { return value(); }
00303 };
00304
00305 template<class ContainerAllocator>
00306 struct MD5Sum<rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > {
00307 static const char* value()
00308 {
00309 return "d089b28665bbd390d40adde0ca10b5c2";
00310 }
00311
00312 static const char* value(const rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> &) { return value(); }
00313 };
00314
00315 template<class ContainerAllocator>
00316 struct DataType<rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> > {
00317 static const char* value()
00318 {
00319 return "rfid_behaviors/NextBestVantage";
00320 }
00321
00322 static const char* value(const rfid_behaviors::NextBestVantageResponse_<ContainerAllocator> &) { return value(); }
00323 };
00324
00325 }
00326 }
00327
00328 #endif // RFID_BEHAVIORS_SERVICE_NEXTBESTVANTAGE_H
00329