JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
tsys01.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/sensor/tsys01.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2ftsys01_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>
33#include <boost/units/quantity.hpp>
34#include <boost/units/absolute.hpp>
35#include <boost/units/dimensionless_type.hpp>
36#include <boost/units/make_scaled_unit.hpp>
37// @@protoc_insertion_point(includes)
38#include <google/protobuf/port_def.inc>
39#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
40PROTOBUF_NAMESPACE_OPEN
41namespace internal {
42class AnyMetadata;
43} // namespace internal
44PROTOBUF_NAMESPACE_CLOSE
45
46// Internal implementation detail -- do not use these members.
48 static const uint32_t offsets[];
49};
50extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto;
51namespace jaiabot {
52namespace sensor {
53namespace protobuf {
54class TSYS01;
55struct TSYS01DefaultTypeInternal;
56extern TSYS01DefaultTypeInternal _TSYS01_default_instance_;
57} // namespace protobuf
58} // namespace sensor
59} // namespace jaiabot
60PROTOBUF_NAMESPACE_OPEN
61template<> ::jaiabot::sensor::protobuf::TSYS01* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::TSYS01>(Arena*);
62PROTOBUF_NAMESPACE_CLOSE
63namespace jaiabot {
64namespace sensor {
65namespace protobuf {
66
67// ===================================================================
68
69class TSYS01 final :
70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.TSYS01) */ {
71 public:
72 inline TSYS01() : TSYS01(nullptr) {}
73 ~TSYS01() override;
74 explicit PROTOBUF_CONSTEXPR TSYS01(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
75
76 TSYS01(const TSYS01& from);
77 TSYS01(TSYS01&& from) noexcept
78 : TSYS01() {
79 *this = ::std::move(from);
80 }
81
82 inline TSYS01& operator=(const TSYS01& from) {
83 CopyFrom(from);
84 return *this;
85 }
86 inline TSYS01& operator=(TSYS01&& from) noexcept {
87 if (this == &from) return *this;
88 if (GetOwningArena() == from.GetOwningArena()
89 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
90 && GetOwningArena() != nullptr
91 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
92 ) {
93 InternalSwap(&from);
94 } else {
95 CopyFrom(from);
96 }
97 return *this;
98 }
99
100 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
101 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
102 }
103 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
104 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
105 }
106
107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
108 return GetDescriptor();
109 }
110 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
111 return default_instance().GetMetadata().descriptor;
112 }
113 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
114 return default_instance().GetMetadata().reflection;
115 }
116 static const TSYS01& default_instance() {
118 }
119 static inline const TSYS01* internal_default_instance() {
120 return reinterpret_cast<const TSYS01*>(
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
126 friend void swap(TSYS01& a, TSYS01& b) {
127 a.Swap(&b);
128 }
129 inline void Swap(TSYS01* other) {
130 if (other == this) return;
131 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
132 if (GetOwningArena() != nullptr &&
133 GetOwningArena() == other->GetOwningArena()) {
134 #else // PROTOBUF_FORCE_COPY_IN_SWAP
135 if (GetOwningArena() == other->GetOwningArena()) {
136 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
137 InternalSwap(other);
138 } else {
139 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
140 }
141 }
142 void UnsafeArenaSwap(TSYS01* other) {
143 if (other == this) return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
145 InternalSwap(other);
146 }
147
148 // implements Message ----------------------------------------------
149
150 TSYS01* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
151 return CreateMaybeMessage<TSYS01>(arena);
152 }
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
154 void CopyFrom(const TSYS01& from);
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
156 void MergeFrom( const TSYS01& from) {
157 TSYS01::MergeImpl(*this, from);
158 }
159 private:
160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
161 public:
162 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
163 bool IsInitialized() const final;
164
165 size_t ByteSizeLong() const final;
166 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
167 uint8_t* _InternalSerialize(
168 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
169 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
170
171 private:
172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
173 void SharedDtor();
174 void SetCachedSize(int size) const final;
175 void InternalSwap(TSYS01* other);
176
177 private:
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.sensor.protobuf.TSYS01";
181 }
182 protected:
183 explicit TSYS01(::PROTOBUF_NAMESPACE_ID::Arena* arena,
184 bool is_message_owned = false);
185 public:
186
187 static const ClassData _class_data_;
188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
189
190 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
191
192 // nested types ----------------------------------------------------
193
194 // accessors -------------------------------------------------------
195
196 enum : int {
198 };
199 // optional double temperature = 1;
200 bool has_temperature() const;
201 private:
202 bool _internal_has_temperature() const;
203 public:
204 void clear_temperature();
205 double temperature() const;
206 void set_temperature(double value);
207 private:
208 double _internal_temperature() const;
209 void _internal_set_temperature(double value);
210 public:
211
212 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.TSYS01)
213 private:
214 class _Internal;
215
216 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
217 typedef void InternalArenaConstructable_;
218 typedef void DestructorSkippable_;
219 struct Impl_ {
220 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
221 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
222 double temperature_;
223 };
224 union { Impl_ _impl_; };
225 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto;
226};
227// ===================================================================
228
229
230// ===================================================================
231
232#ifdef __GNUC__
233 #pragma GCC diagnostic push
234 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
235#endif // __GNUC__
236// TSYS01
237
238// optional double temperature = 1;
239inline bool TSYS01::_internal_has_temperature() const {
240 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
241 return value;
242}
243inline bool TSYS01::has_temperature() const {
244 return _internal_has_temperature();
245}
246inline void TSYS01::clear_temperature() {
247 _impl_.temperature_ = 0;
248 _impl_._has_bits_[0] &= ~0x00000001u;
249}
250inline double TSYS01::_internal_temperature() const {
251 return _impl_.temperature_;
252}
253inline double TSYS01::temperature() const {
254 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.TSYS01.temperature)
255 return _internal_temperature();
256}
257inline void TSYS01::_internal_set_temperature(double value) {
258 _impl_._has_bits_[0] |= 0x00000001u;
259 _impl_.temperature_ = value;
260}
261inline void TSYS01::set_temperature(double value) {
262 _internal_set_temperature(value);
263 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.TSYS01.temperature)
264}
265
266#ifdef __GNUC__
267 #pragma GCC diagnostic pop
268#endif // __GNUC__
269
270// @@protoc_insertion_point(namespace_scope)
271
272} // namespace protobuf
273} // namespace sensor
274} // namespace jaiabot
275
276// @@protoc_insertion_point(global_scope)
277
278#include <google/protobuf/port_undef.inc>
279#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto
bool IsInitialized() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void CopyFrom(const TSYS01 &from)
friend void swap(TSYS01 &a, TSYS01 &b)
Definition tsys01.pb.h:126
void set_temperature(double value)
Definition tsys01.pb.h:261
static const TSYS01 & default_instance()
Definition tsys01.pb.h:116
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Definition tsys01.pb.h:103
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition tsys01.pb.h:113
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr int kIndexInFileMessages
Definition tsys01.pb.h:123
static const ClassData _class_data_
Definition tsys01.pb.h:187
void MergeFrom(const TSYS01 &from)
Definition tsys01.pb.h:156
TSYS01 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition tsys01.pb.h:150
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
Definition tsys01.pb.h:100
TSYS01 & operator=(const TSYS01 &from)
Definition tsys01.pb.h:82
void UnsafeArenaSwap(TSYS01 *other)
Definition tsys01.pb.h:142
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition tsys01.pb.h:110
size_t ByteSizeLong() const final
int GetCachedSize() const final
Definition tsys01.pb.h:169
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition tsys01.pb.h:107
static const TSYS01 * internal_default_instance()
Definition tsys01.pb.h:119
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
TSYS01DefaultTypeInternal _TSYS01_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2ftsys01_2eproto