Temperature.h
Go to the documentation of this file.
1 // Generated by gencpp from file sensor_msgs/Temperature.msg
2 // DO NOT EDIT!
3 
4 
5 #ifndef SENSOR_MSGS_MESSAGE_TEMPERATURE_H
6 #define SENSOR_MSGS_MESSAGE_TEMPERATURE_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  , temperature(0.0)
30  , variance(0.0) {
31  }
32  Temperature_(const ContainerAllocator& _alloc)
33  : header(_alloc)
34  , temperature(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 _temperature_type;
45  _temperature_type temperature;
46 
47  typedef double _variance_type;
48  _variance_type variance;
49 
50 
51 
52 
55 
56 }; // struct Temperature_
57 
58 typedef ::sensor_msgs::Temperature_<std::allocator<void> > Temperature;
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::Temperature_<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::Temperature_<ContainerAllocator> >
93  : FalseType
94  { };
95 
96 template <class ContainerAllocator>
97 struct IsFixedSize< ::sensor_msgs::Temperature_<ContainerAllocator> const>
98  : FalseType
99  { };
100 
101 template <class ContainerAllocator>
102 struct IsMessage< ::sensor_msgs::Temperature_<ContainerAllocator> >
103  : TrueType
104  { };
105 
106 template <class ContainerAllocator>
107 struct IsMessage< ::sensor_msgs::Temperature_<ContainerAllocator> const>
108  : TrueType
109  { };
110 
111 template <class ContainerAllocator>
112 struct HasHeader< ::sensor_msgs::Temperature_<ContainerAllocator> >
113  : TrueType
114  { };
115 
116 template <class ContainerAllocator>
117 struct HasHeader< ::sensor_msgs::Temperature_<ContainerAllocator> const>
118  : TrueType
119  { };
120 
121 
122 template<class ContainerAllocator>
123 struct MD5Sum< ::sensor_msgs::Temperature_<ContainerAllocator> >
124 {
125  static const char* value()
126  {
127  return "ff71b307acdbe7c871a5a6d7ed359100";
128  }
129 
130  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
131  static const uint64_t static_value1 = 0xff71b307acdbe7c8ULL;
132  static const uint64_t static_value2 = 0x71a5a6d7ed359100ULL;
133 };
134 
135 template<class ContainerAllocator>
136 struct DataType< ::sensor_msgs::Temperature_<ContainerAllocator> >
137 {
138  static const char* value()
139  {
140  return "sensor_msgs/Temperature";
141  }
142 
143  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
144 };
145 
146 template<class ContainerAllocator>
147 struct Definition< ::sensor_msgs::Temperature_<ContainerAllocator> >
148 {
149  static const char* value()
150  {
151  return " # Single temperature reading.\n\
152 \n\
153  Header header # timestamp is the time the temperature was measured\n\
154  # frame_id is the location of the temperature reading\n\
155 \n\
156  float64 temperature # Measurement of the Temperature in Degrees Celsius\n\
157 \n\
158  float64 variance # 0 is interpreted as variance unknown\n\
159 ================================================================================\n\
160 MSG: std_msgs/Header\n\
161 # Standard metadata for higher-level stamped data types.\n\
162 # This is generally used to communicate timestamped data \n\
163 # in a particular coordinate frame.\n\
164 # \n\
165 # sequence ID: consecutively increasing ID \n\
166 uint32 seq\n\
167 #Two-integer timestamp that is expressed as:\n\
168 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
169 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
170 # time-handling sugar is provided by the client library\n\
171 time stamp\n\
172 #Frame this data is associated with\n\
173 # 0: no frame\n\
174 # 1: global frame\n\
175 string frame_id\n\
176 ";
177  }
178 
179  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
180 };
181 
182 } // namespace message_traits
183 } // namespace rs2rosinternal
184 
185 namespace rs2rosinternal
186 {
187 namespace serialization
188 {
189 
190  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::Temperature_<ContainerAllocator> >
191  {
192  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
193  {
194  stream.next(m.header);
195  stream.next(m.temperature);
196  stream.next(m.variance);
197  }
198 
200  }; // struct Temperature_
201 
202 } // namespace serialization
203 } // namespace rs2rosinternal
204 
205 namespace rs2rosinternal
206 {
207 namespace message_operations
208 {
209 
210 template<class ContainerAllocator>
211 struct Printer< ::sensor_msgs::Temperature_<ContainerAllocator> >
212 {
213  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::Temperature_<ContainerAllocator>& v)
214  {
215  s << indent << "header: ";
216  s << std::endl;
218  s << indent << "temperature: ";
219  Printer<double>::stream(s, indent + " ", v.temperature);
220  s << indent << "variance: ";
221  Printer<double>::stream(s, indent + " ", v.variance);
222  }
223 };
224 
225 } // namespace message_operations
226 } // namespace rs2rosinternal
227 
228 #endif // SENSOR_MSGS_MESSAGE_TEMPERATURE_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
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.
_temperature_type temperature
Definition: Temperature.h:45
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::Temperature_< ContainerAllocator > &v)
Definition: Temperature.h:213
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
boost::shared_ptr< ::sensor_msgs::Temperature > TemperaturePtr
Definition: Temperature.h:60
GLsizei const GLchar *const * string
boost::shared_ptr< ::sensor_msgs::Temperature_< ContainerAllocator > > Ptr
Definition: Temperature.h:53
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
Temperature_< ContainerAllocator > Type
Definition: Temperature.h:25
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
boost::shared_ptr< ::sensor_msgs::Temperature_< ContainerAllocator > const > ConstPtr
Definition: Temperature.h:54
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:143
Tools for manipulating sensor_msgs.
Definition: BatteryState.h:20
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:179
#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
Specialize to provide the definition for a message.
_variance_type variance
Definition: Temperature.h:48
boost::shared_ptr< ::sensor_msgs::Temperature const > TemperatureConstPtr
Definition: Temperature.h:61
::sensor_msgs::Temperature_< std::allocator< void > > Temperature
Definition: Temperature.h:58
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: Temperature.h:41
Templated serialization class. Default implementation provides backwards compatibility with old messa...
GLdouble v
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:130
Temperature_(const ContainerAllocator &_alloc)
Definition: Temperature.h:32


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