JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
atlas_scientific__oem_ph.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_ph.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_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_5fph_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_5fph_2eproto;
54namespace jaiabot {
55namespace sensor {
56namespace protobuf {
57class AtlasScientificOEMpH;
58struct AtlasScientificOEMpHDefaultTypeInternal;
59extern AtlasScientificOEMpHDefaultTypeInternal _AtlasScientificOEMpH_default_instance_;
60} // namespace protobuf
61} // namespace sensor
62} // namespace jaiabot
63PROTOBUF_NAMESPACE_OPEN
64template<> ::jaiabot::sensor::protobuf::AtlasScientificOEMpH* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::AtlasScientificOEMpH>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace jaiabot {
67namespace sensor {
68namespace protobuf {
69
70// ===================================================================
71
72class AtlasScientificOEMpH final :
73 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.AtlasScientificOEMpH) */ {
74 public:
75 inline AtlasScientificOEMpH() : AtlasScientificOEMpH(nullptr) {}
76 ~AtlasScientificOEMpH() override;
77 explicit PROTOBUF_CONSTEXPR AtlasScientificOEMpH(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78
82 *this = ::std::move(from);
83 }
84
86 CopyFrom(from);
87 return *this;
88 }
89 inline AtlasScientificOEMpH& operator=(AtlasScientificOEMpH&& 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 AtlasScientificOEMpH& default_instance() {
121 }
122 static inline const AtlasScientificOEMpH* internal_default_instance() {
123 return reinterpret_cast<const AtlasScientificOEMpH*>(
125 }
126 static constexpr int kIndexInFileMessages =
127 0;
128
130 a.Swap(&b);
131 }
132 inline void Swap(AtlasScientificOEMpH* 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 AtlasScientificOEMpH* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
154 return CreateMaybeMessage<AtlasScientificOEMpH>(arena);
155 }
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 void CopyFrom(const AtlasScientificOEMpH& from);
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 void MergeFrom( const AtlasScientificOEMpH& from) {
160 AtlasScientificOEMpH::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(AtlasScientificOEMpH* other);
179
180 private:
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.AtlasScientificOEMpH";
184 }
185 protected:
186 explicit AtlasScientificOEMpH(::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 {
201 kPhFieldNumber = 2,
204 };
205 // optional double ph_raw = 1;
206 bool has_ph_raw() const;
207 private:
208 bool _internal_has_ph_raw() const;
209 public:
210 void clear_ph_raw();
211 double ph_raw() const;
212 void set_ph_raw(double value);
213 private:
214 double _internal_ph_raw() const;
215 void _internal_set_ph_raw(double value);
216 public:
217
218 // optional double ph = 2;
219 bool has_ph() const;
220 private:
221 bool _internal_has_ph() const;
222 public:
223 void clear_ph();
224 double ph() const;
225 void set_ph(double value);
226 private:
227 double _internal_ph() const;
228 void _internal_set_ph(double value);
229 public:
230
231 // optional double temperature = 3;
232 bool has_temperature() const;
233 private:
234 bool _internal_has_temperature() const;
235 public:
236 void clear_temperature();
237 double temperature() const;
238 void set_temperature(double value);
239 private:
240 double _internal_temperature() const;
241 void _internal_set_temperature(double value);
242 public:
243
244 // optional double temperature_voltage = 4;
245 bool has_temperature_voltage() const;
246 private:
247 bool _internal_has_temperature_voltage() const;
248 public:
250 double temperature_voltage() const;
251 void set_temperature_voltage(double value);
252 private:
253 double _internal_temperature_voltage() const;
254 void _internal_set_temperature_voltage(double value);
255 public:
256
257 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.AtlasScientificOEMpH)
258 private:
259 class _Internal;
260
261 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
262 typedef void InternalArenaConstructable_;
263 typedef void DestructorSkippable_;
264 struct Impl_ {
265 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
266 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
267 double ph_raw_;
268 double ph_;
269 double temperature_;
270 double temperature_voltage_;
271 };
272 union { Impl_ _impl_; };
273 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto;
274};
275// ===================================================================
276
277
278// ===================================================================
279
280#ifdef __GNUC__
281 #pragma GCC diagnostic push
282 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
283#endif // __GNUC__
284// AtlasScientificOEMpH
285
286// optional double ph_raw = 1;
287inline bool AtlasScientificOEMpH::_internal_has_ph_raw() const {
288 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
289 return value;
290}
291inline bool AtlasScientificOEMpH::has_ph_raw() const {
292 return _internal_has_ph_raw();
293}
295 _impl_.ph_raw_ = 0;
296 _impl_._has_bits_[0] &= ~0x00000001u;
297}
298inline double AtlasScientificOEMpH::_internal_ph_raw() const {
299 return _impl_.ph_raw_;
300}
301inline double AtlasScientificOEMpH::ph_raw() const {
302 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMpH.ph_raw)
303 return _internal_ph_raw();
304}
305inline void AtlasScientificOEMpH::_internal_set_ph_raw(double value) {
306 _impl_._has_bits_[0] |= 0x00000001u;
307 _impl_.ph_raw_ = value;
308}
309inline void AtlasScientificOEMpH::set_ph_raw(double value) {
310 _internal_set_ph_raw(value);
311 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMpH.ph_raw)
312}
313
314// optional double ph = 2;
315inline bool AtlasScientificOEMpH::_internal_has_ph() const {
316 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
317 return value;
318}
319inline bool AtlasScientificOEMpH::has_ph() const {
320 return _internal_has_ph();
321}
322inline void AtlasScientificOEMpH::clear_ph() {
323 _impl_.ph_ = 0;
324 _impl_._has_bits_[0] &= ~0x00000002u;
325}
326inline double AtlasScientificOEMpH::_internal_ph() const {
327 return _impl_.ph_;
328}
329inline double AtlasScientificOEMpH::ph() const {
330 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMpH.ph)
331 return _internal_ph();
332}
333inline void AtlasScientificOEMpH::_internal_set_ph(double value) {
334 _impl_._has_bits_[0] |= 0x00000002u;
335 _impl_.ph_ = value;
336}
337inline void AtlasScientificOEMpH::set_ph(double value) {
338 _internal_set_ph(value);
339 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMpH.ph)
340}
341
342// optional double temperature = 3;
343inline bool AtlasScientificOEMpH::_internal_has_temperature() const {
344 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
345 return value;
346}
347inline bool AtlasScientificOEMpH::has_temperature() const {
348 return _internal_has_temperature();
349}
351 _impl_.temperature_ = 0;
352 _impl_._has_bits_[0] &= ~0x00000004u;
353}
354inline double AtlasScientificOEMpH::_internal_temperature() const {
355 return _impl_.temperature_;
356}
357inline double AtlasScientificOEMpH::temperature() const {
358 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMpH.temperature)
359 return _internal_temperature();
360}
361inline void AtlasScientificOEMpH::_internal_set_temperature(double value) {
362 _impl_._has_bits_[0] |= 0x00000004u;
363 _impl_.temperature_ = value;
364}
365inline void AtlasScientificOEMpH::set_temperature(double value) {
366 _internal_set_temperature(value);
367 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMpH.temperature)
368}
369
370// optional double temperature_voltage = 4;
371inline bool AtlasScientificOEMpH::_internal_has_temperature_voltage() const {
372 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
373 return value;
374}
376 return _internal_has_temperature_voltage();
377}
379 _impl_.temperature_voltage_ = 0;
380 _impl_._has_bits_[0] &= ~0x00000008u;
381}
382inline double AtlasScientificOEMpH::_internal_temperature_voltage() const {
383 return _impl_.temperature_voltage_;
384}
385inline double AtlasScientificOEMpH::temperature_voltage() const {
386 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.AtlasScientificOEMpH.temperature_voltage)
387 return _internal_temperature_voltage();
388}
389inline void AtlasScientificOEMpH::_internal_set_temperature_voltage(double value) {
390 _impl_._has_bits_[0] |= 0x00000008u;
391 _impl_.temperature_voltage_ = value;
392}
393inline void AtlasScientificOEMpH::set_temperature_voltage(double value) {
394 _internal_set_temperature_voltage(value);
395 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.AtlasScientificOEMpH.temperature_voltage)
396}
397
398#ifdef __GNUC__
399 #pragma GCC diagnostic pop
400#endif // __GNUC__
401
402// @@protoc_insertion_point(namespace_scope)
403
404} // namespace protobuf
405} // namespace sensor
406} // namespace jaiabot
407
408// @@protoc_insertion_point(global_scope)
409
410#include <google/protobuf/port_undef.inc>
411#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto
AtlasScientificOEMpH & operator=(const AtlasScientificOEMpH &from)
void CopyFrom(const AtlasScientificOEMpH &from)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
friend void swap(AtlasScientificOEMpH &a, AtlasScientificOEMpH &b)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
AtlasScientificOEMpH * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const AtlasScientificOEMpH * internal_default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
AtlasScientificOEMpHDefaultTypeInternal _AtlasScientificOEMpH_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fatlas_5fscientific_5f_5foem_5fph_2eproto