Temperature.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/Temperature.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_TEMPERATURE_H
7 #define SENSOR_MSGS_MESSAGE_TEMPERATURE_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  , temperature(0.0)
31  , variance(0.0) {
32  }
33  Temperature_(const ContainerAllocator& _alloc)
34  : header(_alloc)
35  , temperature(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 _temperature_type;
47 
48  typedef double _variance_type;
50 
51 
52 
53 
54  typedef std::shared_ptr< ::sensor_msgs::Temperature_<ContainerAllocator> > Ptr;
55  typedef std::shared_ptr< ::sensor_msgs::Temperature_<ContainerAllocator> const> ConstPtr;
56 
57 }; // struct Temperature_
58 
59 typedef ::sensor_msgs::Temperature_<std::allocator<void> > Temperature;
60 
61 typedef std::shared_ptr< ::sensor_msgs::Temperature > TemperaturePtr;
62 typedef std::shared_ptr< ::sensor_msgs::Temperature const> TemperatureConstPtr;
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::Temperature_<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::Temperature_<ContainerAllocator> >
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsFixedSize< ::sensor_msgs::Temperature_<ContainerAllocator> const>
99  : FalseType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::sensor_msgs::Temperature_<ContainerAllocator> >
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct IsMessage< ::sensor_msgs::Temperature_<ContainerAllocator> const>
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::sensor_msgs::Temperature_<ContainerAllocator> >
114  : TrueType
115  { };
116 
117 template <class ContainerAllocator>
118 struct HasHeader< ::sensor_msgs::Temperature_<ContainerAllocator> const>
119  : TrueType
120  { };
121 
122 
123 template<class ContainerAllocator>
124 struct MD5Sum< ::sensor_msgs::Temperature_<ContainerAllocator> >
125 {
126  static const char* value()
127  {
128  return "ff71b307acdbe7c871a5a6d7ed359100";
129  }
130 
131  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
132  static const uint64_t static_value1 = 0xff71b307acdbe7c8ULL;
133  static const uint64_t static_value2 = 0x71a5a6d7ed359100ULL;
134 };
135 
136 template<class ContainerAllocator>
137 struct DataType< ::sensor_msgs::Temperature_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "sensor_msgs/Temperature";
142  }
143 
144  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
145 };
146 
147 template<class ContainerAllocator>
148 struct Definition< ::sensor_msgs::Temperature_<ContainerAllocator> >
149 {
150  static const char* value()
151  {
152  return " # Single temperature reading.\n\
153 \n\
154  Header header # timestamp is the time the temperature was measured\n\
155  # frame_id is the location of the temperature reading\n\
156 \n\
157  float64 temperature # Measurement of the Temperature in Degrees Celsius\n\
158 \n\
159  float64 variance # 0 is interpreted as variance unknown\n\
160 ================================================================================\n\
161 MSG: std_msgs/Header\n\
162 # Standard metadata for higher-level stamped data types.\n\
163 # This is generally used to communicate timestamped data \n\
164 # in a particular coordinate frame.\n\
165 # \n\
166 # sequence ID: consecutively increasing ID \n\
167 uint32 seq\n\
168 #Two-integer timestamp that is expressed as:\n\
169 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
170 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
171 # time-handling sugar is provided by the client library\n\
172 time stamp\n\
173 #Frame this data is associated with\n\
174 # 0: no frame\n\
175 # 1: global frame\n\
176 string frame_id\n\
177 ";
178  }
179 
180  static const char* value(const ::sensor_msgs::Temperature_<ContainerAllocator>&) { return value(); }
181 };
182 
183 } // namespace message_traits
184 } // namespace roswrap
185 
186 namespace roswrap
187 {
188 namespace serialization
189 {
190 
191  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::Temperature_<ContainerAllocator> >
192  {
193  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
194  {
195  stream.next(m.header);
196  stream.next(m.temperature);
197  stream.next(m.variance);
198  }
199 
201  }; // struct Temperature_
202 
203 } // namespace serialization
204 } // namespace roswrap
205 
206 namespace roswrap
207 {
208 namespace message_operations
209 {
210 
211 template<class ContainerAllocator>
212 struct Printer< ::sensor_msgs::Temperature_<ContainerAllocator> >
213 {
214  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::Temperature_<ContainerAllocator>& v)
215  {
216  s << indent << "header: ";
217  s << std::endl;
219  s << indent << "temperature: ";
220  Printer<double>::stream(s, indent + " ", v.temperature);
221  s << indent << "variance: ";
222  Printer<double>::stream(s, indent + " ", v.variance);
223  }
224 };
225 
226 } // namespace message_operations
227 } // namespace roswrap
228 
229 #endif // SENSOR_MSGS_MESSAGE_TEMPERATURE_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::Temperature_::header
_header_type header
Definition: Temperature.h:43
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::TemperatureConstPtr
std::shared_ptr< ::sensor_msgs::Temperature const > TemperatureConstPtr
Definition: Temperature.h:62
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
sensor_msgs::Temperature_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: Temperature.h:42
roswrap::serialization::Serializer< ::sensor_msgs::Temperature_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Temperature.h:193
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
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::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::Definition< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value()
Definition: Temperature.h:150
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
sensor_msgs::Temperature_::_variance_type
double _variance_type
Definition: Temperature.h:48
sensor_msgs::Temperature_::variance
_variance_type variance
Definition: Temperature.h:49
roswrap::message_traits::MD5Sum< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value()
Definition: Temperature.h:126
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
roswrap::message_traits::Definition< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:180
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::Temperature
::sensor_msgs::Temperature_< std::allocator< void > > Temperature
Definition: Temperature.h:59
roswrap
Definition: param_modi.cpp:41
sensor_msgs::Temperature_::Temperature_
Temperature_()
Definition: Temperature.h:28
roswrap::message_operations::Printer< ::sensor_msgs::Temperature_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::Temperature_< ContainerAllocator > &v)
Definition: Temperature.h:214
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
roswrap::message_traits::DataType< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value()
Definition: Temperature.h:139
sensor_msgs::Temperature_
Definition: Temperature.h:24
sensor_msgs::Temperature_::_temperature_type
double _temperature_type
Definition: Temperature.h:45
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::TemperaturePtr
std::shared_ptr< ::sensor_msgs::Temperature > TemperaturePtr
Definition: Temperature.h:61
sensor_msgs::Temperature_::temperature
_temperature_type temperature
Definition: Temperature.h:46
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sensor_msgs::Temperature_::Temperature_
Temperature_(const ContainerAllocator &_alloc)
Definition: Temperature.h:33
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::Temperature_::Ptr
std::shared_ptr< ::sensor_msgs::Temperature_< ContainerAllocator > > Ptr
Definition: Temperature.h:54
sensor_msgs::Temperature_::ConstPtr
std::shared_ptr< ::sensor_msgs::Temperature_< ContainerAllocator > const > ConstPtr
Definition: Temperature.h:55
sensor_msgs::Temperature_::Type
Temperature_< ContainerAllocator > Type
Definition: Temperature.h:26
sensor_msgs
Tools for manipulating sensor_msgs.
Header.h
roswrap::message_traits::DataType< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:144
roswrap::message_traits::MD5Sum< ::sensor_msgs::Temperature_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Temperature_< ContainerAllocator > &)
Definition: Temperature.h:131


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