Illuminance.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/Illuminance.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_ILLUMINANCE_H
7 #define SENSOR_MSGS_MESSAGE_ILLUMINANCE_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  , illuminance(0.0)
31  , variance(0.0) {
32  }
33  Illuminance_(const ContainerAllocator& _alloc)
34  : header(_alloc)
35  , illuminance(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 _illuminance_type;
47 
48  typedef double _variance_type;
50 
51 
52 
53 
54  typedef std::shared_ptr< ::sensor_msgs::Illuminance_<ContainerAllocator> > Ptr;
55  typedef std::shared_ptr< ::sensor_msgs::Illuminance_<ContainerAllocator> const> ConstPtr;
56 
57 }; // struct Illuminance_
58 
59 typedef ::sensor_msgs::Illuminance_<std::allocator<void> > Illuminance;
60 
61 typedef std::shared_ptr< ::sensor_msgs::Illuminance > IlluminancePtr;
62 typedef std::shared_ptr< ::sensor_msgs::Illuminance const> IlluminanceConstPtr;
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::Illuminance_<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::Illuminance_<ContainerAllocator> >
94  : FalseType
95  { };
96 
97 template <class ContainerAllocator>
98 struct IsFixedSize< ::sensor_msgs::Illuminance_<ContainerAllocator> const>
99  : FalseType
100  { };
101 
102 template <class ContainerAllocator>
103 struct IsMessage< ::sensor_msgs::Illuminance_<ContainerAllocator> >
104  : TrueType
105  { };
106 
107 template <class ContainerAllocator>
108 struct IsMessage< ::sensor_msgs::Illuminance_<ContainerAllocator> const>
109  : TrueType
110  { };
111 
112 template <class ContainerAllocator>
113 struct HasHeader< ::sensor_msgs::Illuminance_<ContainerAllocator> >
114  : TrueType
115  { };
116 
117 template <class ContainerAllocator>
118 struct HasHeader< ::sensor_msgs::Illuminance_<ContainerAllocator> const>
119  : TrueType
120  { };
121 
122 
123 template<class ContainerAllocator>
124 struct MD5Sum< ::sensor_msgs::Illuminance_<ContainerAllocator> >
125 {
126  static const char* value()
127  {
128  return "8cf5febb0952fca9d650c3d11a81a188";
129  }
130 
131  static const char* value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) { return value(); }
132  static const uint64_t static_value1 = 0x8cf5febb0952fca9ULL;
133  static const uint64_t static_value2 = 0xd650c3d11a81a188ULL;
134 };
135 
136 template<class ContainerAllocator>
137 struct DataType< ::sensor_msgs::Illuminance_<ContainerAllocator> >
138 {
139  static const char* value()
140  {
141  return "sensor_msgs/Illuminance";
142  }
143 
144  static const char* value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) { return value(); }
145 };
146 
147 template<class ContainerAllocator>
148 struct Definition< ::sensor_msgs::Illuminance_<ContainerAllocator> >
149 {
150  static const char* value()
151  {
152  return " # Single photometric illuminance measurement. Light should be assumed to be\n\
153  # measured along the sensor's x-axis (the area of detection is the y-z plane).\n\
154  # The illuminance should have a 0 or positive value and be received with\n\
155  # the sensor's +X axis pointing toward the light source.\n\
156 \n\
157  # Photometric illuminance is the measure of the human eye's sensitivity of the\n\
158  # intensity of light encountering or passing through a surface.\n\
159 \n\
160  # All other Photometric and Radiometric measurements should\n\
161  # not use this message.\n\
162  # This message cannot represent:\n\
163  # Luminous intensity (candela/light source output)\n\
164  # Luminance (nits/light output per area)\n\
165  # Irradiance (watt/area), etc.\n\
166 \n\
167  Header header # timestamp is the time the illuminance was measured\n\
168  # frame_id is the location and direction of the reading\n\
169 \n\
170  float64 illuminance # Measurement of the Photometric Illuminance in Lux.\n\
171 \n\
172  float64 variance # 0 is interpreted as variance unknown\n\
173 ================================================================================\n\
174 MSG: std_msgs/Header\n\
175 # Standard metadata for higher-level stamped data types.\n\
176 # This is generally used to communicate timestamped data \n\
177 # in a particular coordinate frame.\n\
178 # \n\
179 # sequence ID: consecutively increasing ID \n\
180 uint32 seq\n\
181 #Two-integer timestamp that is expressed as:\n\
182 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
183 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
184 # time-handling sugar is provided by the client library\n\
185 time stamp\n\
186 #Frame this data is associated with\n\
187 # 0: no frame\n\
188 # 1: global frame\n\
189 string frame_id\n\
190 ";
191  }
192 
193  static const char* value(const ::sensor_msgs::Illuminance_<ContainerAllocator>&) { return value(); }
194 };
195 
196 } // namespace message_traits
197 } // namespace roswrap
198 
199 namespace roswrap
200 {
201 namespace serialization
202 {
203 
204  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::Illuminance_<ContainerAllocator> >
205  {
206  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
207  {
208  stream.next(m.header);
209  stream.next(m.illuminance);
210  stream.next(m.variance);
211  }
212 
214  }; // struct Illuminance_
215 
216 } // namespace serialization
217 } // namespace roswrap
218 
219 namespace roswrap
220 {
221 namespace message_operations
222 {
223 
224 template<class ContainerAllocator>
225 struct Printer< ::sensor_msgs::Illuminance_<ContainerAllocator> >
226 {
227  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::Illuminance_<ContainerAllocator>& v)
228  {
229  s << indent << "header: ";
230  s << std::endl;
232  s << indent << "illuminance: ";
233  Printer<double>::stream(s, indent + " ", v.illuminance);
234  s << indent << "variance: ";
235  Printer<double>::stream(s, indent + " ", v.variance);
236  }
237 };
238 
239 } // namespace message_operations
240 } // namespace roswrap
241 
242 #endif // SENSOR_MSGS_MESSAGE_ILLUMINANCE_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
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::IlluminancePtr
std::shared_ptr< ::sensor_msgs::Illuminance > IlluminancePtr
Definition: Illuminance.h:61
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::Illuminance_::Illuminance_
Illuminance_()
Definition: Illuminance.h:28
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
sensor_msgs::Illuminance_::Illuminance_
Illuminance_(const ContainerAllocator &_alloc)
Definition: Illuminance.h:33
sensor_msgs::Illuminance_::_variance_type
double _variance_type
Definition: Illuminance.h:48
roswrap::message_traits::Definition< ::sensor_msgs::Illuminance_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
Definition: Illuminance.h:193
sensor_msgs::Illuminance_::Ptr
std::shared_ptr< ::sensor_msgs::Illuminance_< ContainerAllocator > > Ptr
Definition: Illuminance.h:54
sensor_msgs::Illuminance_::_header_type
::std_msgs::Header_< ContainerAllocator > _header_type
Definition: Illuminance.h:42
roswrap::message_operations::Printer< ::sensor_msgs::Illuminance_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::Illuminance_< ContainerAllocator > &v)
Definition: Illuminance.h:227
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
sensor_msgs::Illuminance_::header
_header_type header
Definition: Illuminance.h:43
sensor_msgs::Illuminance_::_illuminance_type
double _illuminance_type
Definition: Illuminance.h:45
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::Illuminance_< ContainerAllocator > >::value
static const char * value()
Definition: Illuminance.h:139
roswrap::message_traits::DataType
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
roswrap::message_traits::MD5Sum< ::sensor_msgs::Illuminance_< ContainerAllocator > >::value
static const char * value()
Definition: Illuminance.h:126
roswrap::message_traits::Definition
Specialize to provide the definition for a message.
Definition: message_traits.h:152
roswrap::message_traits::MD5Sum< ::sensor_msgs::Illuminance_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
Definition: Illuminance.h:131
sensor_msgs::operator<<
std::ostream & operator<<(std::ostream &s, const ::sensor_msgs::BatteryState_< ContainerAllocator > &v)
Definition: BatteryState.h:187
sensor_msgs::Illuminance_::Type
Illuminance_< ContainerAllocator > Type
Definition: Illuminance.h:26
roswrap::message_traits::Definition< ::sensor_msgs::Illuminance_< ContainerAllocator > >::value
static const char * value()
Definition: Illuminance.h:150
roswrap::message_traits::DataType< ::sensor_msgs::Illuminance_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::Illuminance_< ContainerAllocator > &)
Definition: Illuminance.h:144
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
std_msgs::Header_
Definition: Header.h:23
sensor_msgs::IlluminanceConstPtr
std::shared_ptr< ::sensor_msgs::Illuminance const > IlluminanceConstPtr
Definition: Illuminance.h:62
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
sensor_msgs::Illuminance_::variance
_variance_type variance
Definition: Illuminance.h:49
roswrap::message_traits::MD5Sum
Specialize to provide the md5sum for a message.
Definition: message_traits.h:118
sensor_msgs::Illuminance_::ConstPtr
std::shared_ptr< ::sensor_msgs::Illuminance_< ContainerAllocator > const > ConstPtr
Definition: Illuminance.h:55
sensor_msgs::Illuminance_
Definition: Illuminance.h:24
sensor_msgs::Illuminance_::illuminance
_illuminance_type illuminance
Definition: Illuminance.h:46
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::Illuminance
::sensor_msgs::Illuminance_< std::allocator< void > > Illuminance
Definition: Illuminance.h:59
sensor_msgs
Tools for manipulating sensor_msgs.
roswrap::serialization::Serializer< ::sensor_msgs::Illuminance_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: Illuminance.h:206
Header.h


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