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


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