ModelHypothesis.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-pr2_object_manipulation/doc_stacks/2014-10-06_11-30-38.833395/pr2_object_manipulation/perception/interactive_perception_msgs/msg/ModelHypothesis.msg */
00002 #ifndef INTERACTIVE_PERCEPTION_MSGS_MESSAGE_MODELHYPOTHESIS_H
00003 #define INTERACTIVE_PERCEPTION_MSGS_MESSAGE_MODELHYPOTHESIS_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 "shape_msgs/Mesh.h"
00018 #include "geometry_msgs/PoseStamped.h"
00019 
00020 namespace interactive_perception_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ModelHypothesis_ {
00024   typedef ModelHypothesis_<ContainerAllocator> Type;
00025 
00026   ModelHypothesis_()
00027   : mesh()
00028   , pose()
00029   {
00030   }
00031 
00032   ModelHypothesis_(const ContainerAllocator& _alloc)
00033   : mesh(_alloc)
00034   , pose(_alloc)
00035   {
00036   }
00037 
00038   typedef  ::shape_msgs::Mesh_<ContainerAllocator>  _mesh_type;
00039    ::shape_msgs::Mesh_<ContainerAllocator>  mesh;
00040 
00041   typedef  ::geometry_msgs::PoseStamped_<ContainerAllocator>  _pose_type;
00042    ::geometry_msgs::PoseStamped_<ContainerAllocator>  pose;
00043 
00044 
00045   typedef boost::shared_ptr< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> > Ptr;
00046   typedef boost::shared_ptr< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator>  const> ConstPtr;
00047   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 }; // struct ModelHypothesis
00049 typedef  ::interactive_perception_msgs::ModelHypothesis_<std::allocator<void> > ModelHypothesis;
00050 
00051 typedef boost::shared_ptr< ::interactive_perception_msgs::ModelHypothesis> ModelHypothesisPtr;
00052 typedef boost::shared_ptr< ::interactive_perception_msgs::ModelHypothesis const> ModelHypothesisConstPtr;
00053 
00054 
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const  ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> & v)
00057 {
00058   ros::message_operations::Printer< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> >::stream(s, "", v);
00059   return s;}
00060 
00061 } // namespace interactive_perception_msgs
00062 
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator>  const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> > {
00071   static const char* value() 
00072   {
00073     return "d34cd21ce211d3f9c4a9c1cb206ad8e5";
00074   }
00075 
00076   static const char* value(const  ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> &) { return value(); } 
00077   static const uint64_t static_value1 = 0xd34cd21ce211d3f9ULL;
00078   static const uint64_t static_value2 = 0xc4a9c1cb206ad8e5ULL;
00079 };
00080 
00081 template<class ContainerAllocator>
00082 struct DataType< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> > {
00083   static const char* value() 
00084   {
00085     return "interactive_perception_msgs/ModelHypothesis";
00086   }
00087 
00088   static const char* value(const  ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> &) { return value(); } 
00089 };
00090 
00091 template<class ContainerAllocator>
00092 struct Definition< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "#describes a hypothesis about a recognized object (mesh+pose)\n\
00096 \n\
00097 shape_msgs/Mesh mesh\n\
00098 geometry_msgs/PoseStamped pose\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: shape_msgs/Mesh\n\
00102 # Definition of a mesh\n\
00103 \n\
00104 # list of triangles; the index values refer to positions in vertices[]\n\
00105 MeshTriangle[] triangles\n\
00106 \n\
00107 # the actual vertices that make up the mesh\n\
00108 geometry_msgs/Point[] vertices\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: shape_msgs/MeshTriangle\n\
00112 # Definition of a triangle's vertices\n\
00113 uint32[3] vertex_indices\n\
00114 \n\
00115 ================================================================================\n\
00116 MSG: geometry_msgs/Point\n\
00117 # This contains the position of a point in free space\n\
00118 float64 x\n\
00119 float64 y\n\
00120 float64 z\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/PoseStamped\n\
00124 # A Pose with reference coordinate frame and timestamp\n\
00125 Header header\n\
00126 Pose pose\n\
00127 \n\
00128 ================================================================================\n\
00129 MSG: std_msgs/Header\n\
00130 # Standard metadata for higher-level stamped data types.\n\
00131 # This is generally used to communicate timestamped data \n\
00132 # in a particular coordinate frame.\n\
00133 # \n\
00134 # sequence ID: consecutively increasing ID \n\
00135 uint32 seq\n\
00136 #Two-integer timestamp that is expressed as:\n\
00137 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00138 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00139 # time-handling sugar is provided by the client library\n\
00140 time stamp\n\
00141 #Frame this data is associated with\n\
00142 # 0: no frame\n\
00143 # 1: global frame\n\
00144 string frame_id\n\
00145 \n\
00146 ================================================================================\n\
00147 MSG: geometry_msgs/Pose\n\
00148 # A representation of pose in free space, composed of postion and orientation. \n\
00149 Point position\n\
00150 Quaternion orientation\n\
00151 \n\
00152 ================================================================================\n\
00153 MSG: geometry_msgs/Quaternion\n\
00154 # This represents an orientation in free space in quaternion form.\n\
00155 \n\
00156 float64 x\n\
00157 float64 y\n\
00158 float64 z\n\
00159 float64 w\n\
00160 \n\
00161 ";
00162   }
00163 
00164   static const char* value(const  ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> &) { return value(); } 
00165 };
00166 
00167 } // namespace message_traits
00168 } // namespace ros
00169 
00170 namespace ros
00171 {
00172 namespace serialization
00173 {
00174 
00175 template<class ContainerAllocator> struct Serializer< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> >
00176 {
00177   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00178   {
00179     stream.next(m.mesh);
00180     stream.next(m.pose);
00181   }
00182 
00183   ROS_DECLARE_ALLINONE_SERIALIZER;
00184 }; // struct ModelHypothesis_
00185 } // namespace serialization
00186 } // namespace ros
00187 
00188 namespace ros
00189 {
00190 namespace message_operations
00191 {
00192 
00193 template<class ContainerAllocator>
00194 struct Printer< ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> >
00195 {
00196   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::interactive_perception_msgs::ModelHypothesis_<ContainerAllocator> & v) 
00197   {
00198     s << indent << "mesh: ";
00199 s << std::endl;
00200     Printer< ::shape_msgs::Mesh_<ContainerAllocator> >::stream(s, indent + "  ", v.mesh);
00201     s << indent << "pose: ";
00202 s << std::endl;
00203     Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00204   }
00205 };
00206 
00207 
00208 } // namespace message_operations
00209 } // namespace ros
00210 
00211 #endif // INTERACTIVE_PERCEPTION_MSGS_MESSAGE_MODELHYPOTHESIS_H
00212 


interactive_perception_msgs
Author(s): jbinney
autogenerated on Mon Oct 6 2014 11:51:21