TFMessage.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-geometry_experimental/doc_stacks/2013-08-19_10-25-31.207980/geometry_experimental/tf2_msgs/msg/TFMessage.msg */
00002 #ifndef TF2_MSGS_MESSAGE_TFMESSAGE_H
00003 #define TF2_MSGS_MESSAGE_TFMESSAGE_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/TransformStamped.h"
00018 
00019 namespace tf2_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct TFMessage_ {
00023   typedef TFMessage_<ContainerAllocator> Type;
00024 
00025   TFMessage_()
00026   : transforms()
00027   {
00028   }
00029 
00030   TFMessage_(const ContainerAllocator& _alloc)
00031   : transforms(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::geometry_msgs::TransformStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::other >  _transforms_type;
00036   std::vector< ::geometry_msgs::TransformStamped_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::other >  transforms;
00037 
00038 
00039   typedef boost::shared_ptr< ::tf2_msgs::TFMessage_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::tf2_msgs::TFMessage_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct TFMessage
00043 typedef  ::tf2_msgs::TFMessage_<std::allocator<void> > TFMessage;
00044 
00045 typedef boost::shared_ptr< ::tf2_msgs::TFMessage> TFMessagePtr;
00046 typedef boost::shared_ptr< ::tf2_msgs::TFMessage const> TFMessageConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::tf2_msgs::TFMessage_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::tf2_msgs::TFMessage_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace tf2_msgs
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::TFMessage_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::tf2_msgs::TFMessage_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::tf2_msgs::TFMessage_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "94810edda583a504dfda3829e70d7eec";
00068   }
00069 
00070   static const char* value(const  ::tf2_msgs::TFMessage_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0x94810edda583a504ULL;
00072   static const uint64_t static_value2 = 0xdfda3829e70d7eecULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::tf2_msgs::TFMessage_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "tf2_msgs/TFMessage";
00080   }
00081 
00082   static const char* value(const  ::tf2_msgs::TFMessage_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::tf2_msgs::TFMessage_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "geometry_msgs/TransformStamped[] transforms\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: geometry_msgs/TransformStamped\n\
00093 # This expresses a transform from coordinate frame header.frame_id\n\
00094 # to the coordinate frame child_frame_id\n\
00095 #\n\
00096 # This message is mostly used by the \n\
00097 # <a href=\"http://www.ros.org/wiki/tf\">tf</a> package. \n\
00098 # See it's documentation for more information.\n\
00099 \n\
00100 Header header\n\
00101 string child_frame_id # the frame id of the child frame\n\
00102 Transform transform\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: std_msgs/Header\n\
00106 # Standard metadata for higher-level stamped data types.\n\
00107 # This is generally used to communicate timestamped data \n\
00108 # in a particular coordinate frame.\n\
00109 # \n\
00110 # sequence ID: consecutively increasing ID \n\
00111 uint32 seq\n\
00112 #Two-integer timestamp that is expressed as:\n\
00113 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00114 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00115 # time-handling sugar is provided by the client library\n\
00116 time stamp\n\
00117 #Frame this data is associated with\n\
00118 # 0: no frame\n\
00119 # 1: global frame\n\
00120 string frame_id\n\
00121 \n\
00122 ================================================================================\n\
00123 MSG: geometry_msgs/Transform\n\
00124 # This represents the transform between two coordinate frames in free space.\n\
00125 \n\
00126 Vector3 translation\n\
00127 Quaternion rotation\n\
00128 \n\
00129 ================================================================================\n\
00130 MSG: geometry_msgs/Vector3\n\
00131 # This represents a vector in free space. \n\
00132 \n\
00133 float64 x\n\
00134 float64 y\n\
00135 float64 z\n\
00136 ================================================================================\n\
00137 MSG: geometry_msgs/Quaternion\n\
00138 # This represents an orientation in free space in quaternion form.\n\
00139 \n\
00140 float64 x\n\
00141 float64 y\n\
00142 float64 z\n\
00143 float64 w\n\
00144 \n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::tf2_msgs::TFMessage_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace serialization
00157 {
00158 
00159 template<class ContainerAllocator> struct Serializer< ::tf2_msgs::TFMessage_<ContainerAllocator> >
00160 {
00161   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00162   {
00163     stream.next(m.transforms);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct TFMessage_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::tf2_msgs::TFMessage_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::tf2_msgs::TFMessage_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "transforms[]" << std::endl;
00182     for (size_t i = 0; i < v.transforms.size(); ++i)
00183     {
00184       s << indent << "  transforms[" << i << "]: ";
00185       s << std::endl;
00186       s << indent;
00187       Printer< ::geometry_msgs::TransformStamped_<ContainerAllocator> >::stream(s, indent + "    ", v.transforms[i]);
00188     }
00189   }
00190 };
00191 
00192 
00193 } // namespace message_operations
00194 } // namespace ros
00195 
00196 #endif // TF2_MSGS_MESSAGE_TFMESSAGE_H
00197 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends


tf2_msgs
Author(s): Eitan Marder-Eppstein
autogenerated on Mon Aug 19 2013 10:26:46