Object6DPose.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_common/posedetection_msgs/msg/Object6DPose.msg */
00002 #ifndef POSEDETECTION_MSGS_MESSAGE_OBJECT6DPOSE_H
00003 #define POSEDETECTION_MSGS_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 posedetection_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Object6DPose_ {
00023   typedef Object6DPose_<ContainerAllocator> Type;
00024 
00025   Object6DPose_()
00026   : pose()
00027   , type()
00028   {
00029   }
00030 
00031   Object6DPose_(const ContainerAllocator& _alloc)
00032   : pose(_alloc)
00033   , type(_alloc)
00034   {
00035   }
00036 
00037   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00038    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00042 
00043 
00044   typedef boost::shared_ptr< ::posedetection_msgs::Object6DPose_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::posedetection_msgs::Object6DPose_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct Object6DPose
00048 typedef  ::posedetection_msgs::Object6DPose_<std::allocator<void> > Object6DPose;
00049 
00050 typedef boost::shared_ptr< ::posedetection_msgs::Object6DPose> Object6DPosePtr;
00051 typedef boost::shared_ptr< ::posedetection_msgs::Object6DPose const> Object6DPoseConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::posedetection_msgs::Object6DPose_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::posedetection_msgs::Object6DPose_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace posedetection_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Object6DPose_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Object6DPose_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::posedetection_msgs::Object6DPose_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "f45579bd48fe31379d4bbde3b9a601c5";
00073   }
00074 
00075   static const char* value(const  ::posedetection_msgs::Object6DPose_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0xf45579bd48fe3137ULL;
00077   static const uint64_t static_value2 = 0x9d4bbde3b9a601c5ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::posedetection_msgs::Object6DPose_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "posedetection_msgs/Object6DPose";
00085   }
00086 
00087   static const char* value(const  ::posedetection_msgs::Object6DPose_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::posedetection_msgs::Object6DPose_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# 6D pose of object\n\
00095 geometry_msgs/Pose pose\n\
00096 \n\
00097 # type of object, usually contains the filename of the object that allows the receiving side to visualize it\n\
00098 # can also be used as a unique type id\n\
00099 string type \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   }
00125 
00126   static const char* value(const  ::posedetection_msgs::Object6DPose_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136 
00137 template<class ContainerAllocator> struct Serializer< ::posedetection_msgs::Object6DPose_<ContainerAllocator> >
00138 {
00139   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140   {
00141     stream.next(m.pose);
00142     stream.next(m.type);
00143   }
00144 
00145   ROS_DECLARE_ALLINONE_SERIALIZER;
00146 }; // struct Object6DPose_
00147 } // namespace serialization
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154 
00155 template<class ContainerAllocator>
00156 struct Printer< ::posedetection_msgs::Object6DPose_<ContainerAllocator> >
00157 {
00158   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::posedetection_msgs::Object6DPose_<ContainerAllocator> & v) 
00159   {
00160     s << indent << "pose: ";
00161 s << std::endl;
00162     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00163     s << indent << "type: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00165   }
00166 };
00167 
00168 
00169 } // namespace message_operations
00170 } // namespace ros
00171 
00172 #endif // POSEDETECTION_MSGS_MESSAGE_OBJECT6DPOSE_H
00173 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


posedetection_msgs
Author(s): Rosen Diankov
autogenerated on Sat Mar 23 2013 12:47:59