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