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