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