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


srs_symbolic_grounding
Author(s): Beisheng Liu
autogenerated on Sun Jan 5 2014 12:01:26