Anemometer.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-isr-uc-ros-pkg/doc_stacks/2014-01-06_11-21-59.047934/lse_messages/lse_sensor_msgs/msg/Anemometer.msg */
00002 #ifndef LSE_SENSOR_MSGS_MESSAGE_ANEMOMETER_H
00003 #define LSE_SENSOR_MSGS_MESSAGE_ANEMOMETER_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 lse_sensor_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Anemometer_ {
00023   typedef Anemometer_<ContainerAllocator> Type;
00024 
00025   Anemometer_()
00026   : header()
00027   , wind_speed(0.0)
00028   , wind_direction(0.0)
00029   , min_wind_speed(0.0)
00030   , max_wind_speed(0.0)
00031   {
00032   }
00033 
00034   Anemometer_(const ContainerAllocator& _alloc)
00035   : header(_alloc)
00036   , wind_speed(0.0)
00037   , wind_direction(0.0)
00038   , min_wind_speed(0.0)
00039   , max_wind_speed(0.0)
00040   {
00041   }
00042 
00043   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00044    ::std_msgs::Header_<ContainerAllocator>  header;
00045 
00046   typedef float _wind_speed_type;
00047   float wind_speed;
00048 
00049   typedef float _wind_direction_type;
00050   float wind_direction;
00051 
00052   typedef float _min_wind_speed_type;
00053   float min_wind_speed;
00054 
00055   typedef float _max_wind_speed_type;
00056   float max_wind_speed;
00057 
00058 
00059   typedef boost::shared_ptr< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::lse_sensor_msgs::Anemometer_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct Anemometer
00063 typedef  ::lse_sensor_msgs::Anemometer_<std::allocator<void> > Anemometer;
00064 
00065 typedef boost::shared_ptr< ::lse_sensor_msgs::Anemometer> AnemometerPtr;
00066 typedef boost::shared_ptr< ::lse_sensor_msgs::Anemometer const> AnemometerConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::lse_sensor_msgs::Anemometer_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace lse_sensor_msgs
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::lse_sensor_msgs::Anemometer_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "3ee7846671a32f40083d540319a34a23";
00088   }
00089 
00090   static const char* value(const  ::lse_sensor_msgs::Anemometer_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x3ee7846671a32f40ULL;
00092   static const uint64_t static_value2 = 0x083d540319a34a23ULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "lse_sensor_msgs/Anemometer";
00100   }
00101 
00102   static const char* value(const  ::lse_sensor_msgs::Anemometer_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "Header header                               # timestamp and frame_id\n\
00110 \n\
00111 float32 wind_speed                      # m/s\n\
00112 float32 wind_direction          # rad\n\
00113 \n\
00114 float32 min_wind_speed          # m/s\n\
00115 float32 max_wind_speed          # m/s\n\
00116 \n\
00117 \n\
00118 ================================================================================\n\
00119 MSG: std_msgs/Header\n\
00120 # Standard metadata for higher-level stamped data types.\n\
00121 # This is generally used to communicate timestamped data \n\
00122 # in a particular coordinate frame.\n\
00123 # \n\
00124 # sequence ID: consecutively increasing ID \n\
00125 uint32 seq\n\
00126 #Two-integer timestamp that is expressed as:\n\
00127 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00128 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00129 # time-handling sugar is provided by the client library\n\
00130 time stamp\n\
00131 #Frame this data is associated with\n\
00132 # 0: no frame\n\
00133 # 1: global frame\n\
00134 string frame_id\n\
00135 \n\
00136 ";
00137   }
00138 
00139   static const char* value(const  ::lse_sensor_msgs::Anemometer_<ContainerAllocator> &) { return value(); } 
00140 };
00141 
00142 template<class ContainerAllocator> struct HasHeader< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > : public TrueType {};
00143 template<class ContainerAllocator> struct HasHeader< const ::lse_sensor_msgs::Anemometer_<ContainerAllocator> > : public TrueType {};
00144 } // namespace message_traits
00145 } // namespace ros
00146 
00147 namespace ros
00148 {
00149 namespace serialization
00150 {
00151 
00152 template<class ContainerAllocator> struct Serializer< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> >
00153 {
00154   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00155   {
00156     stream.next(m.header);
00157     stream.next(m.wind_speed);
00158     stream.next(m.wind_direction);
00159     stream.next(m.min_wind_speed);
00160     stream.next(m.max_wind_speed);
00161   }
00162 
00163   ROS_DECLARE_ALLINONE_SERIALIZER;
00164 }; // struct Anemometer_
00165 } // namespace serialization
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172 
00173 template<class ContainerAllocator>
00174 struct Printer< ::lse_sensor_msgs::Anemometer_<ContainerAllocator> >
00175 {
00176   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::lse_sensor_msgs::Anemometer_<ContainerAllocator> & v) 
00177   {
00178     s << indent << "header: ";
00179 s << std::endl;
00180     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00181     s << indent << "wind_speed: ";
00182     Printer<float>::stream(s, indent + "  ", v.wind_speed);
00183     s << indent << "wind_direction: ";
00184     Printer<float>::stream(s, indent + "  ", v.wind_direction);
00185     s << indent << "min_wind_speed: ";
00186     Printer<float>::stream(s, indent + "  ", v.min_wind_speed);
00187     s << indent << "max_wind_speed: ";
00188     Printer<float>::stream(s, indent + "  ", v.max_wind_speed);
00189   }
00190 };
00191 
00192 
00193 } // namespace message_operations
00194 } // namespace ros
00195 
00196 #endif // LSE_SENSOR_MSGS_MESSAGE_ANEMOMETER_H
00197 


lse_sensor_msgs
Author(s): Gonçalo Cabrita and Pedro Sousa
autogenerated on Mon Jan 6 2014 11:25:04