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 ROS_DEPRECATED uint32_t get_model_list_size() const { return (uint32_t)model_list.size(); }
00040 ROS_DEPRECATED void set_model_list_size(uint32_t size) { model_list.resize((size_t)size); }
00041 ROS_DEPRECATED void get_model_list_vec(std::vector< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::other > & vec) const { vec = this->model_list; }
00042 ROS_DEPRECATED void set_model_list_vec(const std::vector< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::other > & vec) { this->model_list = vec; }
00043 private:
00044 static const char* __s_getDataType_() { return "household_objects_database_msgs/DatabaseModelPoseList"; }
00045 public:
00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00047
00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00049
00050 private:
00051 static const char* __s_getMD5Sum_() { return "0d9ed435b245615af39f223ce2d9a142"; }
00052 public:
00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00054
00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00056
00057 private:
00058 static const char* __s_getMessageDefinition_() { return "# stores a list of possible database models recognition results\n\
00059 DatabaseModelPose[] model_list\n\
00060 ================================================================================\n\
00061 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00062 # Informs that a specific model from the Model Database has been \n\
00063 # identified at a certain location\n\
00064 \n\
00065 # the database id of the model\n\
00066 int32 model_id\n\
00067 \n\
00068 # the pose that it can be found in\n\
00069 geometry_msgs/PoseStamped pose\n\
00070 \n\
00071 # a measure of the confidence level in this detection result\n\
00072 float32 confidence\n\
00073 \n\
00074 # the name of the object detector that generated this detection result\n\
00075 string detector_name\n\
00076 \n\
00077 ================================================================================\n\
00078 MSG: geometry_msgs/PoseStamped\n\
00079 # A Pose with reference coordinate frame and timestamp\n\
00080 Header header\n\
00081 Pose pose\n\
00082 \n\
00083 ================================================================================\n\
00084 MSG: std_msgs/Header\n\
00085 # Standard metadata for higher-level stamped data types.\n\
00086 # This is generally used to communicate timestamped data \n\
00087 # in a particular coordinate frame.\n\
00088 # \n\
00089 # sequence ID: consecutively increasing ID \n\
00090 uint32 seq\n\
00091 #Two-integer timestamp that is expressed as:\n\
00092 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00093 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00094 # time-handling sugar is provided by the client library\n\
00095 time stamp\n\
00096 #Frame this data is associated with\n\
00097 # 0: no frame\n\
00098 # 1: global frame\n\
00099 string frame_id\n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: geometry_msgs/Pose\n\
00103 # A representation of pose in free space, composed of postion and orientation. \n\
00104 Point position\n\
00105 Quaternion orientation\n\
00106 \n\
00107 ================================================================================\n\
00108 MSG: geometry_msgs/Point\n\
00109 # This contains the position of a point in free space\n\
00110 float64 x\n\
00111 float64 y\n\
00112 float64 z\n\
00113 \n\
00114 ================================================================================\n\
00115 MSG: geometry_msgs/Quaternion\n\
00116 # This represents an orientation in free space in quaternion form.\n\
00117 \n\
00118 float64 x\n\
00119 float64 y\n\
00120 float64 z\n\
00121 float64 w\n\
00122 \n\
00123 "; }
00124 public:
00125 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00126
00127 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00128
00129 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00130 {
00131 ros::serialization::OStream stream(write_ptr, 1000000000);
00132 ros::serialization::serialize(stream, model_list);
00133 return stream.getData();
00134 }
00135
00136 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00137 {
00138 ros::serialization::IStream stream(read_ptr, 1000000000);
00139 ros::serialization::deserialize(stream, model_list);
00140 return stream.getData();
00141 }
00142
00143 ROS_DEPRECATED virtual uint32_t serializationLength() const
00144 {
00145 uint32_t size = 0;
00146 size += ros::serialization::serializationLength(model_list);
00147 return size;
00148 }
00149
00150 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > Ptr;
00151 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> const> ConstPtr;
00152 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00153 };
00154 typedef ::household_objects_database_msgs::DatabaseModelPoseList_<std::allocator<void> > DatabaseModelPoseList;
00155
00156 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList> DatabaseModelPoseListPtr;
00157 typedef boost::shared_ptr< ::household_objects_database_msgs::DatabaseModelPoseList const> DatabaseModelPoseListConstPtr;
00158
00159
00160 template<typename ContainerAllocator>
00161 std::ostream& operator<<(std::ostream& s, const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> & v)
00162 {
00163 ros::message_operations::Printer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >::stream(s, "", v);
00164 return s;}
00165
00166 }
00167
00168 namespace ros
00169 {
00170 namespace message_traits
00171 {
00172 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > : public TrueType {};
00173 template<class ContainerAllocator> struct IsMessage< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> const> : public TrueType {};
00174 template<class ContainerAllocator>
00175 struct MD5Sum< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00176 static const char* value()
00177 {
00178 return "0d9ed435b245615af39f223ce2d9a142";
00179 }
00180
00181 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00182 static const uint64_t static_value1 = 0x0d9ed435b245615aULL;
00183 static const uint64_t static_value2 = 0xf39f223ce2d9a142ULL;
00184 };
00185
00186 template<class ContainerAllocator>
00187 struct DataType< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00188 static const char* value()
00189 {
00190 return "household_objects_database_msgs/DatabaseModelPoseList";
00191 }
00192
00193 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator>
00197 struct Definition< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> > {
00198 static const char* value()
00199 {
00200 return "# stores a list of possible database models recognition results\n\
00201 DatabaseModelPose[] model_list\n\
00202 ================================================================================\n\
00203 MSG: household_objects_database_msgs/DatabaseModelPose\n\
00204 # Informs that a specific model from the Model Database has been \n\
00205 # identified at a certain location\n\
00206 \n\
00207 # the database id of the model\n\
00208 int32 model_id\n\
00209 \n\
00210 # the pose that it can be found in\n\
00211 geometry_msgs/PoseStamped pose\n\
00212 \n\
00213 # a measure of the confidence level in this detection result\n\
00214 float32 confidence\n\
00215 \n\
00216 # the name of the object detector that generated this detection result\n\
00217 string detector_name\n\
00218 \n\
00219 ================================================================================\n\
00220 MSG: geometry_msgs/PoseStamped\n\
00221 # A Pose with reference coordinate frame and timestamp\n\
00222 Header header\n\
00223 Pose pose\n\
00224 \n\
00225 ================================================================================\n\
00226 MSG: std_msgs/Header\n\
00227 # Standard metadata for higher-level stamped data types.\n\
00228 # This is generally used to communicate timestamped data \n\
00229 # in a particular coordinate frame.\n\
00230 # \n\
00231 # sequence ID: consecutively increasing ID \n\
00232 uint32 seq\n\
00233 #Two-integer timestamp that is expressed as:\n\
00234 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00235 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00236 # time-handling sugar is provided by the client library\n\
00237 time stamp\n\
00238 #Frame this data is associated with\n\
00239 # 0: no frame\n\
00240 # 1: global frame\n\
00241 string frame_id\n\
00242 \n\
00243 ================================================================================\n\
00244 MSG: geometry_msgs/Pose\n\
00245 # A representation of pose in free space, composed of postion and orientation. \n\
00246 Point position\n\
00247 Quaternion orientation\n\
00248 \n\
00249 ================================================================================\n\
00250 MSG: geometry_msgs/Point\n\
00251 # This contains the position of a point in free space\n\
00252 float64 x\n\
00253 float64 y\n\
00254 float64 z\n\
00255 \n\
00256 ================================================================================\n\
00257 MSG: geometry_msgs/Quaternion\n\
00258 # This represents an orientation in free space in quaternion form.\n\
00259 \n\
00260 float64 x\n\
00261 float64 y\n\
00262 float64 z\n\
00263 float64 w\n\
00264 \n\
00265 ";
00266 }
00267
00268 static const char* value(const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> &) { return value(); }
00269 };
00270
00271 }
00272 }
00273
00274 namespace ros
00275 {
00276 namespace serialization
00277 {
00278
00279 template<class ContainerAllocator> struct Serializer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >
00280 {
00281 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00282 {
00283 stream.next(m.model_list);
00284 }
00285
00286 ROS_DECLARE_ALLINONE_SERIALIZER;
00287 };
00288 }
00289 }
00290
00291 namespace ros
00292 {
00293 namespace message_operations
00294 {
00295
00296 template<class ContainerAllocator>
00297 struct Printer< ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> >
00298 {
00299 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::household_objects_database_msgs::DatabaseModelPoseList_<ContainerAllocator> & v)
00300 {
00301 s << indent << "model_list[]" << std::endl;
00302 for (size_t i = 0; i < v.model_list.size(); ++i)
00303 {
00304 s << indent << " model_list[" << i << "]: ";
00305 s << std::endl;
00306 s << indent;
00307 Printer< ::household_objects_database_msgs::DatabaseModelPose_<ContainerAllocator> >::stream(s, indent + " ", v.model_list[i]);
00308 }
00309 }
00310 };
00311
00312
00313 }
00314 }
00315
00316 #endif // HOUSEHOLD_OBJECTS_DATABASE_MSGS_MESSAGE_DATABASEMODELPOSELIST_H
00317