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


quad_can_driver
Author(s): Henrique
autogenerated on Mon Jan 6 2014 11:48:02