partial_lo.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-ias_common/doc_stacks/2014-10-06_00-40-46.541507/ias_common/vision_msgs/msg/partial_lo.msg */
00002 #ifndef VISION_MSGS_MESSAGE_PARTIAL_LO_H
00003 #define VISION_MSGS_MESSAGE_PARTIAL_LO_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 
00018 namespace vision_msgs
00019 {
00020 template <class ContainerAllocator>
00021 struct partial_lo_ {
00022   typedef partial_lo_<ContainerAllocator> Type;
00023 
00024   partial_lo_()
00025   : id(0)
00026   , name()
00027   , parent_id(0)
00028   , pose()
00029   , cov()
00030   , type(0)
00031   {
00032     pose.assign(0.0);
00033     cov.assign(0.0);
00034   }
00035 
00036   partial_lo_(const ContainerAllocator& _alloc)
00037   : id(0)
00038   , name(_alloc)
00039   , parent_id(0)
00040   , pose()
00041   , cov()
00042   , type(0)
00043   {
00044     pose.assign(0.0);
00045     cov.assign(0.0);
00046   }
00047 
00048   typedef uint64_t _id_type;
00049   uint64_t id;
00050 
00051   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00052   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00053 
00054   typedef uint64_t _parent_id_type;
00055   uint64_t parent_id;
00056 
00057   typedef boost::array<double, 16>  _pose_type;
00058   boost::array<double, 16>  pose;
00059 
00060   typedef boost::array<double, 36>  _cov_type;
00061   boost::array<double, 36>  cov;
00062 
00063   typedef uint16_t _type_type;
00064   uint16_t type;
00065 
00066 
00067   typedef boost::shared_ptr< ::vision_msgs::partial_lo_<ContainerAllocator> > Ptr;
00068   typedef boost::shared_ptr< ::vision_msgs::partial_lo_<ContainerAllocator>  const> ConstPtr;
00069   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00070 }; // struct partial_lo
00071 typedef  ::vision_msgs::partial_lo_<std::allocator<void> > partial_lo;
00072 
00073 typedef boost::shared_ptr< ::vision_msgs::partial_lo> partial_loPtr;
00074 typedef boost::shared_ptr< ::vision_msgs::partial_lo const> partial_loConstPtr;
00075 
00076 
00077 template<typename ContainerAllocator>
00078 std::ostream& operator<<(std::ostream& s, const  ::vision_msgs::partial_lo_<ContainerAllocator> & v)
00079 {
00080   ros::message_operations::Printer< ::vision_msgs::partial_lo_<ContainerAllocator> >::stream(s, "", v);
00081   return s;}
00082 
00083 } // namespace vision_msgs
00084 
00085 namespace ros
00086 {
00087 namespace message_traits
00088 {
00089 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::partial_lo_<ContainerAllocator> > : public TrueType {};
00090 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::partial_lo_<ContainerAllocator>  const> : public TrueType {};
00091 template<class ContainerAllocator>
00092 struct MD5Sum< ::vision_msgs::partial_lo_<ContainerAllocator> > {
00093   static const char* value() 
00094   {
00095     return "9a220ff1483742865ee698cfec57218c";
00096   }
00097 
00098   static const char* value(const  ::vision_msgs::partial_lo_<ContainerAllocator> &) { return value(); } 
00099   static const uint64_t static_value1 = 0x9a220ff148374286ULL;
00100   static const uint64_t static_value2 = 0x5ee698cfec57218cULL;
00101 };
00102 
00103 template<class ContainerAllocator>
00104 struct DataType< ::vision_msgs::partial_lo_<ContainerAllocator> > {
00105   static const char* value() 
00106   {
00107     return "vision_msgs/partial_lo";
00108   }
00109 
00110   static const char* value(const  ::vision_msgs::partial_lo_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 template<class ContainerAllocator>
00114 struct Definition< ::vision_msgs::partial_lo_<ContainerAllocator> > {
00115   static const char* value() 
00116   {
00117     return "# Message to quiey the lo-service, U. Klank klank@in.tum.de\n\
00118 uint64 id                           #id of a frame, there should be unique mapping from a tf-name-string to such an id\n\
00119 string name                     #optional parameter name representing a tf and knowledgebase correspondence\n\
00120 uint64 parent_id        #id of parent frame\n\
00121 float64[16] pose              #pose matrix, fully projective 4x4 matrix\n\
00122 float64[36] cov         #covariance for 6 dof (xyz, rpy)\n\
00123 uint16 type             #fixed connection with the parent (1) or free in space (0 = default)\n\
00124 \n\
00125 ";
00126   }
00127 
00128   static const char* value(const  ::vision_msgs::partial_lo_<ContainerAllocator> &) { return value(); } 
00129 };
00130 
00131 } // namespace message_traits
00132 } // namespace ros
00133 
00134 namespace ros
00135 {
00136 namespace serialization
00137 {
00138 
00139 template<class ContainerAllocator> struct Serializer< ::vision_msgs::partial_lo_<ContainerAllocator> >
00140 {
00141   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00142   {
00143     stream.next(m.id);
00144     stream.next(m.name);
00145     stream.next(m.parent_id);
00146     stream.next(m.pose);
00147     stream.next(m.cov);
00148     stream.next(m.type);
00149   }
00150 
00151   ROS_DECLARE_ALLINONE_SERIALIZER;
00152 }; // struct partial_lo_
00153 } // namespace serialization
00154 } // namespace ros
00155 
00156 namespace ros
00157 {
00158 namespace message_operations
00159 {
00160 
00161 template<class ContainerAllocator>
00162 struct Printer< ::vision_msgs::partial_lo_<ContainerAllocator> >
00163 {
00164   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::vision_msgs::partial_lo_<ContainerAllocator> & v) 
00165   {
00166     s << indent << "id: ";
00167     Printer<uint64_t>::stream(s, indent + "  ", v.id);
00168     s << indent << "name: ";
00169     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00170     s << indent << "parent_id: ";
00171     Printer<uint64_t>::stream(s, indent + "  ", v.parent_id);
00172     s << indent << "pose[]" << std::endl;
00173     for (size_t i = 0; i < v.pose.size(); ++i)
00174     {
00175       s << indent << "  pose[" << i << "]: ";
00176       Printer<double>::stream(s, indent + "  ", v.pose[i]);
00177     }
00178     s << indent << "cov[]" << std::endl;
00179     for (size_t i = 0; i < v.cov.size(); ++i)
00180     {
00181       s << indent << "  cov[" << i << "]: ";
00182       Printer<double>::stream(s, indent + "  ", v.cov[i]);
00183     }
00184     s << indent << "type: ";
00185     Printer<uint16_t>::stream(s, indent + "  ", v.type);
00186   }
00187 };
00188 
00189 
00190 } // namespace message_operations
00191 } // namespace ros
00192 
00193 #endif // VISION_MSGS_MESSAGE_PARTIAL_LO_H
00194 


vision_msgs
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 00:47:37