00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/openrave_planning/openraveros/srv/body_getaabb.srv */ 00002 #ifndef OPENRAVEROS_SERVICE_BODY_GETAABB_H 00003 #define OPENRAVEROS_SERVICE_BODY_GETAABB_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_getaabbRequest_ { 00027 typedef body_getaabbRequest_<ContainerAllocator> Type; 00028 00029 body_getaabbRequest_() 00030 : bodyid(0) 00031 { 00032 } 00033 00034 body_getaabbRequest_(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_getaabbRequest_<ContainerAllocator> > Ptr; 00044 typedef boost::shared_ptr< ::openraveros::body_getaabbRequest_<ContainerAllocator> const> ConstPtr; 00045 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00046 }; // struct body_getaabbRequest 00047 typedef ::openraveros::body_getaabbRequest_<std::allocator<void> > body_getaabbRequest; 00048 00049 typedef boost::shared_ptr< ::openraveros::body_getaabbRequest> body_getaabbRequestPtr; 00050 typedef boost::shared_ptr< ::openraveros::body_getaabbRequest const> body_getaabbRequestConstPtr; 00051 00052 00053 template <class ContainerAllocator> 00054 struct body_getaabbResponse_ { 00055 typedef body_getaabbResponse_<ContainerAllocator> Type; 00056 00057 body_getaabbResponse_() 00058 : box() 00059 { 00060 } 00061 00062 body_getaabbResponse_(const ContainerAllocator& _alloc) 00063 : box(_alloc) 00064 { 00065 } 00066 00067 typedef ::openraveros::AABB_<ContainerAllocator> _box_type; 00068 ::openraveros::AABB_<ContainerAllocator> box; 00069 00070 00071 typedef boost::shared_ptr< ::openraveros::body_getaabbResponse_<ContainerAllocator> > Ptr; 00072 typedef boost::shared_ptr< ::openraveros::body_getaabbResponse_<ContainerAllocator> const> ConstPtr; 00073 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00074 }; // struct body_getaabbResponse 00075 typedef ::openraveros::body_getaabbResponse_<std::allocator<void> > body_getaabbResponse; 00076 00077 typedef boost::shared_ptr< ::openraveros::body_getaabbResponse> body_getaabbResponsePtr; 00078 typedef boost::shared_ptr< ::openraveros::body_getaabbResponse const> body_getaabbResponseConstPtr; 00079 00080 struct body_getaabb 00081 { 00082 00083 typedef body_getaabbRequest Request; 00084 typedef body_getaabbResponse Response; 00085 Request request; 00086 Response response; 00087 00088 typedef Request RequestType; 00089 typedef Response ResponseType; 00090 }; // struct body_getaabb 00091 } // namespace openraveros 00092 00093 namespace ros 00094 { 00095 namespace message_traits 00096 { 00097 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbRequest_<ContainerAllocator> > : public TrueType {}; 00098 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbRequest_<ContainerAllocator> const> : public TrueType {}; 00099 template<class ContainerAllocator> 00100 struct MD5Sum< ::openraveros::body_getaabbRequest_<ContainerAllocator> > { 00101 static const char* value() 00102 { 00103 return "10fe673987681b8f34c92bca56d3c517"; 00104 } 00105 00106 static const char* value(const ::openraveros::body_getaabbRequest_<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_getaabbRequest_<ContainerAllocator> > { 00113 static const char* value() 00114 { 00115 return "openraveros/body_getaabbRequest"; 00116 } 00117 00118 static const char* value(const ::openraveros::body_getaabbRequest_<ContainerAllocator> &) { return value(); } 00119 }; 00120 00121 template<class ContainerAllocator> 00122 struct Definition< ::openraveros::body_getaabbRequest_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "\n\ 00126 \n\ 00127 \n\ 00128 int32 bodyid\n\ 00129 \n\ 00130 "; 00131 } 00132 00133 static const char* value(const ::openraveros::body_getaabbRequest_<ContainerAllocator> &) { return value(); } 00134 }; 00135 00136 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::body_getaabbRequest_<ContainerAllocator> > : public TrueType {}; 00137 } // namespace message_traits 00138 } // namespace ros 00139 00140 00141 namespace ros 00142 { 00143 namespace message_traits 00144 { 00145 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbResponse_<ContainerAllocator> > : public TrueType {}; 00146 template<class ContainerAllocator> struct IsMessage< ::openraveros::body_getaabbResponse_<ContainerAllocator> const> : public TrueType {}; 00147 template<class ContainerAllocator> 00148 struct MD5Sum< ::openraveros::body_getaabbResponse_<ContainerAllocator> > { 00149 static const char* value() 00150 { 00151 return "422f919969f4130535a3445c8575ee9e"; 00152 } 00153 00154 static const char* value(const ::openraveros::body_getaabbResponse_<ContainerAllocator> &) { return value(); } 00155 static const uint64_t static_value1 = 0x422f919969f41305ULL; 00156 static const uint64_t static_value2 = 0x35a3445c8575ee9eULL; 00157 }; 00158 00159 template<class ContainerAllocator> 00160 struct DataType< ::openraveros::body_getaabbResponse_<ContainerAllocator> > { 00161 static const char* value() 00162 { 00163 return "openraveros/body_getaabbResponse"; 00164 } 00165 00166 static const char* value(const ::openraveros::body_getaabbResponse_<ContainerAllocator> &) { return value(); } 00167 }; 00168 00169 template<class ContainerAllocator> 00170 struct Definition< ::openraveros::body_getaabbResponse_<ContainerAllocator> > { 00171 static const char* value() 00172 { 00173 return "AABB box\n\ 00174 \n\ 00175 \n\ 00176 ================================================================================\n\ 00177 MSG: openraveros/AABB\n\ 00178 # axis-aligned bounding box\n\ 00179 float32[3] center\n\ 00180 \n\ 00181 # half widths\n\ 00182 float32[3] extents\n\ 00183 \n\ 00184 "; 00185 } 00186 00187 static const char* value(const ::openraveros::body_getaabbResponse_<ContainerAllocator> &) { return value(); } 00188 }; 00189 00190 template<class ContainerAllocator> struct IsFixedSize< ::openraveros::body_getaabbResponse_<ContainerAllocator> > : public TrueType {}; 00191 } // namespace message_traits 00192 } // namespace ros 00193 00194 namespace ros 00195 { 00196 namespace serialization 00197 { 00198 00199 template<class ContainerAllocator> struct Serializer< ::openraveros::body_getaabbRequest_<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 }; // struct body_getaabbRequest_ 00208 } // namespace serialization 00209 } // namespace ros 00210 00211 00212 namespace ros 00213 { 00214 namespace serialization 00215 { 00216 00217 template<class ContainerAllocator> struct Serializer< ::openraveros::body_getaabbResponse_<ContainerAllocator> > 00218 { 00219 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00220 { 00221 stream.next(m.box); 00222 } 00223 00224 ROS_DECLARE_ALLINONE_SERIALIZER; 00225 }; // struct body_getaabbResponse_ 00226 } // namespace serialization 00227 } // namespace ros 00228 00229 namespace ros 00230 { 00231 namespace service_traits 00232 { 00233 template<> 00234 struct MD5Sum<openraveros::body_getaabb> { 00235 static const char* value() 00236 { 00237 return "2ae8c767300201f12040e0d3eb82cd2a"; 00238 } 00239 00240 static const char* value(const openraveros::body_getaabb&) { return value(); } 00241 }; 00242 00243 template<> 00244 struct DataType<openraveros::body_getaabb> { 00245 static const char* value() 00246 { 00247 return "openraveros/body_getaabb"; 00248 } 00249 00250 static const char* value(const openraveros::body_getaabb&) { return value(); } 00251 }; 00252 00253 template<class ContainerAllocator> 00254 struct MD5Sum<openraveros::body_getaabbRequest_<ContainerAllocator> > { 00255 static const char* value() 00256 { 00257 return "2ae8c767300201f12040e0d3eb82cd2a"; 00258 } 00259 00260 static const char* value(const openraveros::body_getaabbRequest_<ContainerAllocator> &) { return value(); } 00261 }; 00262 00263 template<class ContainerAllocator> 00264 struct DataType<openraveros::body_getaabbRequest_<ContainerAllocator> > { 00265 static const char* value() 00266 { 00267 return "openraveros/body_getaabb"; 00268 } 00269 00270 static const char* value(const openraveros::body_getaabbRequest_<ContainerAllocator> &) { return value(); } 00271 }; 00272 00273 template<class ContainerAllocator> 00274 struct MD5Sum<openraveros::body_getaabbResponse_<ContainerAllocator> > { 00275 static const char* value() 00276 { 00277 return "2ae8c767300201f12040e0d3eb82cd2a"; 00278 } 00279 00280 static const char* value(const openraveros::body_getaabbResponse_<ContainerAllocator> &) { return value(); } 00281 }; 00282 00283 template<class ContainerAllocator> 00284 struct DataType<openraveros::body_getaabbResponse_<ContainerAllocator> > { 00285 static const char* value() 00286 { 00287 return "openraveros/body_getaabb"; 00288 } 00289 00290 static const char* value(const openraveros::body_getaabbResponse_<ContainerAllocator> &) { return value(); } 00291 }; 00292 00293 } // namespace service_traits 00294 } // namespace ros 00295 00296 #endif // OPENRAVEROS_SERVICE_BODY_GETAABB_H 00297