JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
turner__c_fluor.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/sensor/turner__c_fluor.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_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_2fturner_5f_5fc_5ffluor_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_2fturner_5f_5fc_5ffluor_2eproto;
54namespace jaiabot {
55namespace sensor {
56namespace protobuf {
57class TurnerCFluor;
58struct TurnerCFluorDefaultTypeInternal;
59extern TurnerCFluorDefaultTypeInternal _TurnerCFluor_default_instance_;
60} // namespace protobuf
61} // namespace sensor
62} // namespace jaiabot
63PROTOBUF_NAMESPACE_OPEN
64template<> ::jaiabot::sensor::protobuf::TurnerCFluor* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::TurnerCFluor>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace jaiabot {
67namespace sensor {
68namespace protobuf {
69
70// ===================================================================
71
72class TurnerCFluor final :
73 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.TurnerCFluor) */ {
74 public:
75 inline TurnerCFluor() : TurnerCFluor(nullptr) {}
76 ~TurnerCFluor() override;
77 explicit PROTOBUF_CONSTEXPR TurnerCFluor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
78
79 TurnerCFluor(const TurnerCFluor& from);
80 TurnerCFluor(TurnerCFluor&& from) noexcept
81 : TurnerCFluor() {
82 *this = ::std::move(from);
83 }
84
85 inline TurnerCFluor& operator=(const TurnerCFluor& from) {
86 CopyFrom(from);
87 return *this;
88 }
89 inline TurnerCFluor& operator=(TurnerCFluor&& 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 TurnerCFluor& default_instance() {
121 }
122 static inline const TurnerCFluor* internal_default_instance() {
123 return reinterpret_cast<const TurnerCFluor*>(
125 }
126 static constexpr int kIndexInFileMessages =
127 0;
128
129 friend void swap(TurnerCFluor& a, TurnerCFluor& b) {
130 a.Swap(&b);
131 }
132 inline void Swap(TurnerCFluor* 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 }
145 void UnsafeArenaSwap(TurnerCFluor* other) {
146 if (other == this) return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
148 InternalSwap(other);
149 }
150
151 // implements Message ----------------------------------------------
152
153 TurnerCFluor* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
154 return CreateMaybeMessage<TurnerCFluor>(arena);
155 }
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
157 void CopyFrom(const TurnerCFluor& from);
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
159 void MergeFrom( const TurnerCFluor& from) {
160 TurnerCFluor::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(TurnerCFluor* other);
179
180 private:
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.TurnerCFluor";
184 }
185 protected:
186 explicit TurnerCFluor(::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 {
202 };
203 // optional double concentration = 1;
204 bool has_concentration() const;
205 private:
206 bool _internal_has_concentration() const;
207 public:
208 void clear_concentration();
209 double concentration() const;
210 void set_concentration(double value);
211 private:
212 double _internal_concentration() const;
213 void _internal_set_concentration(double value);
214 public:
215
216 // optional double concentration_voltage = 2;
217 bool has_concentration_voltage() const;
218 private:
219 bool _internal_has_concentration_voltage() const;
220 public:
222 double concentration_voltage() const;
223 void set_concentration_voltage(double value);
224 private:
225 double _internal_concentration_voltage() const;
226 void _internal_set_concentration_voltage(double value);
227 public:
228
229 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.TurnerCFluor)
230 private:
231 class _Internal;
232
233 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
234 typedef void InternalArenaConstructable_;
235 typedef void DestructorSkippable_;
236 struct Impl_ {
237 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
238 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
239 double concentration_;
240 double concentration_voltage_;
241 };
242 union { Impl_ _impl_; };
243 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto;
244};
245// ===================================================================
246
247
248// ===================================================================
249
250#ifdef __GNUC__
251 #pragma GCC diagnostic push
252 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
253#endif // __GNUC__
254// TurnerCFluor
255
256// optional double concentration = 1;
257inline bool TurnerCFluor::_internal_has_concentration() const {
258 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
259 return value;
260}
261inline bool TurnerCFluor::has_concentration() const {
262 return _internal_has_concentration();
263}
265 _impl_.concentration_ = 0;
266 _impl_._has_bits_[0] &= ~0x00000001u;
267}
268inline double TurnerCFluor::_internal_concentration() const {
269 return _impl_.concentration_;
270}
271inline double TurnerCFluor::concentration() const {
272 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.TurnerCFluor.concentration)
273 return _internal_concentration();
274}
275inline void TurnerCFluor::_internal_set_concentration(double value) {
276 _impl_._has_bits_[0] |= 0x00000001u;
277 _impl_.concentration_ = value;
278}
279inline void TurnerCFluor::set_concentration(double value) {
280 _internal_set_concentration(value);
281 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.TurnerCFluor.concentration)
282}
283
284// optional double concentration_voltage = 2;
285inline bool TurnerCFluor::_internal_has_concentration_voltage() const {
286 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
287 return value;
288}
289inline bool TurnerCFluor::has_concentration_voltage() const {
290 return _internal_has_concentration_voltage();
291}
293 _impl_.concentration_voltage_ = 0;
294 _impl_._has_bits_[0] &= ~0x00000002u;
295}
296inline double TurnerCFluor::_internal_concentration_voltage() const {
297 return _impl_.concentration_voltage_;
298}
299inline double TurnerCFluor::concentration_voltage() const {
300 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.TurnerCFluor.concentration_voltage)
301 return _internal_concentration_voltage();
302}
303inline void TurnerCFluor::_internal_set_concentration_voltage(double value) {
304 _impl_._has_bits_[0] |= 0x00000002u;
305 _impl_.concentration_voltage_ = value;
306}
307inline void TurnerCFluor::set_concentration_voltage(double value) {
308 _internal_set_concentration_voltage(value);
309 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.TurnerCFluor.concentration_voltage)
310}
311
312#ifdef __GNUC__
313 #pragma GCC diagnostic pop
314#endif // __GNUC__
315
316// @@protoc_insertion_point(namespace_scope)
317
318} // namespace protobuf
319} // namespace sensor
320} // namespace jaiabot
321
322// @@protoc_insertion_point(global_scope)
323
324#include <google/protobuf/port_undef.inc>
325#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto
TurnerCFluor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const TurnerCFluor & default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const TurnerCFluor * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
TurnerCFluor & operator=(const TurnerCFluor &from)
friend void swap(TurnerCFluor &a, TurnerCFluor &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void CopyFrom(const TurnerCFluor &from)
void MergeFrom(const TurnerCFluor &from)
TurnerCFluorDefaultTypeInternal _TurnerCFluor_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto