Go to the documentation of this file.00001
00002 #ifndef OPENRAVEROS_SERVICE_BODY_GETAABBS_H
00003 #define OPENRAVEROS_SERVICE_BODY_GETAABBS_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 "openraveros/AABB.h"
00022
00023 namespace openraveros
00024 {
00025 template <class ContainerAllocator>
00026 struct body_getaabbsRequest_ {
00027 typedef body_getaabbsRequest_<ContainerAllocator> Type;
00028
00029 body_getaabbsRequest_()
00030 : bodyid(0)
00031 {
00032 }
00033
00034 body_getaabbsRequest_(const ContainerAllocator& _alloc)
00035 : bodyid(0)
00036 {
00037 }
00038
00039 typedef int32_t _bodyid_type;
00040 int32_t bodyid;
00041
00042
00043 typedef boost::shared_ptr< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > Ptr;
00044 typedef boost::shared_ptr< ::openraveros::body_getaabbsRequest_<ContainerAllocator> const> ConstPtr;
00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00046 };
00047 typedef ::openraveros::body_getaabbsRequest_<std::allocator<void> > body_getaabbsRequest;
00048
00049 typedef boost::shared_ptr< ::openraveros::body_getaabbsRequest> body_getaabbsRequestPtr;
00050 typedef boost::shared_ptr< ::openraveros::body_getaabbsRequest const> body_getaabbsRequestConstPtr;
00051
00052
00053 template <class ContainerAllocator>
00054 struct body_getaabbsResponse_ {
00055 typedef body_getaabbsResponse_<ContainerAllocator> Type;
00056
00057 body_getaabbsResponse_()
00058 : boxes()
00059 {
00060 }
00061
00062 body_getaabbsResponse_(const ContainerAllocator& _alloc)
00063 : boxes(_alloc)
00064 {
00065 }
00066
00067 typedef std::vector< ::openraveros::AABB_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::openraveros::AABB_<ContainerAllocator> >::other > _boxes_type;
00068 std::vector< ::openraveros::AABB_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::openraveros::AABB_<ContainerAllocator> >::other > boxes;
00069
00070
00071 typedef boost::shared_ptr< ::openraveros::body_getaabbsResponse_<ContainerAllocator> > Ptr;
00072 typedef boost::shared_ptr< ::openraveros::body_getaabbsResponse_<ContainerAllocator> const> ConstPtr;
00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00074 };
00075 typedef ::openraveros::body_getaabbsResponse_<std::allocator<void> > body_getaabbsResponse;
00076
00077 typedef boost::shared_ptr< ::openraveros::body_getaabbsResponse> body_getaabbsResponsePtr;
00078 typedef boost::shared_ptr< ::openraveros::body_getaabbsResponse const> body_getaabbsResponseConstPtr;
00079
00080 struct body_getaabbs
00081 {
00082
00083 typedef body_getaabbsRequest Request;
00084 typedef body_getaabbsResponse 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< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > : public TrueType {};
00098 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbsRequest_<ContainerAllocator> const> : public TrueType {};
00099 template<class ContainerAllocator>
00100 struct MD5Sum< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > {
00101 static const char* value()
00102 {
00103 return "10fe673987681b8f34c92bca56d3c517";
00104 }
00105
00106 static const char* value(const ::openraveros::body_getaabbsRequest_<ContainerAllocator> &) { return value(); }
00107 static const uint64_t static_value1 = 0x10fe673987681b8fULL;
00108 static const uint64_t static_value2 = 0x34c92bca56d3c517ULL;
00109 };
00110
00111 template<class ContainerAllocator>
00112 struct DataType< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > {
00113 static const char* value()
00114 {
00115 return "openraveros/body_getaabbsRequest";
00116 }
00117
00118 static const char* value(const ::openraveros::body_getaabbsRequest_<ContainerAllocator> &) { return value(); }
00119 };
00120
00121 template<class ContainerAllocator>
00122 struct Definition< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > {
00123 static const char* value()
00124 {
00125 return "\n\
00126 \n\
00127 \n\
00128 \n\
00129 int32 bodyid\n\
00130 \n\
00131 ";
00132 }
00133
00134 static const char* value(const ::openraveros::body_getaabbsRequest_<ContainerAllocator> &) { return value(); }
00135 };
00136
00137 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::body_getaabbsRequest_<ContainerAllocator> > : public TrueType {};
00138 }
00139 }
00140
00141
00142 namespace ros
00143 {
00144 namespace message_traits
00145 {
00146 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbsResponse_<ContainerAllocator> > : public TrueType {};
00147 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbsResponse_<ContainerAllocator> const> : public TrueType {};
00148 template<class ContainerAllocator>
00149 struct MD5Sum< ::openraveros::body_getaabbsResponse_<ContainerAllocator> > {
00150 static const char* value()
00151 {
00152 return "eeebbc021eb35c7ba0d57775ac105297";
00153 }
00154
00155 static const char* value(const ::openraveros::body_getaabbsResponse_<ContainerAllocator> &) { return value(); }
00156 static const uint64_t static_value1 = 0xeeebbc021eb35c7bULL;
00157 static const uint64_t static_value2 = 0xa0d57775ac105297ULL;
00158 };
00159
00160 template<class ContainerAllocator>
00161 struct DataType< ::openraveros::body_getaabbsResponse_<ContainerAllocator> > {
00162 static const char* value()
00163 {
00164 return "openraveros/body_getaabbsResponse";
00165 }
00166
00167 static const char* value(const ::openraveros::body_getaabbsResponse_<ContainerAllocator> &) { return value(); }
00168 };
00169
00170 template<class ContainerAllocator>
00171 struct Definition< ::openraveros::body_getaabbsResponse_<ContainerAllocator> > {
00172 static const char* value()
00173 {
00174 return "AABB[] boxes\n\
00175 \n\
00176 \n\
00177 ================================================================================\n\
00178 MSG: openraveros/AABB\n\
00179 # axis-aligned bounding box\n\
00180 float32[3] center\n\
00181 \n\
00182 # half widths\n\
00183 float32[3] extents\n\
00184 \n\
00185 ";
00186 }
00187
00188 static const char* value(const ::openraveros::body_getaabbsResponse_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198
00199 template<class ContainerAllocator> struct Serializer< ::openraveros::body_getaabbsRequest_<ContainerAllocator> >
00200 {
00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202 {
00203 stream.next(m.bodyid);
00204 }
00205
00206 ROS_DECLARE_ALLINONE_SERIALIZER;
00207 };
00208 }
00209 }
00210
00211
00212 namespace ros
00213 {
00214 namespace serialization
00215 {
00216
00217 template<class ContainerAllocator> struct Serializer< ::openraveros::body_getaabbsResponse_<ContainerAllocator> >
00218 {
00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00220 {
00221 stream.next(m.boxes);
00222 }
00223
00224 ROS_DECLARE_ALLINONE_SERIALIZER;
00225 };
00226 }
00227 }
00228
00229 namespace ros
00230 {
00231 namespace service_traits
00232 {
00233 template<>
00234 struct MD5Sum<openraveros::body_getaabbs> {
00235 static const char* value()
00236 {
00237 return "459b4a95e5d0c677cba1e141f94401ea";
00238 }
00239
00240 static const char* value(const openraveros::body_getaabbs&) { return value(); }
00241 };
00242
00243 template<>
00244 struct DataType<openraveros::body_getaabbs> {
00245 static const char* value()
00246 {
00247 return "openraveros/body_getaabbs";
00248 }
00249
00250 static const char* value(const openraveros::body_getaabbs&) { return value(); }
00251 };
00252
00253 template<class ContainerAllocator>
00254 struct MD5Sum<openraveros::body_getaabbsRequest_<ContainerAllocator> > {
00255 static const char* value()
00256 {
00257 return "459b4a95e5d0c677cba1e141f94401ea";
00258 }
00259
00260 static const char* value(const openraveros::body_getaabbsRequest_<ContainerAllocator> &) { return value(); }
00261 };
00262
00263 template<class ContainerAllocator>
00264 struct DataType<openraveros::body_getaabbsRequest_<ContainerAllocator> > {
00265 static const char* value()
00266 {
00267 return "openraveros/body_getaabbs";
00268 }
00269
00270 static const char* value(const openraveros::body_getaabbsRequest_<ContainerAllocator> &) { return value(); }
00271 };
00272
00273 template<class ContainerAllocator>
00274 struct MD5Sum<openraveros::body_getaabbsResponse_<ContainerAllocator> > {
00275 static const char* value()
00276 {
00277 return "459b4a95e5d0c677cba1e141f94401ea";
00278 }
00279
00280 static const char* value(const openraveros::body_getaabbsResponse_<ContainerAllocator> &) { return value(); }
00281 };
00282
00283 template<class ContainerAllocator>
00284 struct DataType<openraveros::body_getaabbsResponse_<ContainerAllocator> > {
00285 static const char* value()
00286 {
00287 return "openraveros/body_getaabbs";
00288 }
00289
00290 static const char* value(const openraveros::body_getaabbsResponse_<ContainerAllocator> &) { return value(); }
00291 };
00292
00293 }
00294 }
00295
00296 #endif // OPENRAVEROS_SERVICE_BODY_GETAABBS_H
00297