Go to the documentation of this file.00001
00002 #ifndef BLORT_ROS_MESSAGE_OBJECTPOSELIST_H
00003 #define BLORT_ROS_MESSAGE_OBJECTPOSELIST_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 "std_msgs/Header.h"
00018 #include "blort_ros/ObjectPose.h"
00019
00020 namespace blort_ros
00021 {
00022 template <class ContainerAllocator>
00023 struct ObjectPoseList_ {
00024 typedef ObjectPoseList_<ContainerAllocator> Type;
00025
00026 ObjectPoseList_()
00027 : header()
00028 , object_list()
00029 , originalTimeStamp()
00030 , requestTimeStamp()
00031 {
00032 }
00033
00034 ObjectPoseList_(const ContainerAllocator& _alloc)
00035 : header(_alloc)
00036 , object_list(_alloc)
00037 , originalTimeStamp()
00038 , requestTimeStamp()
00039 {
00040 }
00041
00042 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00043 ::std_msgs::Header_<ContainerAllocator> header;
00044
00045 typedef std::vector< ::blort_ros::ObjectPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::blort_ros::ObjectPose_<ContainerAllocator> >::other > _object_list_type;
00046 std::vector< ::blort_ros::ObjectPose_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::blort_ros::ObjectPose_<ContainerAllocator> >::other > object_list;
00047
00048 typedef ros::Time _originalTimeStamp_type;
00049 ros::Time originalTimeStamp;
00050
00051 typedef ros::Time _requestTimeStamp_type;
00052 ros::Time requestTimeStamp;
00053
00054
00055 typedef boost::shared_ptr< ::blort_ros::ObjectPoseList_<ContainerAllocator> > Ptr;
00056 typedef boost::shared_ptr< ::blort_ros::ObjectPoseList_<ContainerAllocator> const> ConstPtr;
00057 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00058 };
00059 typedef ::blort_ros::ObjectPoseList_<std::allocator<void> > ObjectPoseList;
00060
00061 typedef boost::shared_ptr< ::blort_ros::ObjectPoseList> ObjectPoseListPtr;
00062 typedef boost::shared_ptr< ::blort_ros::ObjectPoseList const> ObjectPoseListConstPtr;
00063
00064
00065 template<typename ContainerAllocator>
00066 std::ostream& operator<<(std::ostream& s, const ::blort_ros::ObjectPoseList_<ContainerAllocator> & v)
00067 {
00068 ros::message_operations::Printer< ::blort_ros::ObjectPoseList_<ContainerAllocator> >::stream(s, "", v);
00069 return s;}
00070
00071 }
00072
00073 namespace ros
00074 {
00075 namespace message_traits
00076 {
00077 template<class ContainerAllocator> struct IsMessage< ::blort_ros::ObjectPoseList_<ContainerAllocator> > : public TrueType {};
00078 template<class ContainerAllocator> struct IsMessage< ::blort_ros::ObjectPoseList_<ContainerAllocator> const> : public TrueType {};
00079 template<class ContainerAllocator>
00080 struct MD5Sum< ::blort_ros::ObjectPoseList_<ContainerAllocator> > {
00081 static const char* value()
00082 {
00083 return "418ab919a68374930e8c523eaea185d2";
00084 }
00085
00086 static const char* value(const ::blort_ros::ObjectPoseList_<ContainerAllocator> &) { return value(); }
00087 static const uint64_t static_value1 = 0x418ab919a6837493ULL;
00088 static const uint64_t static_value2 = 0x0e8c523eaea185d2ULL;
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct DataType< ::blort_ros::ObjectPoseList_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "blort_ros/ObjectPoseList";
00096 }
00097
00098 static const char* value(const ::blort_ros::ObjectPoseList_<ContainerAllocator> &) { return value(); }
00099 };
00100
00101 template<class ContainerAllocator>
00102 struct Definition< ::blort_ros::ObjectPoseList_<ContainerAllocator> > {
00103 static const char* value()
00104 {
00105 return "Header header\n\
00106 \n\
00107 ObjectPose[] object_list\n\
00108 \n\
00109 time originalTimeStamp\n\
00110 \n\
00111 time requestTimeStamp\n\
00112 \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: blort_ros/ObjectPose\n\
00134 string name\n\
00135 \n\
00136 geometry_msgs/Pose pose\n\
00137 geometry_msgs/Point32 pose2D\n\
00138 \n\
00139 int16[] convex_hull_x\n\
00140 int16[] convex_hull_y\n\
00141 \n\
00142 float32 mean_quality\n\
00143 int16 used_points\n\
00144 \n\
00145 NameTypeValue[] properties\n\
00146 \n\
00147 geometry_msgs/Pose[] pose_uncertainty_list\n\
00148 \n\
00149 ================================================================================\n\
00150 MSG: geometry_msgs/Pose\n\
00151 # A representation of pose in free space, composed of postion and orientation. \n\
00152 Point position\n\
00153 Quaternion orientation\n\
00154 \n\
00155 ================================================================================\n\
00156 MSG: geometry_msgs/Point\n\
00157 # This contains the position of a point in free space\n\
00158 float64 x\n\
00159 float64 y\n\
00160 float64 z\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: geometry_msgs/Quaternion\n\
00164 # This represents an orientation in free space in quaternion form.\n\
00165 \n\
00166 float64 x\n\
00167 float64 y\n\
00168 float64 z\n\
00169 float64 w\n\
00170 \n\
00171 ================================================================================\n\
00172 MSG: geometry_msgs/Point32\n\
00173 # This contains the position of a point in free space(with 32 bits of precision).\n\
00174 # It is recommeded to use Point wherever possible instead of Point32. \n\
00175 # \n\
00176 # This recommendation is to promote interoperability. \n\
00177 #\n\
00178 # This message is designed to take up less space when sending\n\
00179 # lots of points at once, as in the case of a PointCloud. \n\
00180 \n\
00181 float32 x\n\
00182 float32 y\n\
00183 float32 z\n\
00184 ================================================================================\n\
00185 MSG: blort_ros/NameTypeValue\n\
00186 string name\n\
00187 string type\n\
00188 string value\n\
00189 \n\
00190 ";
00191 }
00192
00193 static const char* value(const ::blort_ros::ObjectPoseList_<ContainerAllocator> &) { return value(); }
00194 };
00195
00196 template<class ContainerAllocator> struct HasHeader< ::blort_ros::ObjectPoseList_<ContainerAllocator> > : public TrueType {};
00197 template<class ContainerAllocator> struct HasHeader< const ::blort_ros::ObjectPoseList_<ContainerAllocator> > : public TrueType {};
00198 }
00199 }
00200
00201 namespace ros
00202 {
00203 namespace serialization
00204 {
00205
00206 template<class ContainerAllocator> struct Serializer< ::blort_ros::ObjectPoseList_<ContainerAllocator> >
00207 {
00208 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00209 {
00210 stream.next(m.header);
00211 stream.next(m.object_list);
00212 stream.next(m.originalTimeStamp);
00213 stream.next(m.requestTimeStamp);
00214 }
00215
00216 ROS_DECLARE_ALLINONE_SERIALIZER;
00217 };
00218 }
00219 }
00220
00221 namespace ros
00222 {
00223 namespace message_operations
00224 {
00225
00226 template<class ContainerAllocator>
00227 struct Printer< ::blort_ros::ObjectPoseList_<ContainerAllocator> >
00228 {
00229 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::blort_ros::ObjectPoseList_<ContainerAllocator> & v)
00230 {
00231 s << indent << "header: ";
00232 s << std::endl;
00233 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00234 s << indent << "object_list[]" << std::endl;
00235 for (size_t i = 0; i < v.object_list.size(); ++i)
00236 {
00237 s << indent << " object_list[" << i << "]: ";
00238 s << std::endl;
00239 s << indent;
00240 Printer< ::blort_ros::ObjectPose_<ContainerAllocator> >::stream(s, indent + " ", v.object_list[i]);
00241 }
00242 s << indent << "originalTimeStamp: ";
00243 Printer<ros::Time>::stream(s, indent + " ", v.originalTimeStamp);
00244 s << indent << "requestTimeStamp: ";
00245 Printer<ros::Time>::stream(s, indent + " ", v.requestTimeStamp);
00246 }
00247 };
00248
00249
00250 }
00251 }
00252
00253 #endif // BLORT_ROS_MESSAGE_OBJECTPOSELIST_H
00254