Go to the documentation of this file.00001
00002 #ifndef SRS_BODY_DETECTOR_SERVICE_GETBODYDETECTIONS_H
00003 #define SRS_BODY_DETECTOR_SERVICE_GETBODYDETECTIONS_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/Pose.h"
00022
00023 namespace srs_body_detector
00024 {
00025 template <class ContainerAllocator>
00026 struct getBodyDetectionsRequest_ {
00027 typedef getBodyDetectionsRequest_<ContainerAllocator> Type;
00028
00029 getBodyDetectionsRequest_()
00030 {
00031 }
00032
00033 getBodyDetectionsRequest_(const ContainerAllocator& _alloc)
00034 {
00035 }
00036
00037
00038 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > Ptr;
00039 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> const> ConstPtr;
00040 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00041 };
00042 typedef ::srs_body_detector::getBodyDetectionsRequest_<std::allocator<void> > getBodyDetectionsRequest;
00043
00044 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsRequest> getBodyDetectionsRequestPtr;
00045 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsRequest const> getBodyDetectionsRequestConstPtr;
00046
00047
00048
00049 template <class ContainerAllocator>
00050 struct getBodyDetectionsResponse_ {
00051 typedef getBodyDetectionsResponse_<ContainerAllocator> Type;
00052
00053 getBodyDetectionsResponse_()
00054 : bodies_list()
00055 {
00056 }
00057
00058 getBodyDetectionsResponse_(const ContainerAllocator& _alloc)
00059 : bodies_list(_alloc)
00060 {
00061 }
00062
00063 typedef std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > _bodies_list_type;
00064 std::vector< ::geometry_msgs::Pose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::Pose_<ContainerAllocator> >::other > bodies_list;
00065
00066
00067 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > Ptr;
00068 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> const> ConstPtr;
00069 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 };
00071 typedef ::srs_body_detector::getBodyDetectionsResponse_<std::allocator<void> > getBodyDetectionsResponse;
00072
00073 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsResponse> getBodyDetectionsResponsePtr;
00074 typedef boost::shared_ptr< ::srs_body_detector::getBodyDetectionsResponse const> getBodyDetectionsResponseConstPtr;
00075
00076
00077 struct getBodyDetections
00078 {
00079
00080 typedef getBodyDetectionsRequest Request;
00081 typedef getBodyDetectionsResponse Response;
00082 Request request;
00083 Response response;
00084
00085 typedef Request RequestType;
00086 typedef Response ResponseType;
00087 };
00088 }
00089
00090 namespace ros
00091 {
00092 namespace message_traits
00093 {
00094 template<class ContainerAllocator> struct IsMessage< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > : public TrueType {};
00095 template<class ContainerAllocator> struct IsMessage< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> const> : public TrueType {};
00096 template<class ContainerAllocator>
00097 struct MD5Sum< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > {
00098 static const char* value()
00099 {
00100 return "d41d8cd98f00b204e9800998ecf8427e";
00101 }
00102
00103 static const char* value(const ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> &) { return value(); }
00104 static const uint64_t static_value1 = 0xd41d8cd98f00b204ULL;
00105 static const uint64_t static_value2 = 0xe9800998ecf8427eULL;
00106 };
00107
00108 template<class ContainerAllocator>
00109 struct DataType< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > {
00110 static const char* value()
00111 {
00112 return "srs_body_detector/getBodyDetectionsRequest";
00113 }
00114
00115 static const char* value(const ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> &) { return value(); }
00116 };
00117
00118 template<class ContainerAllocator>
00119 struct Definition< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > {
00120 static const char* value()
00121 {
00122 return "\n\
00123 \n\
00124 ";
00125 }
00126
00127 static const char* value(const ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 template<class ContainerAllocator> struct IsFixedSize< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > : public TrueType {};
00131 }
00132 }
00133
00134
00135 namespace ros
00136 {
00137 namespace message_traits
00138 {
00139 template<class ContainerAllocator> struct IsMessage< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > : public TrueType {};
00140 template<class ContainerAllocator> struct IsMessage< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> const> : public TrueType {};
00141 template<class ContainerAllocator>
00142 struct MD5Sum< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > {
00143 static const char* value()
00144 {
00145 return "240e092e1ab6f63df32eca12154e1a3f";
00146 }
00147
00148 static const char* value(const ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> &) { return value(); }
00149 static const uint64_t static_value1 = 0x240e092e1ab6f63dULL;
00150 static const uint64_t static_value2 = 0xf32eca12154e1a3fULL;
00151 };
00152
00153 template<class ContainerAllocator>
00154 struct DataType< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > {
00155 static const char* value()
00156 {
00157 return "srs_body_detector/getBodyDetectionsResponse";
00158 }
00159
00160 static const char* value(const ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> &) { return value(); }
00161 };
00162
00163 template<class ContainerAllocator>
00164 struct Definition< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > {
00165 static const char* value()
00166 {
00167 return "\n\
00168 geometry_msgs/Pose[] bodies_list\n\
00169 \n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/Pose\n\
00173 # A representation of pose in free space, composed of postion and orientation. \n\
00174 Point position\n\
00175 Quaternion orientation\n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: geometry_msgs/Point\n\
00179 # This contains the position of a point in free space\n\
00180 float64 x\n\
00181 float64 y\n\
00182 float64 z\n\
00183 \n\
00184 ================================================================================\n\
00185 MSG: geometry_msgs/Quaternion\n\
00186 # This represents an orientation in free space in quaternion form.\n\
00187 \n\
00188 float64 x\n\
00189 float64 y\n\
00190 float64 z\n\
00191 float64 w\n\
00192 \n\
00193 ";
00194 }
00195
00196 static const char* value(const ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> &) { return value(); }
00197 };
00198
00199 }
00200 }
00201
00202 namespace ros
00203 {
00204 namespace serialization
00205 {
00206
00207 template<class ContainerAllocator> struct Serializer< ::srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> >
00208 {
00209 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00210 {
00211 }
00212
00213 ROS_DECLARE_ALLINONE_SERIALIZER;
00214 };
00215 }
00216 }
00217
00218
00219 namespace ros
00220 {
00221 namespace serialization
00222 {
00223
00224 template<class ContainerAllocator> struct Serializer< ::srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> >
00225 {
00226 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00227 {
00228 stream.next(m.bodies_list);
00229 }
00230
00231 ROS_DECLARE_ALLINONE_SERIALIZER;
00232 };
00233 }
00234 }
00235
00236 namespace ros
00237 {
00238 namespace service_traits
00239 {
00240 template<>
00241 struct MD5Sum<srs_body_detector::getBodyDetections> {
00242 static const char* value()
00243 {
00244 return "240e092e1ab6f63df32eca12154e1a3f";
00245 }
00246
00247 static const char* value(const srs_body_detector::getBodyDetections&) { return value(); }
00248 };
00249
00250 template<>
00251 struct DataType<srs_body_detector::getBodyDetections> {
00252 static const char* value()
00253 {
00254 return "srs_body_detector/getBodyDetections";
00255 }
00256
00257 static const char* value(const srs_body_detector::getBodyDetections&) { return value(); }
00258 };
00259
00260 template<class ContainerAllocator>
00261 struct MD5Sum<srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > {
00262 static const char* value()
00263 {
00264 return "240e092e1ab6f63df32eca12154e1a3f";
00265 }
00266
00267 static const char* value(const srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> &) { return value(); }
00268 };
00269
00270 template<class ContainerAllocator>
00271 struct DataType<srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> > {
00272 static const char* value()
00273 {
00274 return "srs_body_detector/getBodyDetections";
00275 }
00276
00277 static const char* value(const srs_body_detector::getBodyDetectionsRequest_<ContainerAllocator> &) { return value(); }
00278 };
00279
00280 template<class ContainerAllocator>
00281 struct MD5Sum<srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > {
00282 static const char* value()
00283 {
00284 return "240e092e1ab6f63df32eca12154e1a3f";
00285 }
00286
00287 static const char* value(const srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> &) { return value(); }
00288 };
00289
00290 template<class ContainerAllocator>
00291 struct DataType<srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> > {
00292 static const char* value()
00293 {
00294 return "srs_body_detector/getBodyDetections";
00295 }
00296
00297 static const char* value(const srs_body_detector::getBodyDetectionsResponse_<ContainerAllocator> &) { return value(); }
00298 };
00299
00300 }
00301 }
00302
00303 #endif // SRS_BODY_DETECTOR_SERVICE_GETBODYDETECTIONS_H
00304