NavSatStatus.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/NavSatStatus.msg
3 // DO NOT EDIT!
4 
5 
6 #ifndef SENSOR_MSGS_MESSAGE_NAVSATSTATUS_H
7 #define SENSOR_MSGS_MESSAGE_NAVSATSTATUS_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 
20 namespace sensor_msgs
21 {
22 template <class ContainerAllocator>
24 {
26 
28  : status(0)
29  , service(0) {
30  }
31  NavSatStatus_(const ContainerAllocator& _alloc)
32  : status(0)
33  , service(0) {
34  (void)_alloc;
35  }
36 
37 
38 
39  typedef int8_t _status_type;
41 
42  typedef uint16_t _service_type;
44 
45 
46  enum { STATUS_NO_FIX = -1 };
47  enum { STATUS_FIX = 0 };
48  enum { STATUS_SBAS_FIX = 1 };
49  enum { STATUS_GBAS_FIX = 2 };
50  enum { SERVICE_GPS = 1u };
51  enum { SERVICE_GLONASS = 2u };
52  enum { SERVICE_COMPASS = 4u };
53  enum { SERVICE_GALILEO = 8u };
54 
55 
56  typedef std::shared_ptr< ::sensor_msgs::NavSatStatus_<ContainerAllocator> > Ptr;
57  typedef std::shared_ptr< ::sensor_msgs::NavSatStatus_<ContainerAllocator> const> ConstPtr;
58 
59 }; // struct NavSatStatus_
60 
61 typedef ::sensor_msgs::NavSatStatus_<std::allocator<void> > NavSatStatus;
62 
63 typedef std::shared_ptr< ::sensor_msgs::NavSatStatus > NavSatStatusPtr;
64 typedef std::shared_ptr< ::sensor_msgs::NavSatStatus const> NavSatStatusConstPtr;
65 
66 // constants requiring out of line definition
67 
68 
69 
70 
71 
72 
73 
74 
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 template<typename ContainerAllocator>
87 std::ostream& operator<<(std::ostream& s, const ::sensor_msgs::NavSatStatus_<ContainerAllocator> & v)
88 {
90 return s;
91 }
92 
93 } // namespace sensor_msgs
94 
95 namespace roswrap
96 {
97 namespace message_traits
98 {
99 
100 
101 
102 // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False}
103 // {'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']}
104 
105 // !!!!!!!!!!! ['__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']
106 
107 
108 
109 
110 template <class ContainerAllocator>
111 struct IsFixedSize< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
112  : TrueType
113  { };
114 
115 template <class ContainerAllocator>
116 struct IsFixedSize< ::sensor_msgs::NavSatStatus_<ContainerAllocator> const>
117  : TrueType
118  { };
119 
120 template <class ContainerAllocator>
121 struct IsMessage< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
122  : TrueType
123  { };
124 
125 template <class ContainerAllocator>
126 struct IsMessage< ::sensor_msgs::NavSatStatus_<ContainerAllocator> const>
127  : TrueType
128  { };
129 
130 template <class ContainerAllocator>
131 struct HasHeader< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
132  : FalseType
133  { };
134 
135 template <class ContainerAllocator>
136 struct HasHeader< ::sensor_msgs::NavSatStatus_<ContainerAllocator> const>
137  : FalseType
138  { };
139 
140 
141 template<class ContainerAllocator>
142 struct MD5Sum< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
143 {
144  static const char* value()
145  {
146  return "331cdbddfa4bc96ffc3b9ad98900a54c";
147  }
148 
149  static const char* value(const ::sensor_msgs::NavSatStatus_<ContainerAllocator>&) { return value(); }
150  static const uint64_t static_value1 = 0x331cdbddfa4bc96fULL;
151  static const uint64_t static_value2 = 0xfc3b9ad98900a54cULL;
152 };
153 
154 template<class ContainerAllocator>
155 struct DataType< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
156 {
157  static const char* value()
158  {
159  return "sensor_msgs/NavSatStatus";
160  }
161 
162  static const char* value(const ::sensor_msgs::NavSatStatus_<ContainerAllocator>&) { return value(); }
163 };
164 
165 template<class ContainerAllocator>
166 struct Definition< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
167 {
168  static const char* value()
169  {
170  return "# Navigation Satellite fix status for any Global Navigation Satellite System\n\
171 \n\
172 # Whether to output an augmented fix is determined by both the fix\n\
173 # type and the last time differential corrections were received. A\n\
174 # fix is valid when status >= STATUS_FIX.\n\
175 \n\
176 int8 STATUS_NO_FIX = -1 # unable to fix position\n\
177 int8 STATUS_FIX = 0 # unaugmented fix\n\
178 int8 STATUS_SBAS_FIX = 1 # with satellite-based augmentation\n\
179 int8 STATUS_GBAS_FIX = 2 # with ground-based augmentation\n\
180 \n\
181 int8 status\n\
182 \n\
183 # Bits defining which Global Navigation Satellite System signals were\n\
184 # used by the receiver.\n\
185 \n\
186 uint16 SERVICE_GPS = 1\n\
187 uint16 SERVICE_GLONASS = 2\n\
188 uint16 SERVICE_COMPASS = 4 # includes BeiDou.\n\
189 uint16 SERVICE_GALILEO = 8\n\
190 \n\
191 uint16 service\n\
192 ";
193  }
194 
195  static const char* value(const ::sensor_msgs::NavSatStatus_<ContainerAllocator>&) { return value(); }
196 };
197 
198 } // namespace message_traits
199 } // namespace roswrap
200 
201 namespace roswrap
202 {
203 namespace serialization
204 {
205 
206  template<class ContainerAllocator> struct Serializer< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
207  {
208  template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
209  {
210  stream.next(m.status);
211  stream.next(m.service);
212  }
213 
215  }; // struct NavSatStatus_
216 
217 } // namespace serialization
218 } // namespace roswrap
219 
220 namespace roswrap
221 {
222 namespace message_operations
223 {
224 
225 template<class ContainerAllocator>
226 struct Printer< ::sensor_msgs::NavSatStatus_<ContainerAllocator> >
227 {
228  template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::sensor_msgs::NavSatStatus_<ContainerAllocator>& v)
229  {
230  s << indent << "status: ";
231  Printer<int8_t>::stream(s, indent + " ", v.status);
232  s << indent << "service: ";
233  Printer<uint16_t>::stream(s, indent + " ", v.service);
234  }
235 };
236 
237 } // namespace message_operations
238 } // namespace roswrap
239 
240 #endif // SENSOR_MSGS_MESSAGE_NAVSATSTATUS_H
sensor_msgs::NavSatStatusConstPtr
std::shared_ptr< ::sensor_msgs::NavSatStatus const > NavSatStatusConstPtr
Definition: NavSatStatus.h:64
sensor_msgs::NavSatStatus_::Type
NavSatStatus_< ContainerAllocator > Type
Definition: NavSatStatus.h:25
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
roswrap::serialization::Serializer< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::allInOne
static void allInOne(Stream &stream, T m)
Definition: NavSatStatus.h:208
sensor_msgs::NavSatStatus_::ConstPtr
std::shared_ptr< ::sensor_msgs::NavSatStatus_< ContainerAllocator > const > ConstPtr
Definition: NavSatStatus.h:57
multiscan_pcap_player.indent
indent
Definition: multiscan_pcap_player.py:252
sensor_msgs::NavSatStatus_::SERVICE_GALILEO
@ SERVICE_GALILEO
Definition: NavSatStatus.h:53
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
roswrap::message_traits::MD5Sum< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &)
Definition: NavSatStatus.h:149
const
#define const
Definition: getopt.c:38
s
XmlRpcServer s
roswrap::message_traits::DataType< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatStatus.h:157
sensor_msgs::NavSatStatus_::NavSatStatus_
NavSatStatus_()
Definition: NavSatStatus.h:27
sensor_msgs::NavSatStatus_::STATUS_SBAS_FIX
@ STATUS_SBAS_FIX
Definition: NavSatStatus.h:48
sensor_msgs::NavSatStatus_::status
_status_type status
Definition: NavSatStatus.h:40
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_operations::Printer< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::stream
static void stream(Stream &s, const std::string &indent, const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &v)
Definition: NavSatStatus.h:228
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
Specialize to provide the datatype for a message.
Definition: message_traits.h:135
sensor_msgs::NavSatStatus_::SERVICE_COMPASS
@ SERVICE_COMPASS
Definition: NavSatStatus.h:52
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::NavSatStatusPtr
std::shared_ptr< ::sensor_msgs::NavSatStatus > NavSatStatusPtr
Definition: NavSatStatus.h:63
sensor_msgs::NavSatStatus_::SERVICE_GPS
@ SERVICE_GPS
Definition: NavSatStatus.h:50
sensor_msgs::NavSatStatus_::STATUS_NO_FIX
@ STATUS_NO_FIX
Definition: NavSatStatus.h:46
sensor_msgs::NavSatStatus_::NavSatStatus_
NavSatStatus_(const ContainerAllocator &_alloc)
Definition: NavSatStatus.h:31
roswrap
Definition: param_modi.cpp:41
roswrap::message_operations::Printer
Definition: message_operations.h:40
sensor_msgs::NavSatStatus_::SERVICE_GLONASS
@ SERVICE_GLONASS
Definition: NavSatStatus.h:51
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::NavSatStatus_::_service_type
uint16_t _service_type
Definition: NavSatStatus.h:42
sensor_msgs::NavSatStatus_::STATUS_FIX
@ STATUS_FIX
Definition: NavSatStatus.h:47
sensor_msgs::NavSatStatus_
Definition: NavSatStatus.h:23
roswrap::message_traits::Definition< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatStatus.h:168
sensor_msgs::NavSatStatus_::_status_type
int8_t _status_type
Definition: NavSatStatus.h:39
roswrap::message_traits::IsMessage
Am I message or not.
Definition: message_traits.h:112
roswrap::message_traits::DataType< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &)
Definition: NavSatStatus.h:162
sensor_msgs::NavSatStatus_::service
_service_type service
Definition: NavSatStatus.h:43
sensor_msgs::NavSatStatus_::Ptr
std::shared_ptr< ::sensor_msgs::NavSatStatus_< ContainerAllocator > > Ptr
Definition: NavSatStatus.h:56
sick_scan_base.h
roswrap::serialization::Stream
Stream base-class, provides common functionality for IStream and OStream.
Definition: serialization.h:705
sensor_msgs::NavSatStatus
::sensor_msgs::NavSatStatus_< std::allocator< void > > NavSatStatus
Definition: NavSatStatus.h:61
roswrap::message_traits::Definition< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value(const ::sensor_msgs::NavSatStatus_< ContainerAllocator > &)
Definition: NavSatStatus.h:195
sensor_msgs
Tools for manipulating sensor_msgs.
roswrap::message_traits::MD5Sum< ::sensor_msgs::NavSatStatus_< ContainerAllocator > >::value
static const char * value()
Definition: NavSatStatus.h:144
sensor_msgs::NavSatStatus_::STATUS_GBAS_FIX
@ STATUS_GBAS_FIX
Definition: NavSatStatus.h:49


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