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
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
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.
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>
31#include <google/protobuf/extension_set.h>
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>
39#include <boost/units/systems/si.hpp>
41#include <google/protobuf/port_def.inc>
42#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto
43PROTOBUF_NAMESPACE_OPEN
47PROTOBUF_NAMESPACE_CLOSE
51 static const uint32_t
offsets[];
58struct TurnerCFluorDefaultTypeInternal;
63PROTOBUF_NAMESPACE_OPEN
65PROTOBUF_NAMESPACE_CLOSE
72class TurnerCFluor final :
73 public ::PROTOBUF_NAMESPACE_ID::Message {
77 explicit PROTOBUF_CONSTEXPR
TurnerCFluor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
82 *
this = ::std::move(from);
90 if (
this == &from)
return *
this;
91 if (GetOwningArena() == from.GetOwningArena()
92 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
93 && GetOwningArena() !=
nullptr
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);
107 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
113 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
GetDescriptor() {
116 static const ::PROTOBUF_NAMESPACE_ID::Reflection*
GetReflection() {
133 if (other ==
this)
return;
134 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() !=
nullptr &&
136 GetOwningArena() == other->GetOwningArena()) {
138 if (GetOwningArena() == other->GetOwningArena()) {
142 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
146 if (other ==
this)
return;
147 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
153 TurnerCFluor*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
154 return CreateMaybeMessage<TurnerCFluor>(arena);
156 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 TurnerCFluor::MergeImpl(*
this, from);
163 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
171 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
177 void SetCachedSize(
int size)
const final;
181 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
182 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
183 return "jaiabot.sensor.protobuf.TurnerCFluor";
186 explicit TurnerCFluor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
187 bool is_message_owned =
false);
191 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
193 ::PROTOBUF_NAMESPACE_ID::Metadata
GetMetadata() const final;
206 bool _internal_has_concentration()
const;
212 double _internal_concentration()
const;
213 void _internal_set_concentration(
double value);
219 bool _internal_has_concentration_voltage()
const;
225 double _internal_concentration_voltage()
const;
226 void _internal_set_concentration_voltage(
double value);
233 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
234 typedef void InternalArenaConstructable_;
235 typedef void DestructorSkippable_;
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_;
243 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto;
251 #pragma GCC diagnostic push
252 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
257inline bool TurnerCFluor::_internal_has_concentration()
const {
258 bool value = (
_impl_._has_bits_[0] & 0x00000001u) != 0;
262 return _internal_has_concentration();
265 _impl_.concentration_ = 0;
266 _impl_._has_bits_[0] &= ~0x00000001u;
268inline double TurnerCFluor::_internal_concentration()
const {
269 return _impl_.concentration_;
273 return _internal_concentration();
275inline void TurnerCFluor::_internal_set_concentration(
double value) {
276 _impl_._has_bits_[0] |= 0x00000001u;
277 _impl_.concentration_ = value;
280 _internal_set_concentration(value);
285inline bool TurnerCFluor::_internal_has_concentration_voltage()
const {
286 bool value = (
_impl_._has_bits_[0] & 0x00000002u) != 0;
290 return _internal_has_concentration_voltage();
293 _impl_.concentration_voltage_ = 0;
294 _impl_._has_bits_[0] &= ~0x00000002u;
296inline double TurnerCFluor::_internal_concentration_voltage()
const {
297 return _impl_.concentration_voltage_;
301 return _internal_concentration_voltage();
303inline void TurnerCFluor::_internal_set_concentration_voltage(
double value) {
304 _impl_._has_bits_[0] |= 0x00000002u;
305 _impl_.concentration_voltage_ = value;
308 _internal_set_concentration_voltage(value);
313 #pragma GCC diagnostic pop
324#include <google/protobuf/port_undef.inc>
TurnerCFluor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static constexpr int kIndexInFileMessages
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
double concentration_voltage() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void clear_concentration_voltage()
bool IsInitialized() const final
static const TurnerCFluor & default_instance()
void set_concentration_voltage(double value)
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
double concentration() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_concentration(double value)
int GetCachedSize() const final
void clear_concentration()
static const TurnerCFluor * internal_default_instance()
void UnsafeArenaSwap(TurnerCFluor *other)
bool has_concentration() const
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()
static const ClassData _class_data_
void CopyFrom(const TurnerCFluor &from)
void MergeFrom(const TurnerCFluor &from)
size_t ByteSizeLong() const final
@ kConcentrationFieldNumber
@ kConcentrationVoltageFieldNumber
bool has_concentration_voltage() const
void Swap(TurnerCFluor *other)
TurnerCFluorDefaultTypeInternal _TurnerCFluor_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fturner_5f_5fc_5ffluor_2eproto
static const uint32_t offsets[]