RelativeHumidity.h
Go to the documentation of this file.
1 // Generated by gencpp from file sensor_msgs/RelativeHumidity.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SENSOR_MSGS_MESSAGE_RELATIVEHUMIDITY_H
6 #define SENSOR_MSGS_MESSAGE_RELATIVEHUMIDITY_H
7 
8 
9 #include <string>
10 #include <vector>
11 #include <map>
12 
13 #include <ros/types.h>
14 #include <ros/serialization.h>
16 #include <ros/message_operations.h>
17 
18 #include <std_msgs/Header.h>
19 
20 namespace sensor_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : header()
29  , relative_humidity(0.0)
30  , variance(0.0) {
31  }
32  RelativeHumidity_(const ContainerAllocator& _alloc)
33  : header(_alloc)
34  , relative_humidity(0.0)
35  , variance(0.0) {
36  (void)_alloc;
37  }
38 
39 
40 
41  typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
42  _header_type header;
43 
44  typedef double _relative_humidity_type;
45  _relative_humidity_type relative_humidity;
46 
47  typedef double _variance_type;
48  _variance_type variance;
49 
50 
51 
52 
55 
56 }; // struct RelativeHumidity_
57 
58 typedef ::sensor_msgs::RelativeHumidity_<std::allocator<void> > RelativeHumidity;
59 
62 
63 // constants requiring out of line definition
64 
65 
66 
67 template<typename ContainerAllocator>
68 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::RelativeHumidity_<ContainerAllocator> & v)
69 {
71 return s;
72 }
73 
74 } // namespace sensor_msgs
75 
76 namespace rs2rosinternal
77 {
78 namespace message_traits
79 {
80 
81 
82 
83 // BOOLTRAITS {'IsFixedSize': False, 'IsMessage': True, 'HasHeader': True}
84 // {'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'sensor_msgs': ['/tmp/binarydeb/ros-kinetic-sensor-msgs-1.12.5/msg']}
85 
86 // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types']
87 
88 
89 
90 
91 template <class ContainerAllocator>
92 struct IsFixedSize< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> const>
118  : TrueType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "8730015b05955b7e992ce29a2678d90f";
128  }
129 
130  static const char* value(const ::sensor_msgs::RelativeHumidity_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0x8730015b05955b7eULL;
132  static const uint64_t static_value2 = 0x992ce29a2678d90fULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "sensor_msgs/RelativeHumidity";
141  }
142 
143  static const char* value(const ::sensor_msgs::RelativeHumidity_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return " # Single reading from a relative humidity sensor. Defines the ratio of partial\n\
152  # pressure of water vapor to the saturated vapor pressure at a temperature.\n\
153 \n\
154  Header header # timestamp of the measurement\n\
155  # frame_id is the location of the humidity sensor\n\
156 \n\
157  float64 relative_humidity # Expression of the relative humidity\n\
158  # from 0.0 to 1.0.\n\
159  # 0.0 is no partial pressure of water vapor\n\
160  # 1.0 represents partial pressure of saturation\n\
161 \n\
162  float64 variance # 0 is interpreted as variance unknown\n\
163 ================================================================================\n\
164 MSG: std_msgs/Header\n\
165 # Standard metadata for higher-level stamped data types.\n\
166 # This is generally used to communicate timestamped data \n\
167 # in a particular coordinate frame.\n\
168 # \n\
169 # sequence ID: consecutively increasing ID \n\
170 uint32 seq\n\
171 #Two-integer timestamp that is expressed as:\n\
172 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
173 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
174 # time-handling sugar is provided by the client library\n\
175 time stamp\n\
176 #Frame this data is associated with\n\
177 # 0: no frame\n\
178 # 1: global frame\n\
179 string frame_id\n\
180 ";
181  }
182 
183  static const char* value(const ::sensor_msgs::RelativeHumidity_<ContainerAllocator>&) { return value(); }
184 };
185 
186 } // namespace message_traits
187 } // namespace rs2rosinternal
188 
189 namespace rs2rosinternal
190 {
191 namespace serialization
192 {
193 
194  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
195  {
196  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
197  {
198  stream.next(m.header);
199  stream.next(m.relative_humidity);
200  stream.next(m.variance);
201  }
202 
204  }; // struct RelativeHumidity_
205 
206 } // namespace serialization
207 } // namespace rs2rosinternal
208 
209 namespace rs2rosinternal
210 {
211 namespace message_operations
212 {
213 
214 template<class ContainerAllocator>
215 struct Printer< ::sensor_msgs::RelativeHumidity_<ContainerAllocator> >
216 {
217  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::RelativeHumidity_<ContainerAllocator>& v)
218  {
219  s << indent << "header: ";
220  s << std::endl;
222  s << indent << "relative_humidity: ";
223  Printer<double>::stream(s, indent + " ", v.relative_humidity);
224  s << indent << "variance: ";
225  Printer<double>::stream(s, indent + " ", v.variance);
226  }
227 };
228 
229 } // namespace message_operations
230 } // namespace rs2rosinternal
231 
232 #endif // SENSOR_MSGS_MESSAGE_RELATIVEHUMIDITY_H
static const char * value(const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &)
::std_msgs::Header_< ContainerAllocator > _header_type
boost::shared_ptr< ::sensor_msgs::RelativeHumidity const > RelativeHumidityConstPtr
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
::sensor_msgs::RelativeHumidity_< std::allocator< void > > RelativeHumidity
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLdouble s
const GLfloat * m
Definition: glext.h:6814
Specialize to provide the md5sum for a message.
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
GLsizei const GLchar *const * string
static const char * value(const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &)
static const char * value(const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &)
Specialize to provide the datatype for a message.
HasHeader informs whether or not there is a header that gets serialized as the first thing in the mes...
GLuint GLuint stream
Definition: glext.h:1790
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
_relative_humidity_type relative_humidity
RelativeHumidity_< ContainerAllocator > Type
Tools for manipulating sensor_msgs.
Definition: BatteryState.h:20
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Definition: stdint.h:90
RelativeHumidity_(const ContainerAllocator &_alloc)
Specialize to provide the definition for a message.
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::RelativeHumidity_< ContainerAllocator > &v)
boost::shared_ptr< ::sensor_msgs::RelativeHumidity_< ContainerAllocator > const > ConstPtr
boost::shared_ptr< ::sensor_msgs::RelativeHumidity > RelativeHumidityPtr
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v
boost::shared_ptr< ::sensor_msgs::RelativeHumidity_< ContainerAllocator > > Ptr


librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:47:39