4 #ifndef PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
5 #define PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto
44 static const ::google::protobuf::internal::ParseTableField
entries[];
45 static const ::google::protobuf::internal::AuxillaryParseTableField
aux[];
46 static const ::google::protobuf::internal::ParseTable
schema[1];
58 class ConfigDefaultTypeInternal;
90 *
this = ::std::move(from);
94 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
95 if (
this != &from) InternalSwap(&from);
103 return _internal_metadata_.unknown_fields();
106 return _internal_metadata_.mutable_unknown_fields();
109 static const ::google::protobuf::Descriptor*
descriptor();
114 return reinterpret_cast<const Config*
>(
128 return CreateMaybeMessage<Config>(NULL);
132 return CreateMaybeMessage<Config>(arena);
134 void CopyFrom(const ::google::protobuf::Message& from)
final;
135 void MergeFrom(const ::google::protobuf::Message& from)
final;
143 ::
google::protobuf::io::CodedInputStream* input) final;
145 ::
google::protobuf::io::CodedOutputStream* output) const final;
147 bool deterministic, ::
google::protobuf::uint8* target) const final;
153 void SetCachedSize(
int size)
const final;
154 void InternalSwap(
Config* other);
156 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
159 inline void* MaybeArenaPtr()
const {
186 void set_has_enable_foo();
187 void clear_has_enable_foo();
188 void set_has_enable_bar();
189 void clear_has_enable_bar();
191 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
192 ::
google::protobuf::internal::HasBits<1> _has_bits_;
193 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
201 extern ::
google::protobuf::internal::ExtensionIdentifier< ::
goby::acomms::protobuf::DriverConfig,
202 ::
google::protobuf::internal::MessageTypeTraits< ::
goby::acomms::abc::protobuf::
Config >, 11, false >
208 #pragma GCC diagnostic push
209 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
215 return (_has_bits_[0] & 0x00000002u) != 0;
217 inline void Config::set_has_enable_foo() {
218 _has_bits_[0] |= 0x00000002u;
220 inline void Config::clear_has_enable_foo() {
221 _has_bits_[0] &= ~0x00000002u;
225 clear_has_enable_foo();
232 set_has_enable_foo();
239 return (_has_bits_[0] & 0x00000001u) != 0;
241 inline void Config::set_has_enable_bar() {
242 _has_bits_[0] |= 0x00000001u;
244 inline void Config::clear_has_enable_bar() {
245 _has_bits_[0] &= ~0x00000001u;
249 clear_has_enable_bar();
256 set_has_enable_bar();
262 #pragma GCC diagnostic pop
274 #endif // PROTOBUF_INCLUDED_goby_2facomms_2fprotobuf_2fabc_5fdriver_2eproto