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