JaiaBot  1.19.0
JaiaBot micro-AUV software
config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: bin/patterns/single_thread/config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
5 #define PROTOBUF_INCLUDED_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
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
14 #error your headers.
15 #endif
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.
20 #endif
21 
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.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>
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 "goby/middleware/protobuf/app_config.pb.h"
34 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
35 #include <boost/units/quantity.hpp>
36 #include <boost/units/absolute.hpp>
37 #include <boost/units/dimensionless_type.hpp>
38 #include <boost/units/make_scaled_unit.hpp>
39 // @@protoc_insertion_point(includes)
40 #define PROTOBUF_INTERNAL_EXPORT_protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
41 
43 // Internal implementation detail -- do not use these members.
44 struct TableStruct {
45  static const ::google::protobuf::internal::ParseTableField entries[];
46  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
47  static const ::google::protobuf::internal::ParseTable schema[1];
48  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
49  static const ::google::protobuf::internal::SerializationTable serialization_table[];
50  static const ::google::protobuf::uint32 offsets[];
51 };
52 void AddDescriptors();
53 } // namespace protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
54 namespace jaiabot {
55 namespace config {
56 class SingleThreadPattern;
57 class SingleThreadPatternDefaultTypeInternal;
58 extern SingleThreadPatternDefaultTypeInternal _SingleThreadPattern_default_instance_;
59 } // namespace config
60 } // namespace jaiabot
61 namespace google {
62 namespace protobuf {
63 template<> ::jaiabot::config::SingleThreadPattern* Arena::CreateMaybeMessage<::jaiabot::config::SingleThreadPattern>(Arena*);
64 } // namespace protobuf
65 } // namespace google
66 namespace jaiabot {
67 namespace config {
68 
69 // ===================================================================
70 
71 class SingleThreadPattern : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:jaiabot.config.SingleThreadPattern) */ {
72  public:
74  virtual ~SingleThreadPattern();
75 
77 
79  CopyFrom(from);
80  return *this;
81  }
82  #if LANG_CXX11
85  *this = ::std::move(from);
86  }
87 
88  inline SingleThreadPattern& operator=(SingleThreadPattern&& from) noexcept {
89  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
90  if (this != &from) InternalSwap(&from);
91  } else {
92  CopyFrom(from);
93  }
94  return *this;
95  }
96  #endif
97  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
98  return _internal_metadata_.unknown_fields();
99  }
100  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
101  return _internal_metadata_.mutable_unknown_fields();
102  }
103 
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const SingleThreadPattern& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
109  return reinterpret_cast<const SingleThreadPattern*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(SingleThreadPattern* other);
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline SingleThreadPattern* New() const final {
123  return CreateMaybeMessage<SingleThreadPattern>(NULL);
124  }
125 
126  SingleThreadPattern* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<SingleThreadPattern>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const SingleThreadPattern& from);
132  void MergeFrom(const SingleThreadPattern& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
138  ::google::protobuf::io::CodedInputStream* input) final;
140  ::google::protobuf::io::CodedOutputStream* output) const final;
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(SingleThreadPattern* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // optional .goby.middleware.protobuf.AppConfig app = 1;
166  bool has_app() const;
167  void clear_app();
168  static const int kAppFieldNumber = 1;
169  private:
170  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
171  public:
172  const ::goby::middleware::protobuf::AppConfig& app() const;
173  ::goby::middleware::protobuf::AppConfig* release_app();
174  ::goby::middleware::protobuf::AppConfig* mutable_app();
175  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
176 
177  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
178  bool has_interprocess() const;
179  void clear_interprocess();
180  static const int kInterprocessFieldNumber = 2;
181  private:
182  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
183  public:
184  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
185  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
186  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
187  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
188 
189  // @@protoc_insertion_point(class_scope:jaiabot.config.SingleThreadPattern)
190  private:
191  void set_has_app();
192  void clear_has_app();
193  void set_has_interprocess();
194  void clear_has_interprocess();
195 
196  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
197  ::google::protobuf::internal::HasBits<1> _has_bits_;
198  mutable ::google::protobuf::internal::CachedSize _cached_size_;
199  ::goby::middleware::protobuf::AppConfig* app_;
200  ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
202 };
203 // ===================================================================
204 
205 
206 // ===================================================================
207 
208 #ifdef __GNUC__
209  #pragma GCC diagnostic push
210  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
211 #endif // __GNUC__
212 // SingleThreadPattern
213 
214 // optional .goby.middleware.protobuf.AppConfig app = 1;
215 inline bool SingleThreadPattern::has_app() const {
216  return (_has_bits_[0] & 0x00000001u) != 0;
217 }
218 inline void SingleThreadPattern::set_has_app() {
219  _has_bits_[0] |= 0x00000001u;
220 }
221 inline void SingleThreadPattern::clear_has_app() {
222  _has_bits_[0] &= ~0x00000001u;
223 }
224 inline const ::goby::middleware::protobuf::AppConfig& SingleThreadPattern::_internal_app() const {
225  return *app_;
226 }
227 inline const ::goby::middleware::protobuf::AppConfig& SingleThreadPattern::app() const {
228  const ::goby::middleware::protobuf::AppConfig* p = app_;
229  // @@protoc_insertion_point(field_get:jaiabot.config.SingleThreadPattern.app)
230  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
231  &::goby::middleware::protobuf::_AppConfig_default_instance_);
232 }
233 inline ::goby::middleware::protobuf::AppConfig* SingleThreadPattern::release_app() {
234  // @@protoc_insertion_point(field_release:jaiabot.config.SingleThreadPattern.app)
235  clear_has_app();
236  ::goby::middleware::protobuf::AppConfig* temp = app_;
237  app_ = NULL;
238  return temp;
239 }
240 inline ::goby::middleware::protobuf::AppConfig* SingleThreadPattern::mutable_app() {
241  set_has_app();
242  if (app_ == NULL) {
243  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
244  app_ = p;
245  }
246  // @@protoc_insertion_point(field_mutable:jaiabot.config.SingleThreadPattern.app)
247  return app_;
248 }
249 inline void SingleThreadPattern::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
250  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
251  if (message_arena == NULL) {
252  delete reinterpret_cast< ::google::protobuf::MessageLite*>(app_);
253  }
254  if (app) {
255  ::google::protobuf::Arena* submessage_arena = NULL;
256  if (message_arena != submessage_arena) {
257  app = ::google::protobuf::internal::GetOwnedMessage(
258  message_arena, app, submessage_arena);
259  }
260  set_has_app();
261  } else {
262  clear_has_app();
263  }
264  app_ = app;
265  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.SingleThreadPattern.app)
266 }
267 
268 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2;
270  return (_has_bits_[0] & 0x00000002u) != 0;
271 }
272 inline void SingleThreadPattern::set_has_interprocess() {
273  _has_bits_[0] |= 0x00000002u;
274 }
275 inline void SingleThreadPattern::clear_has_interprocess() {
276  _has_bits_[0] &= ~0x00000002u;
277 }
278 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SingleThreadPattern::_internal_interprocess() const {
279  return *interprocess_;
280 }
281 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& SingleThreadPattern::interprocess() const {
282  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
283  // @@protoc_insertion_point(field_get:jaiabot.config.SingleThreadPattern.interprocess)
284  return p != NULL ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
285  &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
286 }
287 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SingleThreadPattern::release_interprocess() {
288  // @@protoc_insertion_point(field_release:jaiabot.config.SingleThreadPattern.interprocess)
289  clear_has_interprocess();
290  ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
291  interprocess_ = NULL;
292  return temp;
293 }
294 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* SingleThreadPattern::mutable_interprocess() {
295  set_has_interprocess();
296  if (interprocess_ == NULL) {
297  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
298  interprocess_ = p;
299  }
300  // @@protoc_insertion_point(field_mutable:jaiabot.config.SingleThreadPattern.interprocess)
301  return interprocess_;
302 }
303 inline void SingleThreadPattern::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
304  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
305  if (message_arena == NULL) {
306  delete reinterpret_cast< ::google::protobuf::MessageLite*>(interprocess_);
307  }
308  if (interprocess) {
309  ::google::protobuf::Arena* submessage_arena = NULL;
310  if (message_arena != submessage_arena) {
311  interprocess = ::google::protobuf::internal::GetOwnedMessage(
312  message_arena, interprocess, submessage_arena);
313  }
314  set_has_interprocess();
315  } else {
316  clear_has_interprocess();
317  }
318  interprocess_ = interprocess;
319  // @@protoc_insertion_point(field_set_allocated:jaiabot.config.SingleThreadPattern.interprocess)
320 }
321 
322 #ifdef __GNUC__
323  #pragma GCC diagnostic pop
324 #endif // __GNUC__
325 
326 // @@protoc_insertion_point(namespace_scope)
327 
328 } // namespace config
329 } // namespace jaiabot
330 
331 // @@protoc_insertion_point(global_scope)
332 
333 #endif // PROTOBUF_INCLUDED_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
jaiabot::config::SingleThreadPattern::release_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition: config.pb.h:287
jaiabot::config::SingleThreadPattern::app
const ::goby::middleware::protobuf::AppConfig & app() const
Definition: config.pb.h:227
jaiabot::config::SingleThreadPattern::swap
friend void swap(SingleThreadPattern &a, SingleThreadPattern &b)
Definition: config.pb.h:116
jaiabot::config::SingleThreadPattern::~SingleThreadPattern
virtual ~SingleThreadPattern()
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto
Definition: config.pb.h:42
jaiabot::config::SingleThreadPattern::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
jaiabot::config::SingleThreadPattern::has_app
bool has_app() const
Definition: config.pb.h:215
jaiabot::config::SingleThreadPattern::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
jaiabot::config::SingleThreadPattern::internal_default_instance
static const SingleThreadPattern * internal_default_instance()
Definition: config.pb.h:108
jaiabot::config::SingleThreadPattern::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: config.pb.h:48
goby
Definition: udp_driver.h:59
jaiabot::config::SingleThreadPattern::operator=
SingleThreadPattern & operator=(const SingleThreadPattern &from)
Definition: config.pb.h:78
jaiabot::config::SingleThreadPattern::descriptor
static const ::google::protobuf::Descriptor * descriptor()
jaiabot::config::SingleThreadPattern
Definition: config.pb.h:71
jaiabot::config::SingleThreadPattern::has_interprocess
bool has_interprocess() const
Definition: config.pb.h:269
jaiabot::config::SingleThreadPattern::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: config.pb.h:100
jaiabot::config::SingleThreadPattern::set_allocated_interprocess
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition: config.pb.h:303
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct
Definition: config.pb.h:44
jaiabot::config::SingleThreadPattern::release_app
::goby::middleware::protobuf::AppConfig * release_app()
Definition: config.pb.h:233
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: config.pb.h:46
jaiabot::config::SingleThreadPattern::clear_app
void clear_app()
jaiabot::udp::protobuf::config
extern ::google::protobuf::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::google::protobuf::internal::MessageTypeTraits< ::jaiabot::udp::protobuf::Config >, 11, false > config
Definition: udp_driver.pb.h:566
jaiabot::config::SingleThreadPattern::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: config.pb.h:97
jaiabot::config::SingleThreadPattern::default_instance
static const SingleThreadPattern & default_instance()
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: config.pb.h:45
jaiabot::config::SingleThreadPattern::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
jaiabot::config::SingleThreadPattern::New
SingleThreadPattern * New() const final
Definition: config.pb.h:122
jaiabot::config::SingleThreadPattern::interprocess
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition: config.pb.h:281
jaiabot::config::SingleThreadPattern::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
jaiabot::config::SingleThreadPattern::Swap
void Swap(SingleThreadPattern *other)
jaiabot::config::SingleThreadPattern::kAppFieldNumber
static const int kAppFieldNumber
Definition: config.pb.h:168
jaiabot::config::SingleThreadPattern::SingleThreadPattern
SingleThreadPattern()
jaiabot::config::SingleThreadPattern::mutable_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition: config.pb.h:294
jaiabot::config::SingleThreadPattern::Clear
void Clear() final
jaiabot::config::SingleThreadPattern::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
jaiabot::config::SingleThreadPattern::set_allocated_app
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition: config.pb.h:249
jaiabot::config::SingleThreadPattern::GetCachedSize
int GetCachedSize() const final
Definition: config.pb.h:143
jaiabot::config::SingleThreadPattern::clear_interprocess
void clear_interprocess()
jaiabot
Definition: config.pb.h:56
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: config.pb.h:50
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: config.pb.h:47
jaiabot::config::SingleThreadPattern::InitAsDefaultInstance
static void InitAsDefaultInstance()
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: config.pb.h:49
jaiabot::config::_SingleThreadPattern_default_instance_
SingleThreadPatternDefaultTypeInternal _SingleThreadPattern_default_instance_
jaiabot::config::SingleThreadPattern::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: config.pb.h:112
jaiabot::config::SingleThreadPattern::mutable_app
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition: config.pb.h:240
jaiabot::config::SingleThreadPattern::New
SingleThreadPattern * New(::google::protobuf::Arena *arena) const final
Definition: config.pb.h:126
protobuf_bin_2fpatterns_2fsingle_5fthread_2fconfig_2eproto::AddDescriptors
void AddDescriptors()
google
Definition: config.pb.h:63
jaiabot::config::SingleThreadPattern::kInterprocessFieldNumber
static const int kInterprocessFieldNumber
Definition: config.pb.h:180
jaiabot::config::SingleThreadPattern::IsInitialized
bool IsInitialized() const final
jaiabot::config::SingleThreadPattern::ByteSizeLong
size_t ByteSizeLong() const final