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