CovarianceStamped.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-uncertain_tf/doc_stacks/2014-10-06_08-18-58.400624/uncertain_tf/msg/CovarianceStamped.msg */
00002 #ifndef UNCERTAIN_TF_MESSAGE_COVARIANCESTAMPED_H
00003 #define UNCERTAIN_TF_MESSAGE_COVARIANCESTAMPED_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 
00019 namespace uncertain_tf
00020 {
00021 template <class ContainerAllocator>
00022 struct CovarianceStamped_ {
00023   typedef CovarianceStamped_<ContainerAllocator> Type;
00024 
00025   CovarianceStamped_()
00026   : header()
00027   , covariance()
00028   {
00029     covariance.assign(0.0);
00030   }
00031 
00032   CovarianceStamped_(const ContainerAllocator& _alloc)
00033   : header(_alloc)
00034   , covariance()
00035   {
00036     covariance.assign(0.0);
00037   }
00038 
00039   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00040    ::std_msgs::Header_<ContainerAllocator>  header;
00041 
00042   typedef boost::array<double, 36>  _covariance_type;
00043   boost::array<double, 36>  covariance;
00044 
00045 
00046   typedef boost::shared_ptr< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > Ptr;
00047   typedef boost::shared_ptr< ::uncertain_tf::CovarianceStamped_<ContainerAllocator>  const> ConstPtr;
00048   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00049 }; // struct CovarianceStamped
00050 typedef  ::uncertain_tf::CovarianceStamped_<std::allocator<void> > CovarianceStamped;
00051 
00052 typedef boost::shared_ptr< ::uncertain_tf::CovarianceStamped> CovarianceStampedPtr;
00053 typedef boost::shared_ptr< ::uncertain_tf::CovarianceStamped const> CovarianceStampedConstPtr;
00054 
00055 
00056 template<typename ContainerAllocator>
00057 std::ostream& operator<<(std::ostream& s, const  ::uncertain_tf::CovarianceStamped_<ContainerAllocator> & v)
00058 {
00059   ros::message_operations::Printer< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> >::stream(s, "", v);
00060   return s;}
00061 
00062 } // namespace uncertain_tf
00063 
00064 namespace ros
00065 {
00066 namespace message_traits
00067 {
00068 template<class ContainerAllocator> struct IsMessage< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > : public TrueType {};
00069 template<class ContainerAllocator> struct IsMessage< ::uncertain_tf::CovarianceStamped_<ContainerAllocator>  const> : public TrueType {};
00070 template<class ContainerAllocator>
00071 struct MD5Sum< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > {
00072   static const char* value() 
00073   {
00074     return "4248b0a69ff189fbe799cb852045504c";
00075   }
00076 
00077   static const char* value(const  ::uncertain_tf::CovarianceStamped_<ContainerAllocator> &) { return value(); } 
00078   static const uint64_t static_value1 = 0x4248b0a69ff189fbULL;
00079   static const uint64_t static_value2 = 0xe799cb852045504cULL;
00080 };
00081 
00082 template<class ContainerAllocator>
00083 struct DataType< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > {
00084   static const char* value() 
00085   {
00086     return "uncertain_tf/CovarianceStamped";
00087   }
00088 
00089   static const char* value(const  ::uncertain_tf::CovarianceStamped_<ContainerAllocator> &) { return value(); } 
00090 };
00091 
00092 template<class ContainerAllocator>
00093 struct Definition< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > {
00094   static const char* value() 
00095   {
00096     return "# for now we consider only covariances\n\
00097 Header header\n\
00098 float64[36] covariance\n\
00099 \n\
00100 ================================================================================\n\
00101 MSG: std_msgs/Header\n\
00102 # Standard metadata for higher-level stamped data types.\n\
00103 # This is generally used to communicate timestamped data \n\
00104 # in a particular coordinate frame.\n\
00105 # \n\
00106 # sequence ID: consecutively increasing ID \n\
00107 uint32 seq\n\
00108 #Two-integer timestamp that is expressed as:\n\
00109 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00110 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00111 # time-handling sugar is provided by the client library\n\
00112 time stamp\n\
00113 #Frame this data is associated with\n\
00114 # 0: no frame\n\
00115 # 1: global frame\n\
00116 string frame_id\n\
00117 \n\
00118 ";
00119   }
00120 
00121   static const char* value(const  ::uncertain_tf::CovarianceStamped_<ContainerAllocator> &) { return value(); } 
00122 };
00123 
00124 template<class ContainerAllocator> struct HasHeader< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > : public TrueType {};
00125 template<class ContainerAllocator> struct HasHeader< const ::uncertain_tf::CovarianceStamped_<ContainerAllocator> > : public TrueType {};
00126 } // namespace message_traits
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace serialization
00132 {
00133 
00134 template<class ContainerAllocator> struct Serializer< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> >
00135 {
00136   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00137   {
00138     stream.next(m.header);
00139     stream.next(m.covariance);
00140   }
00141 
00142   ROS_DECLARE_ALLINONE_SERIALIZER;
00143 }; // struct CovarianceStamped_
00144 } // namespace serialization
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace message_operations
00150 {
00151 
00152 template<class ContainerAllocator>
00153 struct Printer< ::uncertain_tf::CovarianceStamped_<ContainerAllocator> >
00154 {
00155   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::uncertain_tf::CovarianceStamped_<ContainerAllocator> & v) 
00156   {
00157     s << indent << "header: ";
00158 s << std::endl;
00159     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00160     s << indent << "covariance[]" << std::endl;
00161     for (size_t i = 0; i < v.covariance.size(); ++i)
00162     {
00163       s << indent << "  covariance[" << i << "]: ";
00164       Printer<double>::stream(s, indent + "  ", v.covariance[i]);
00165     }
00166   }
00167 };
00168 
00169 
00170 } // namespace message_operations
00171 } // namespace ros
00172 
00173 #endif // UNCERTAIN_TF_MESSAGE_COVARIANCESTAMPED_H
00174 


uncertain_tf
Author(s): Thomas Ruehr
autogenerated on Mon Oct 6 2014 08:20:49