$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-freiburg_tools/doc_stacks/2013-03-05_11-55-21.944454/freiburg_tools/checkerboard_detector2/msg/Object6DPose.msg */ 00002 #ifndef CHECKERBOARD_DETECTOR2_MESSAGE_OBJECT6DPOSE_H 00003 #define CHECKERBOARD_DETECTOR2_MESSAGE_OBJECT6DPOSE_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 "geometry_msgs/Pose.h" 00018 00019 namespace checkerboard_detector2 00020 { 00021 template <class ContainerAllocator> 00022 struct Object6DPose_ { 00023 typedef Object6DPose_<ContainerAllocator> Type; 00024 00025 Object6DPose_() 00026 : pose() 00027 , type() 00028 , id(0) 00029 { 00030 } 00031 00032 Object6DPose_(const ContainerAllocator& _alloc) 00033 : pose(_alloc) 00034 , type(_alloc) 00035 , id(0) 00036 { 00037 } 00038 00039 typedef ::geometry_msgs::Pose_<ContainerAllocator> _pose_type; 00040 ::geometry_msgs::Pose_<ContainerAllocator> pose; 00041 00042 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _type_type; 00043 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > type; 00044 00045 typedef uint32_t _id_type; 00046 uint32_t id; 00047 00048 00049 private: 00050 static const char* __s_getDataType_() { return "checkerboard_detector2/Object6DPose"; } 00051 public: 00052 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00053 00054 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00055 00056 private: 00057 static const char* __s_getMD5Sum_() { return "65607b2d0a73b752af8aa84bc03b757c"; } 00058 public: 00059 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00060 00061 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00062 00063 private: 00064 static const char* __s_getMessageDefinition_() { return "# 6D pose of object\n\ 00065 geometry_msgs/Pose pose\n\ 00066 \n\ 00067 # type of object, usually contains the filename of the object that allows the receiving side to visualize it\n\ 00068 # can also be used as a unique type id\n\ 00069 string type \n\ 00070 uint32 id\n\ 00071 ================================================================================\n\ 00072 MSG: geometry_msgs/Pose\n\ 00073 # A representation of pose in free space, composed of postion and orientation. \n\ 00074 Point position\n\ 00075 Quaternion orientation\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: geometry_msgs/Point\n\ 00079 # This contains the position of a point in free space\n\ 00080 float64 x\n\ 00081 float64 y\n\ 00082 float64 z\n\ 00083 \n\ 00084 ================================================================================\n\ 00085 MSG: geometry_msgs/Quaternion\n\ 00086 # This represents an orientation in free space in quaternion form.\n\ 00087 \n\ 00088 float64 x\n\ 00089 float64 y\n\ 00090 float64 z\n\ 00091 float64 w\n\ 00092 \n\ 00093 "; } 00094 public: 00095 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00096 00097 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00098 00099 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00100 { 00101 ros::serialization::OStream stream(write_ptr, 1000000000); 00102 ros::serialization::serialize(stream, pose); 00103 ros::serialization::serialize(stream, type); 00104 ros::serialization::serialize(stream, id); 00105 return stream.getData(); 00106 } 00107 00108 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00109 { 00110 ros::serialization::IStream stream(read_ptr, 1000000000); 00111 ros::serialization::deserialize(stream, pose); 00112 ros::serialization::deserialize(stream, type); 00113 ros::serialization::deserialize(stream, id); 00114 return stream.getData(); 00115 } 00116 00117 ROS_DEPRECATED virtual uint32_t serializationLength() const 00118 { 00119 uint32_t size = 0; 00120 size += ros::serialization::serializationLength(pose); 00121 size += ros::serialization::serializationLength(type); 00122 size += ros::serialization::serializationLength(id); 00123 return size; 00124 } 00125 00126 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > Ptr; 00127 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> const> ConstPtr; 00128 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00129 }; // struct Object6DPose 00130 typedef ::checkerboard_detector2::Object6DPose_<std::allocator<void> > Object6DPose; 00131 00132 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose> Object6DPosePtr; 00133 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose const> Object6DPoseConstPtr; 00134 00135 00136 template<typename ContainerAllocator> 00137 std::ostream& operator<<(std::ostream& s, const ::checkerboard_detector2::Object6DPose_<ContainerAllocator> & v) 00138 { 00139 ros::message_operations::Printer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> >::stream(s, "", v); 00140 return s;} 00141 00142 } // namespace checkerboard_detector2 00143 00144 namespace ros 00145 { 00146 namespace message_traits 00147 { 00148 template<class ContainerAllocator> struct IsMessage< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > : public TrueType {}; 00149 template<class ContainerAllocator> struct IsMessage< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> const> : public TrueType {}; 00150 template<class ContainerAllocator> 00151 struct MD5Sum< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > { 00152 static const char* value() 00153 { 00154 return "65607b2d0a73b752af8aa84bc03b757c"; 00155 } 00156 00157 static const char* value(const ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 00158 static const uint64_t static_value1 = 0x65607b2d0a73b752ULL; 00159 static const uint64_t static_value2 = 0xaf8aa84bc03b757cULL; 00160 }; 00161 00162 template<class ContainerAllocator> 00163 struct DataType< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > { 00164 static const char* value() 00165 { 00166 return "checkerboard_detector2/Object6DPose"; 00167 } 00168 00169 static const char* value(const ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 00170 }; 00171 00172 template<class ContainerAllocator> 00173 struct Definition< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > { 00174 static const char* value() 00175 { 00176 return "# 6D pose of object\n\ 00177 geometry_msgs/Pose pose\n\ 00178 \n\ 00179 # type of object, usually contains the filename of the object that allows the receiving side to visualize it\n\ 00180 # can also be used as a unique type id\n\ 00181 string type \n\ 00182 uint32 id\n\ 00183 ================================================================================\n\ 00184 MSG: geometry_msgs/Pose\n\ 00185 # A representation of pose in free space, composed of postion and orientation. \n\ 00186 Point position\n\ 00187 Quaternion orientation\n\ 00188 \n\ 00189 ================================================================================\n\ 00190 MSG: geometry_msgs/Point\n\ 00191 # This contains the position of a point in free space\n\ 00192 float64 x\n\ 00193 float64 y\n\ 00194 float64 z\n\ 00195 \n\ 00196 ================================================================================\n\ 00197 MSG: geometry_msgs/Quaternion\n\ 00198 # This represents an orientation in free space in quaternion form.\n\ 00199 \n\ 00200 float64 x\n\ 00201 float64 y\n\ 00202 float64 z\n\ 00203 float64 w\n\ 00204 \n\ 00205 "; 00206 } 00207 00208 static const char* value(const ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 00209 }; 00210 00211 } // namespace message_traits 00212 } // namespace ros 00213 00214 namespace ros 00215 { 00216 namespace serialization 00217 { 00218 00219 template<class ContainerAllocator> struct Serializer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > 00220 { 00221 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00222 { 00223 stream.next(m.pose); 00224 stream.next(m.type); 00225 stream.next(m.id); 00226 } 00227 00228 ROS_DECLARE_ALLINONE_SERIALIZER; 00229 }; // struct Object6DPose_ 00230 } // namespace serialization 00231 } // namespace ros 00232 00233 namespace ros 00234 { 00235 namespace message_operations 00236 { 00237 00238 template<class ContainerAllocator> 00239 struct Printer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > 00240 { 00241 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::checkerboard_detector2::Object6DPose_<ContainerAllocator> & v) 00242 { 00243 s << indent << "pose: "; 00244 s << std::endl; 00245 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00246 s << indent << "type: "; 00247 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.type); 00248 s << indent << "id: "; 00249 Printer<uint32_t>::stream(s, indent + " ", v.id); 00250 } 00251 }; 00252 00253 00254 } // namespace message_operations 00255 } // namespace ros 00256 00257 #endif // CHECKERBOARD_DETECTOR2_MESSAGE_OBJECT6DPOSE_H 00258