JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
blue_robotics__bar30.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/sensor/blue_robotics__bar30.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_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_2fblue_5frobotics_5f_5fbar30_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_2fblue_5frobotics_5f_5fbar30_2eproto;
51namespace jaiabot {
52namespace sensor {
53namespace protobuf {
54class BlueRoboticsBar30;
55struct BlueRoboticsBar30DefaultTypeInternal;
56extern BlueRoboticsBar30DefaultTypeInternal _BlueRoboticsBar30_default_instance_;
57} // namespace protobuf
58} // namespace sensor
59} // namespace jaiabot
60PROTOBUF_NAMESPACE_OPEN
61template<> ::jaiabot::sensor::protobuf::BlueRoboticsBar30* Arena::CreateMaybeMessage<::jaiabot::sensor::protobuf::BlueRoboticsBar30>(Arena*);
62PROTOBUF_NAMESPACE_CLOSE
63namespace jaiabot {
64namespace sensor {
65namespace protobuf {
66
67// ===================================================================
68
69class BlueRoboticsBar30 final :
70 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.sensor.protobuf.BlueRoboticsBar30) */ {
71 public:
72 inline BlueRoboticsBar30() : BlueRoboticsBar30(nullptr) {}
73 ~BlueRoboticsBar30() override;
74 explicit PROTOBUF_CONSTEXPR BlueRoboticsBar30(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
75
79 *this = ::std::move(from);
80 }
81
82 inline BlueRoboticsBar30& operator=(const BlueRoboticsBar30& from) {
83 CopyFrom(from);
84 return *this;
85 }
86 inline BlueRoboticsBar30& operator=(BlueRoboticsBar30&& 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 BlueRoboticsBar30& default_instance() {
118 }
119 static inline const BlueRoboticsBar30* internal_default_instance() {
120 return reinterpret_cast<const BlueRoboticsBar30*>(
122 }
123 static constexpr int kIndexInFileMessages =
124 0;
125
126 friend void swap(BlueRoboticsBar30& a, BlueRoboticsBar30& b) {
127 a.Swap(&b);
128 }
129 inline void Swap(BlueRoboticsBar30* 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 }
143 if (other == this) return;
144 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
145 InternalSwap(other);
146 }
147
148 // implements Message ----------------------------------------------
149
150 BlueRoboticsBar30* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
151 return CreateMaybeMessage<BlueRoboticsBar30>(arena);
152 }
153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
154 void CopyFrom(const BlueRoboticsBar30& from);
155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
156 void MergeFrom( const BlueRoboticsBar30& from) {
157 BlueRoboticsBar30::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(BlueRoboticsBar30* other);
176
177 private:
178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
180 return "jaiabot.sensor.protobuf.BlueRoboticsBar30";
181 }
182 protected:
183 explicit BlueRoboticsBar30(::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 {
199 };
200 // optional double pressure = 1;
201 bool has_pressure() const;
202 private:
203 bool _internal_has_pressure() const;
204 public:
205 void clear_pressure();
206 double pressure() const;
207 void set_pressure(double value);
208 private:
209 double _internal_pressure() const;
210 void _internal_set_pressure(double value);
211 public:
212
213 // optional double temperature = 2;
214 bool has_temperature() const;
215 private:
216 bool _internal_has_temperature() const;
217 public:
218 void clear_temperature();
219 double temperature() const;
220 void set_temperature(double value);
221 private:
222 double _internal_temperature() const;
223 void _internal_set_temperature(double value);
224 public:
225
226 // @@protoc_insertion_point(class_scope:jaiabot.sensor.protobuf.BlueRoboticsBar30)
227 private:
228 class _Internal;
229
230 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
231 typedef void InternalArenaConstructable_;
232 typedef void DestructorSkippable_;
233 struct Impl_ {
234 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
235 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
236 double pressure_;
237 double temperature_;
238 };
239 union { Impl_ _impl_; };
240 friend struct ::TableStruct_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto;
241};
242// ===================================================================
243
244
245// ===================================================================
246
247#ifdef __GNUC__
248 #pragma GCC diagnostic push
249 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
250#endif // __GNUC__
251// BlueRoboticsBar30
252
253// optional double pressure = 1;
254inline bool BlueRoboticsBar30::_internal_has_pressure() const {
255 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
256 return value;
257}
258inline bool BlueRoboticsBar30::has_pressure() const {
259 return _internal_has_pressure();
260}
262 _impl_.pressure_ = 0;
263 _impl_._has_bits_[0] &= ~0x00000001u;
264}
265inline double BlueRoboticsBar30::_internal_pressure() const {
266 return _impl_.pressure_;
267}
268inline double BlueRoboticsBar30::pressure() const {
269 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.BlueRoboticsBar30.pressure)
270 return _internal_pressure();
271}
272inline void BlueRoboticsBar30::_internal_set_pressure(double value) {
273 _impl_._has_bits_[0] |= 0x00000001u;
274 _impl_.pressure_ = value;
275}
276inline void BlueRoboticsBar30::set_pressure(double value) {
277 _internal_set_pressure(value);
278 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.BlueRoboticsBar30.pressure)
279}
280
281// optional double temperature = 2;
282inline bool BlueRoboticsBar30::_internal_has_temperature() const {
283 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
284 return value;
285}
286inline bool BlueRoboticsBar30::has_temperature() const {
287 return _internal_has_temperature();
288}
290 _impl_.temperature_ = 0;
291 _impl_._has_bits_[0] &= ~0x00000002u;
292}
293inline double BlueRoboticsBar30::_internal_temperature() const {
294 return _impl_.temperature_;
295}
296inline double BlueRoboticsBar30::temperature() const {
297 // @@protoc_insertion_point(field_get:jaiabot.sensor.protobuf.BlueRoboticsBar30.temperature)
298 return _internal_temperature();
299}
300inline void BlueRoboticsBar30::_internal_set_temperature(double value) {
301 _impl_._has_bits_[0] |= 0x00000002u;
302 _impl_.temperature_ = value;
303}
304inline void BlueRoboticsBar30::set_temperature(double value) {
305 _internal_set_temperature(value);
306 // @@protoc_insertion_point(field_set:jaiabot.sensor.protobuf.BlueRoboticsBar30.temperature)
307}
308
309#ifdef __GNUC__
310 #pragma GCC diagnostic pop
311#endif // __GNUC__
312
313// @@protoc_insertion_point(namespace_scope)
314
315} // namespace protobuf
316} // namespace sensor
317} // namespace jaiabot
318
319// @@protoc_insertion_point(global_scope)
320
321#include <google/protobuf/port_undef.inc>
322#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const BlueRoboticsBar30 * internal_default_instance()
BlueRoboticsBar30 & operator=(const BlueRoboticsBar30 &from)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
BlueRoboticsBar30 * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void MergeFrom(const BlueRoboticsBar30 &from)
friend void swap(BlueRoboticsBar30 &a, BlueRoboticsBar30 &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const BlueRoboticsBar30 & default_instance()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void CopyFrom(const BlueRoboticsBar30 &from)
BlueRoboticsBar30DefaultTypeInternal _BlueRoboticsBar30_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsensor_2fblue_5frobotics_5f_5fbar30_2eproto