Go to the documentation of this file.00001
00002 #ifndef HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSELIST_H
00003 #define HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSELIST_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 "household_objects_database_msgs/DatabaseModelPose.h"
00018
00019 namespace household_objects_database_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct DatabaseModelPoseList_ {
00023 typedef DatabaseModelPoseList_<ContainerAllocator> Type;
00024
00025 DatabaseModelPoseList_()
00026 : model_list()
00027 {
00028 }
00029
00030 DatabaseModelPoseList_(const ContainerAllocator& _alloc)
00031 : model_list(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::other > _model_list_type;
00036 std::vector< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::other > model_list;
00037
00038
00039 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::household_objects_database_msgs::DatabaseModelPoseList_<std::allocator<void> > DatabaseModelPoseList;
00044
00045 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList> DatabaseModelPoseListPtr;
00046 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList const> DatabaseModelPoseListConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "0d9ed435b245615af39f223ce2d9a142";
00068 }
00069
00070 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x0d9ed435b245615aULL;
00072 static const uint64_t static_value2 = 0xf39f223ce2d9a142ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "household_objects_database_msgs/DatabaseModelPoseList";
00080 }
00081
00082 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# stores a list of possible database models recognition results\n\
00090 DatabaseModelPose[] model_list\n\
00091 ================================================================================\n\
00092 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00093 # Informs that a specific model from the Model Database has been \n\
00094 # identified at a certain location\n\
00095 \n\
00096 # the database id of the model\n\
00097 int32 model_id\n\
00098 \n\
00099 # the pose that it can be found in\n\
00100 geometry_msgs/PoseStamped pose\n\
00101 \n\
00102 # a measure of the confidence level in this detection result\n\
00103 float32 confidence\n\
00104 \n\
00105 # the name of the object detector that generated this detection result\n\
00106 string detector_name\n\
00107 \n\
00108 ================================================================================\n\
00109 MSG: geometry_msgs/PoseStamped\n\
00110 # A Pose with reference coordinate frame and timestamp\n\
00111 Header header\n\
00112 Pose pose\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: std_msgs/Header\n\
00116 # Standard metadata for higher-level stamped data types.\n\
00117 # This is generally used to communicate timestamped data \n\
00118 # in a particular coordinate frame.\n\
00119 # \n\
00120 # sequence ID: consecutively increasing ID \n\
00121 uint32 seq\n\
00122 #Two-integer timestamp that is expressed as:\n\
00123 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00124 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00125 # time-handling sugar is provided by the client library\n\
00126 time stamp\n\
00127 #Frame this data is associated with\n\
00128 # 0: no frame\n\
00129 # 1: global frame\n\
00130 string frame_id\n\
00131 \n\
00132 ================================================================================\n\
00133 MSG: geometry_msgs/Pose\n\
00134 # A representation of pose in free space, composed of postion and orientation. \n\
00135 Point position\n\
00136 Quaternion orientation\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/Point\n\
00140 # This contains the position of a point in free space\n\
00141 float64 x\n\
00142 float64 y\n\
00143 float64 z\n\
00144 \n\
00145 ================================================================================\n\
00146 MSG: geometry_msgs/Quaternion\n\
00147 # This represents an orientation in free space in quaternion form.\n\
00148 \n\
00149 float64 x\n\
00150 float64 y\n\
00151 float64 z\n\
00152 float64 w\n\
00153 \n\
00154 ";
00155 }
00156
00157 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 }
00161 }
00162
00163 namespace ros
00164 {
00165 namespace serialization
00166 {
00167
00168 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >
00169 {
00170 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00171 {
00172 stream.next(m.model_list);
00173 }
00174
00175 ROS_DECLARE_ALLINONE_SERIALIZER;
00176 };
00177 }
00178 }
00179
00180 namespace ros
00181 {
00182 namespace message_operations
00183 {
00184
00185 template<class ContainerAllocator>
00186 struct Printer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >
00187 {
00188 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> & v)
00189 {
00190 s << indent << "model_list[]" << std::endl;
00191 for (size_t i = 0; i < v.model_list.size(); ++i)
00192 {
00193 s << indent << " model_list[" << i << "]: ";
00194 s << std::endl;
00195 s << indent;
00196 Printer< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::stream(s, indent + " ", v.model_list[i]);
00197 }
00198 }
00199 };
00200
00201
00202 }
00203 }
00204
00205 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSELIST_H
00206