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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:10