JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
atlas_scientific__oem_do.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/sensor/atlas_scientific__oem_do.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
6
7#include <limits>
8#include <string>
9
10#include <google/protobuf/port_def.inc>
11#if PROTOBUF_VERSION < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
14#error your headers.
15#endif
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
20#endif
21
22#include <google/protobuf/port_undef.inc>
23#include <google/protobuf/io/coded_stream.h>
24#include <google/protobuf/arena.h>
25#include <google/protobuf/arenastring.h>
26#include <google/protobuf/generated_message_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38
39#include <boost/units/systems/si.hpp>
40// @@protoc_insertion_point(includes)
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
43PROTOBUF_NAMESPACE_OPEN
44namespace internal {
45class AnyMetadata;
46} // namespace internal
47PROTOBUF_NAMESPACE_CLOSE
48
49// Internal implementation detail -- do not use these members.
51 static const uint32_t offsets[];
52};
53extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
54namespace jaiabot {
55namespace sensor {
56namespace protobuf {
57class AtlasScientificOEMDO;
58struct AtlasScientificOEMDODefaultTypeInternal;
59extern AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_;
60} // namespace protobuf
61} // namespace sensor
62} // namespace jaiabot
63PROTOBUF_NAMESPACE_OPEN
64template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMDO* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMDO>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace jaiabot {
67namespace sensor {
68namespace protobuf {
69
70// ===================================================================
71
72class AtlasScientificOEMDO final :
73 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.AtlasScientificOEMDO) */ {
74 public:
75 inline AtlasScientificOEMDO() : AtlasScientificOEMDO(nullptr) {}
76 ~AtlasScientificOEMDO() override;
77 explicit PROTOBUF_CONSTEXPR AtlasScientificOEMDO(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78
82 *this = ::std::move(from);
83 }
84
86 CopyFrom(from);
87 return *this;
88 }
89 inline AtlasScientificOEMDO& operator=(AtlasScientificOEMDO&& from) noexcept {
90 if (this == &from) return *this;
91 if (GetOwningArena() == from.GetOwningArena()
92 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
93 && GetOwningArena() != nullptr
94 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
95 ) {
96 InternalSwap(&from);
97 } else {
98 CopyFrom(from);
99 }
100 return *this;
101 }
102
103 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
104 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
105 }
106 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
107 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
108 }
109
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111 return GetDescriptor();
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114 return default_instance().GetMetadata().descriptor;
115 }
116 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117 return default_instance().GetMetadata().reflection;
118 }
119 static const AtlasScientificOEMDO& default_instance() {
121 }
122 static inline const AtlasScientificOEMDO* internal_default_instance() {
123 return reinterpret_cast<const AtlasScientificOEMDO*>(
125 }
126 static constexpr int kIndexInFileMessages =
127 0;
128
130 a.Swap(&b);
131 }
132 inline void Swap(AtlasScientificOEMDO* other) {
133 if (other == this) return;
134 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() != nullptr &&
136 GetOwningArena() == other->GetOwningArena()) {
137 #else // PROTOBUF_FORCE_COPY_IN_SWAP
138 if (GetOwningArena() == other->GetOwningArena()) {
139 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
140 InternalSwap(other);
141 } else {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
143 }
144 }
146 if (other == this) return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 AtlasScientificOEMDO* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
154 return CreateMaybeMessage<AtlasScientificOEMDO>(arena);
155 }
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 void CopyFrom(const AtlasScientificOEMDO& from);
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 void MergeFrom( const AtlasScientificOEMDO& from) {
160 AtlasScientificOEMDO::MergeImpl(*this, from);
161 }
162 private:
163 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
164 public:
165 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
166 bool IsInitialized() const final;
167
168 size_t ByteSizeLong() const final;
169 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
170 uint8_t* _InternalSerialize(
171 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
172 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
173
174 private:
175 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
176 void SharedDtor();
177 void SetCachedSize(int size) const final;
178 void InternalSwap(AtlasScientificOEMDO* other);
179
180 private:
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.AtlasScientificOEMDO";
184 }
185 protected:
186 explicit AtlasScientificOEMDO(::PROTOBUF_NAMESPACE_ID::Arena* arena,
187 bool is_message_owned = false);
188 public:
189
190 static const ClassData _class_data_;
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
192
193 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
194
195 // nested types ----------------------------------------------------
196
197 // accessors -------------------------------------------------------
198
199 enum : int {
206 };
207 // optional double do_raw = 1;
208 bool has_do_raw() const;
209 private:
210 bool _internal_has_do_raw() const;
211 public:
212 void clear_do_raw();
213 double do_raw() const;
214 void set_do_raw(double value);
215 private:
216 double _internal_do_raw() const;
217 void _internal_set_do_raw(double value);
218 public:
219
220 // optional double do_solubility = 2;
221 bool has_do_solubility() const;
222 private:
223 bool _internal_has_do_solubility() const;
224 public:
225 void clear_do_solubility();
226 double do_solubility() const;
227 void set_do_solubility(double value);
228 private:
229 double _internal_do_solubility() const;
230 void _internal_set_do_solubility(double value);
231 public:
232
233 // optional double do_saturation_percent = 3;
234 bool has_do_saturation_percent() const;
235 private:
236 bool _internal_has_do_saturation_percent() const;
237 public:
239 double do_saturation_percent() const;
240 void set_do_saturation_percent(double value);
241 private:
242 double _internal_do_saturation_percent() const;
243 void _internal_set_do_saturation_percent(double value);
244 public:
245
246 // optional double do_normalized_solubility = 4;
247 bool has_do_normalized_solubility() const;
248 private:
249 bool _internal_has_do_normalized_solubility() const;
250 public:
252 double do_normalized_solubility() const;
253 void set_do_normalized_solubility(double value);
254 private:
255 double _internal_do_normalized_solubility() const;
256 void _internal_set_do_normalized_solubility(double value);
257 public:
258
259 // optional double temperature = 5;
260 bool has_temperature() const;
261 private:
262 bool _internal_has_temperature() const;
263 public:
264 void clear_temperature();
265 double temperature() const;
266 void set_temperature(double value);
267 private:
268 double _internal_temperature() const;
269 void _internal_set_temperature(double value);
270 public:
271
272 // optional double temperature_voltage = 6;
273 bool has_temperature_voltage() const;
274 private:
275 bool _internal_has_temperature_voltage() const;
276 public:
278 double temperature_voltage() const;
279 void set_temperature_voltage(double value);
280 private:
281 double _internal_temperature_voltage() const;
282 void _internal_set_temperature_voltage(double value);
283 public:
284
285 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.AtlasScientificOEMDO)
286 private:
287 class _Internal;
288
289 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
292 struct Impl_ {
293 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
294 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
295 double do_raw_;
296 double do_solubility_;
297 double do_saturation_percent_;
298 double do_normalized_solubility_;
299 double temperature_;
300 double temperature_voltage_;
301 };
302 union { Impl_ _impl_; };
303 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto;
304};
305// ===================================================================
306
307
308// ===================================================================
309
310#ifdef __GNUC__
311 #pragma GCC diagnostic push
312 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
313#endif // __GNUC__
314// AtlasScientificOEMDO
315
316// optional double do_raw = 1;
317inline bool AtlasScientificOEMDO::_internal_has_do_raw() const {
318 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
319 return value;
320}
321inline bool AtlasScientificOEMDO::has_do_raw() const {
322 return _internal_has_do_raw();
323}
325 _impl_.do_raw_ = 0;
326 _impl_._has_bits_[0] &= ~0x00000001u;
327}
328inline double AtlasScientificOEMDO::_internal_do_raw() const {
329 return _impl_.do_raw_;
330}
331inline double AtlasScientificOEMDO::do_raw() const {
332 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_raw)
333 return _internal_do_raw();
334}
335inline void AtlasScientificOEMDO::_internal_set_do_raw(double value) {
336 _impl_._has_bits_[0] |= 0x00000001u;
337 _impl_.do_raw_ = value;
338}
339inline void AtlasScientificOEMDO::set_do_raw(double value) {
340 _internal_set_do_raw(value);
341 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_raw)
342}
343
344// optional double do_solubility = 2;
345inline bool AtlasScientificOEMDO::_internal_has_do_solubility() const {
346 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
347 return value;
348}
349inline bool AtlasScientificOEMDO::has_do_solubility() const {
350 return _internal_has_do_solubility();
351}
353 _impl_.do_solubility_ = 0;
354 _impl_._has_bits_[0] &= ~0x00000002u;
355}
356inline double AtlasScientificOEMDO::_internal_do_solubility() const {
357 return _impl_.do_solubility_;
358}
359inline double AtlasScientificOEMDO::do_solubility() const {
360 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_solubility)
361 return _internal_do_solubility();
362}
363inline void AtlasScientificOEMDO::_internal_set_do_solubility(double value) {
364 _impl_._has_bits_[0] |= 0x00000002u;
365 _impl_.do_solubility_ = value;
366}
367inline void AtlasScientificOEMDO::set_do_solubility(double value) {
368 _internal_set_do_solubility(value);
369 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_solubility)
370}
371
372// optional double do_saturation_percent = 3;
373inline bool AtlasScientificOEMDO::_internal_has_do_saturation_percent() const {
374 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
375 return value;
376}
378 return _internal_has_do_saturation_percent();
379}
381 _impl_.do_saturation_percent_ = 0;
382 _impl_._has_bits_[0] &= ~0x00000004u;
383}
384inline double AtlasScientificOEMDO::_internal_do_saturation_percent() const {
385 return _impl_.do_saturation_percent_;
386}
388 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_saturation_percent)
389 return _internal_do_saturation_percent();
390}
391inline void AtlasScientificOEMDO::_internal_set_do_saturation_percent(double value) {
392 _impl_._has_bits_[0] |= 0x00000004u;
393 _impl_.do_saturation_percent_ = value;
394}
395inline void AtlasScientificOEMDO::set_do_saturation_percent(double value) {
396 _internal_set_do_saturation_percent(value);
397 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_saturation_percent)
398}
399
400// optional double do_normalized_solubility = 4;
401inline bool AtlasScientificOEMDO::_internal_has_do_normalized_solubility() const {
402 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
403 return value;
404}
406 return _internal_has_do_normalized_solubility();
407}
409 _impl_.do_normalized_solubility_ = 0;
410 _impl_._has_bits_[0] &= ~0x00000008u;
411}
412inline double AtlasScientificOEMDO::_internal_do_normalized_solubility() const {
413 return _impl_.do_normalized_solubility_;
414}
416 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_normalized_solubility)
417 return _internal_do_normalized_solubility();
418}
419inline void AtlasScientificOEMDO::_internal_set_do_normalized_solubility(double value) {
420 _impl_._has_bits_[0] |= 0x00000008u;
421 _impl_.do_normalized_solubility_ = value;
422}
424 _internal_set_do_normalized_solubility(value);
425 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.do_normalized_solubility)
426}
427
428// optional double temperature = 5;
429inline bool AtlasScientificOEMDO::_internal_has_temperature() const {
430 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
431 return value;
432}
433inline bool AtlasScientificOEMDO::has_temperature() const {
434 return _internal_has_temperature();
435}
437 _impl_.temperature_ = 0;
438 _impl_._has_bits_[0] &= ~0x00000010u;
439}
440inline double AtlasScientificOEMDO::_internal_temperature() const {
441 return _impl_.temperature_;
442}
443inline double AtlasScientificOEMDO::temperature() const {
444 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature)
445 return _internal_temperature();
446}
447inline void AtlasScientificOEMDO::_internal_set_temperature(double value) {
448 _impl_._has_bits_[0] |= 0x00000010u;
449 _impl_.temperature_ = value;
450}
451inline void AtlasScientificOEMDO::set_temperature(double value) {
452 _internal_set_temperature(value);
453 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature)
454}
455
456// optional double temperature_voltage = 6;
457inline bool AtlasScientificOEMDO::_internal_has_temperature_voltage() const {
458 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
459 return value;
460}
462 return _internal_has_temperature_voltage();
463}
465 _impl_.temperature_voltage_ = 0;
466 _impl_._has_bits_[0] &= ~0x00000020u;
467}
468inline double AtlasScientificOEMDO::_internal_temperature_voltage() const {
469 return _impl_.temperature_voltage_;
470}
471inline double AtlasScientificOEMDO::temperature_voltage() const {
472 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature_voltage)
473 return _internal_temperature_voltage();
474}
475inline void AtlasScientificOEMDO::_internal_set_temperature_voltage(double value) {
476 _impl_._has_bits_[0] |= 0x00000020u;
477 _impl_.temperature_voltage_ = value;
478}
479inline void AtlasScientificOEMDO::set_temperature_voltage(double value) {
480 _internal_set_temperature_voltage(value);
481 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMDO.temperature_voltage)
482}
483
484#ifdef __GNUC__
485 #pragma GCC diagnostic pop
486#endif // __GNUC__
487
488// @@protoc_insertion_point(namespace_scope)
489
490} // namespace protobuf
491} // namespace sensor
492} // namespace jaiabot
493
494// @@protoc_insertion_point(global_scope)
495
496#include <google/protobuf/port_undef.inc>
497#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const AtlasScientificOEMDO * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void CopyFrom(const AtlasScientificOEMDO &from)
friend void swap(AtlasScientificOEMDO &a, AtlasScientificOEMDO &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
AtlasScientificOEMDO & operator=(const AtlasScientificOEMDO &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
AtlasScientificOEMDO * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
AtlasScientificOEMDODefaultTypeInternal _AtlasScientificOEMDO_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fdo_2eproto