Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
abc_driver.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: goby/acomms/protobuf/abc_driver.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_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>
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>
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// @@protoc_insertion_point(includes)
39#include <google/protobuf/port_def.inc>
40#define PROTOBUF_INTERNAL_EXPORT_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
41PROTOBUF_NAMESPACE_OPEN
42namespace internal {
43class AnyMetadata;
44} // namespace internal
45PROTOBUF_NAMESPACE_CLOSE
46
47// Internal implementation detail -- do not use these members.
51extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto;
52namespace goby {
53namespace acomms {
54namespace abc {
55namespace protobuf {
56class Config;
57struct ConfigDefaultTypeInternal;
58extern ConfigDefaultTypeInternal _Config_default_instance_;
59} // namespace protobuf
60} // namespace abc
61} // namespace acomms
62} // namespace goby
63PROTOBUF_NAMESPACE_OPEN
64template<> ::goby::acomms::abc::protobuf::Config* Arena::CreateMaybeMessage<::goby::acomms::abc::protobuf::Config>(Arena*);
65PROTOBUF_NAMESPACE_CLOSE
66namespace goby {
67namespace acomms {
68namespace abc {
69namespace protobuf {
70
71// ===================================================================
72
73class Config final :
74 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:goby.acomms.abc.protobuf.Config) */ {
75 public:
76 inline Config() : Config(nullptr) {}
77 ~Config() override;
78 explicit PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
79
80 Config(const Config& from);
81 Config(Config&& from) noexcept
82 : Config() {
83 *this = ::std::move(from);
84 }
85
86 inline Config& operator=(const Config& from) {
87 CopyFrom(from);
88 return *this;
89 }
90 inline Config& operator=(Config&& from) noexcept {
91 if (this == &from) return *this;
92 if (GetOwningArena() == from.GetOwningArena()
93 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
94 && GetOwningArena() != nullptr
95 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
96 ) {
97 InternalSwap(&from);
98 } else {
99 CopyFrom(from);
100 }
101 return *this;
102 }
103
104 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
105 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
106 }
107 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
108 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
109 }
110
111 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
112 return GetDescriptor();
113 }
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
115 return default_instance().GetMetadata().descriptor;
116 }
117 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
118 return default_instance().GetMetadata().reflection;
119 }
120 static const Config& default_instance() {
122 }
123 static inline const Config* internal_default_instance() {
124 return reinterpret_cast<const Config*>(
126 }
127 static constexpr int kIndexInFileMessages =
128 0;
129
130 friend void swap(Config& a, Config& b) {
131 a.Swap(&b);
132 }
133 inline void Swap(Config* other) {
134 if (other == this) return;
135 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
136 if (GetOwningArena() != nullptr &&
137 GetOwningArena() == other->GetOwningArena()) {
138 #else // PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() == other->GetOwningArena()) {
140 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
141 InternalSwap(other);
142 } else {
143 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
144 }
145 }
146 void UnsafeArenaSwap(Config* other) {
147 if (other == this) return;
148 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
149 InternalSwap(other);
150 }
151
152 // implements Message ----------------------------------------------
153
154 Config* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
155 return CreateMaybeMessage<Config>(arena);
156 }
157 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
158 void CopyFrom(const Config& from);
159 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
160 void MergeFrom( const Config& from) {
161 Config::MergeImpl(*this, from);
162 }
163 private:
164 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
165 public:
166 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
167 bool IsInitialized() const final;
168
169 size_t ByteSizeLong() const final;
170 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
172 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
174
175 private:
176 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
177 void SharedDtor();
178 void SetCachedSize(int size) const final;
179 void InternalSwap(Config* other);
180
181 private:
182 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
183 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
184 return "goby.acomms.abc.protobuf.Config";
185 }
186 protected:
187 explicit Config(::PROTOBUF_NAMESPACE_ID::Arena* arena,
188 bool is_message_owned = false);
189 public:
190
191 static const ClassData _class_data_;
192 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
193
194 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
195
196 // nested types ----------------------------------------------------
197
198 // accessors -------------------------------------------------------
199
200 enum : int {
203 };
204 // optional bool enable_bar = 2 [default = false];
205 bool has_enable_bar() const;
206 private:
207 bool _internal_has_enable_bar() const;
208 public:
209 void clear_enable_bar();
210 bool enable_bar() const;
211 void set_enable_bar(bool value);
212 private:
213 bool _internal_enable_bar() const;
214 void _internal_set_enable_bar(bool value);
215 public:
216
217 // optional bool enable_foo = 1 [default = true];
218 bool has_enable_foo() const;
219 private:
220 bool _internal_has_enable_foo() const;
221 public:
222 void clear_enable_foo();
223 bool enable_foo() const;
224 void set_enable_foo(bool value);
225 private:
226 bool _internal_enable_foo() const;
227 void _internal_set_enable_foo(bool value);
228 public:
229
230 // @@protoc_insertion_point(class_scope:goby.acomms.abc.protobuf.Config)
231 private:
232 class _Internal;
233
234 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
235 typedef void InternalArenaConstructable_;
236 typedef void DestructorSkippable_;
237 struct Impl_ {
238 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
239 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
240 bool enable_bar_;
241 bool enable_foo_;
242 };
243 union { Impl_ _impl_; };
244 friend struct ::TableStruct_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto;
245};
246// ===================================================================
247
248static const int kConfigFieldNumber = 1201;
249extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig,
250 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11, false >
252
253// ===================================================================
254
255#ifdef __GNUC__
256 #pragma GCC diagnostic push
257 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
258#endif // __GNUC__
259// Config
260
261// optional bool enable_foo = 1 [default = true];
262inline bool Config::_internal_has_enable_foo() const {
263 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
264 return value;
265}
266inline bool Config::has_enable_foo() const {
267 return _internal_has_enable_foo();
268}
270 _impl_.enable_foo_ = true;
271 _impl_._has_bits_[0] &= ~0x00000002u;
272}
273inline bool Config::_internal_enable_foo() const {
274 return _impl_.enable_foo_;
275}
276inline bool Config::enable_foo() const {
277 // @@protoc_insertion_point(field_get:goby.acomms.abc.protobuf.Config.enable_foo)
278 return _internal_enable_foo();
279}
280inline void Config::_internal_set_enable_foo(bool value) {
281 _impl_._has_bits_[0] |= 0x00000002u;
282 _impl_.enable_foo_ = value;
283}
284inline void Config::set_enable_foo(bool value) {
285 _internal_set_enable_foo(value);
286 // @@protoc_insertion_point(field_set:goby.acomms.abc.protobuf.Config.enable_foo)
287}
288
289// optional bool enable_bar = 2 [default = false];
290inline bool Config::_internal_has_enable_bar() const {
291 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
292 return value;
293}
294inline bool Config::has_enable_bar() const {
295 return _internal_has_enable_bar();
296}
298 _impl_.enable_bar_ = false;
299 _impl_._has_bits_[0] &= ~0x00000001u;
300}
301inline bool Config::_internal_enable_bar() const {
302 return _impl_.enable_bar_;
303}
304inline bool Config::enable_bar() const {
305 // @@protoc_insertion_point(field_get:goby.acomms.abc.protobuf.Config.enable_bar)
306 return _internal_enable_bar();
307}
308inline void Config::_internal_set_enable_bar(bool value) {
309 _impl_._has_bits_[0] |= 0x00000001u;
310 _impl_.enable_bar_ = value;
311}
312inline void Config::set_enable_bar(bool value) {
313 _internal_set_enable_bar(value);
314 // @@protoc_insertion_point(field_set:goby.acomms.abc.protobuf.Config.enable_bar)
315}
316
317#ifdef __GNUC__
318 #pragma GCC diagnostic pop
319#endif // __GNUC__
320
321// @@protoc_insertion_point(namespace_scope)
322
323} // namespace protobuf
324} // namespace abc
325} // namespace acomms
326} // namespace goby
327
328// @@protoc_insertion_point(global_scope)
329
330#include <google/protobuf/port_undef.inc>
331#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
static const Config * internal_default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Config & operator=(Config &&from) noexcept
void MergeFrom(const Config &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Config(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
friend void swap(Config &a, Config &b)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
size_t ByteSizeLong() const final
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static constexpr int kIndexInFileMessages
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
Config * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
static const Config & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Config & operator=(const Config &from)
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR Config(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Config(Config &&from) noexcept
void CopyFrom(const Config &from)
static const int kConfigFieldNumber
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::goby::acomms::abc::protobuf::Config >, 11, false > config
ConfigDefaultTypeInternal _Config_default_instance_
The global namespace for the Goby project.