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


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