Object6DPose.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-alufr-ros-pkg/doc_stacks/2012-12-26_15-13-16.045312/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   typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct Object6DPose
00053 typedef  ::checkerboard_detector2::Object6DPose_<std::allocator<void> > Object6DPose;
00054 
00055 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose> Object6DPosePtr;
00056 typedef boost::shared_ptr< ::checkerboard_detector2::Object6DPose const> Object6DPoseConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::checkerboard_detector2::Object6DPose_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace checkerboard_detector2
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::checkerboard_detector2::Object6DPose_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "65607b2d0a73b752af8aa84bc03b757c";
00078   }
00079 
00080   static const char* value(const  ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x65607b2d0a73b752ULL;
00082   static const uint64_t static_value2 = 0xaf8aa84bc03b757cULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "checkerboard_detector2/Object6DPose";
00090   }
00091 
00092   static const char* value(const  ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "# 6D pose of object\n\
00100 geometry_msgs/Pose pose\n\
00101 \n\
00102 # type of object, usually contains the filename of the object that allows the receiving side to visualize it\n\
00103 # can also be used as a unique type id\n\
00104 string type \n\
00105 uint32 id\n\
00106 ================================================================================\n\
00107 MSG: geometry_msgs/Pose\n\
00108 # A representation of pose in free space, composed of postion and orientation. \n\
00109 Point position\n\
00110 Quaternion orientation\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: geometry_msgs/Point\n\
00114 # This contains the position of a point in free space\n\
00115 float64 x\n\
00116 float64 y\n\
00117 float64 z\n\
00118 \n\
00119 ================================================================================\n\
00120 MSG: geometry_msgs/Quaternion\n\
00121 # This represents an orientation in free space in quaternion form.\n\
00122 \n\
00123 float64 x\n\
00124 float64 y\n\
00125 float64 z\n\
00126 float64 w\n\
00127 \n\
00128 ";
00129   }
00130 
00131   static const char* value(const  ::checkerboard_detector2::Object6DPose_<ContainerAllocator> &) { return value(); } 
00132 };
00133 
00134 } // namespace message_traits
00135 } // namespace ros
00136 
00137 namespace ros
00138 {
00139 namespace serialization
00140 {
00141 
00142 template<class ContainerAllocator> struct Serializer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> >
00143 {
00144   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00145   {
00146     stream.next(m.pose);
00147     stream.next(m.type);
00148     stream.next(m.id);
00149   }
00150 
00151   ROS_DECLARE_ALLINONE_SERIALIZER;
00152 }; // struct Object6DPose_
00153 } // namespace serialization
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace message_operations
00159 {
00160 
00161 template<class ContainerAllocator>
00162 struct Printer< ::checkerboard_detector2::Object6DPose_<ContainerAllocator> >
00163 {
00164   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::checkerboard_detector2::Object6DPose_<ContainerAllocator> & v) 
00165   {
00166     s << indent << "pose: ";
00167 s << std::endl;
00168     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00169     s << indent << "type: ";
00170     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00171     s << indent << "id: ";
00172     Printer<uint32_t>::stream(s, indent + "  ", v.id);
00173   }
00174 };
00175 
00176 
00177 } // namespace message_operations
00178 } // namespace ros
00179 
00180 #endif // CHECKERBOARD_DETECTOR2_MESSAGE_OBJECT6DPOSE_H
00181 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


checkerboard_detector2
Author(s): Rosen Diankov, Felix Endres
autogenerated on Wed Dec 26 2012 15:30:15