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