Height.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-mav_tools/doc_stacks/2014-01-02_11-25-37.570844/mav_tools/mav_msgs/msg/Height.msg */
00002 #ifndef MAV_MSGS_MESSAGE_HEIGHT_H
00003 #define MAV_MSGS_MESSAGE_HEIGHT_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 mav_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Height_ {
00023   typedef Height_<ContainerAllocator> Type;
00024 
00025   Height_()
00026   : header()
00027   , height(0.0)
00028   , height_variance(0.0)
00029   , climb(0.0)
00030   , climb_variance(0.0)
00031   {
00032   }
00033 
00034   Height_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , height(0.0)
00037   , height_variance(0.0)
00038   , climb(0.0)
00039   , climb_variance(0.0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef double _height_type;
00047   double height;
00048 
00049   typedef double _height_variance_type;
00050   double height_variance;
00051 
00052   typedef double _climb_type;
00053   double climb;
00054 
00055   typedef double _climb_variance_type;
00056   double climb_variance;
00057 
00058 
00059   typedef boost::shared_ptr< ::mav_msgs::Height_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::mav_msgs::Height_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct Height
00063 typedef  ::mav_msgs::Height_<std::allocator<void> > Height;
00064 
00065 typedef boost::shared_ptr< ::mav_msgs::Height> HeightPtr;
00066 typedef boost::shared_ptr< ::mav_msgs::Height const> HeightConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::mav_msgs::Height_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::mav_msgs::Height_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace mav_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::Height_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::mav_msgs::Height_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::mav_msgs::Height_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "a78e1294ab4281402b080d0478dd360c";
00088   }
00089 
00090   static const char* value(const  ::mav_msgs::Height_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0xa78e1294ab428140ULL;
00092   static const uint64_t static_value2 = 0x2b080d0478dd360cULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::mav_msgs::Height_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "mav_msgs/Height";
00100   }
00101 
00102   static const char* value(const  ::mav_msgs::Height_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::mav_msgs::Height_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "# Software License Agreement (BSD License)\n\
00110 #\n\
00111 # Copyright (c) 2010\n\
00112 #  Ivan Dryanovski <ivan.dryanovski@gmail.com>\n\
00113 # All rights reserved.\n\
00114 #\n\
00115 # Redistribution and use in source and binary forms, with or without\n\
00116 # modification, are permitted provided that the following conditions\n\
00117 # are met:\n\
00118 #\n\
00119 #  * Redistributions of source code must retain the above copyright\n\
00120 #    notice, this list of conditions and the following disclaimer.\n\
00121 #  * Redistributions in binary form must reproduce the above\n\
00122 #    copyright notice, this list of conditions and the following\n\
00123 #    disclaimer in the documentation and/or other materials provided\n\
00124 #    with the distribution.\n\
00125 #  * Neither the name of CCNY Robotics Lab nor the names of its\n\
00126 #    contributors may be used to endorse or promote products derived\n\
00127 #    from this software without specific prior written permission.\n\
00128 #\n\
00129 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\
00130 # \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n\
00131 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS\n\
00132 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE\n\
00133 # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,\n\
00134 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\n\
00135 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n\
00136 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n\
00137 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT\n\
00138 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN\n\
00139 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n\
00140 # POSSIBILITY OF SUCH DAMAGE.\n\
00141 \n\
00142 Header header\n\
00143 \n\
00144 float64 height\n\
00145 float64 height_variance\n\
00146 \n\
00147 float64 climb\n\
00148 float64 climb_variance\n\
00149 \n\
00150 ================================================================================\n\
00151 MSG: std_msgs/Header\n\
00152 # Standard metadata for higher-level stamped data types.\n\
00153 # This is generally used to communicate timestamped data \n\
00154 # in a particular coordinate frame.\n\
00155 # \n\
00156 # sequence ID: consecutively increasing ID \n\
00157 uint32 seq\n\
00158 #Two-integer timestamp that is expressed as:\n\
00159 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00160 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00161 # time-handling sugar is provided by the client library\n\
00162 time stamp\n\
00163 #Frame this data is associated with\n\
00164 # 0: no frame\n\
00165 # 1: global frame\n\
00166 string frame_id\n\
00167 \n\
00168 ";
00169   }
00170 
00171   static const char* value(const  ::mav_msgs::Height_<ContainerAllocator> &) { return value(); } 
00172 };
00173 
00174 template<class ContainerAllocator> struct HasHeader< ::mav_msgs::Height_<ContainerAllocator> > : public TrueType {};
00175 template<class ContainerAllocator> struct HasHeader< const ::mav_msgs::Height_<ContainerAllocator> > : public TrueType {};
00176 } // namespace message_traits
00177 } // namespace ros
00178 
00179 namespace ros
00180 {
00181 namespace serialization
00182 {
00183 
00184 template<class ContainerAllocator> struct Serializer< ::mav_msgs::Height_<ContainerAllocator> >
00185 {
00186   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00187   {
00188     stream.next(m.header);
00189     stream.next(m.height);
00190     stream.next(m.height_variance);
00191     stream.next(m.climb);
00192     stream.next(m.climb_variance);
00193   }
00194 
00195   ROS_DECLARE_ALLINONE_SERIALIZER;
00196 }; // struct Height_
00197 } // namespace serialization
00198 } // namespace ros
00199 
00200 namespace ros
00201 {
00202 namespace message_operations
00203 {
00204 
00205 template<class ContainerAllocator>
00206 struct Printer< ::mav_msgs::Height_<ContainerAllocator> >
00207 {
00208   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::mav_msgs::Height_<ContainerAllocator> & v) 
00209   {
00210     s << indent << "header: ";
00211 s << std::endl;
00212     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00213     s << indent << "height: ";
00214     Printer<double>::stream(s, indent + "  ", v.height);
00215     s << indent << "height_variance: ";
00216     Printer<double>::stream(s, indent + "  ", v.height_variance);
00217     s << indent << "climb: ";
00218     Printer<double>::stream(s, indent + "  ", v.climb);
00219     s << indent << "climb_variance: ";
00220     Printer<double>::stream(s, indent + "  ", v.climb_variance);
00221   }
00222 };
00223 
00224 
00225 } // namespace message_operations
00226 } // namespace ros
00227 
00228 #endif // MAV_MSGS_MESSAGE_HEIGHT_H
00229 


mav_msgs
Author(s): Ivan Dryanovski, William Morris
autogenerated on Thu Jan 2 2014 11:28:10