Goby3  3.1.5
2024.05.14
opencpn_config.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: goby/zeromq/protobuf/opencpn_config.proto
3 
4 #ifndef PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
5 #define PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_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>
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>
37 #include "dccl/option_extensions.pb.h"
39 #include <boost/units/quantity.hpp>
40 #include <boost/units/absolute.hpp>
41 #include <boost/units/dimensionless_type.hpp>
42 #include <boost/units/make_scaled_unit.hpp>
43 
44 #include <boost/units/systems/si.hpp>
45 // @@protoc_insertion_point(includes)
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
47 
49 // Internal implementation detail -- do not use these members.
50 struct TableStruct {
51  static const ::google::protobuf::internal::ParseTableField entries[];
52  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53  static const ::google::protobuf::internal::ParseTable schema[1];
54  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 };
58 void AddDescriptors();
59 } // namespace protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
60 namespace goby {
61 namespace apps {
62 namespace zeromq {
63 namespace protobuf {
64 class OpenCPNInterfaceConfig;
65 class OpenCPNInterfaceConfigDefaultTypeInternal;
66 extern OpenCPNInterfaceConfigDefaultTypeInternal _OpenCPNInterfaceConfig_default_instance_;
67 } // namespace protobuf
68 } // namespace zeromq
69 } // namespace apps
70 } // namespace goby
71 namespace google {
72 namespace protobuf {
73 template<> ::goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig* Arena::CreateMaybeMessage<::goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig>(Arena*);
74 } // namespace protobuf
75 } // namespace google
76 namespace goby {
77 namespace apps {
78 namespace zeromq {
79 namespace protobuf {
80 
81 // ===================================================================
82 
83 class OpenCPNInterfaceConfig : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig) */ {
84  public:
86  virtual ~OpenCPNInterfaceConfig();
87 
89 
91  CopyFrom(from);
92  return *this;
93  }
94  #if LANG_CXX11
97  *this = ::std::move(from);
98  }
99 
100  inline OpenCPNInterfaceConfig& operator=(OpenCPNInterfaceConfig&& from) noexcept {
101  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108  #endif
109  inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
110  return _internal_metadata_.unknown_fields();
111  }
112  inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
113  return _internal_metadata_.mutable_unknown_fields();
114  }
115 
116  static const ::google::protobuf::Descriptor* descriptor();
118 
119  enum IoCase {
123  };
124 
125  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
127  return reinterpret_cast<const OpenCPNInterfaceConfig*>(
129  }
130  static constexpr int kIndexInFileMessages =
131  0;
132 
133  void Swap(OpenCPNInterfaceConfig* other);
135  a.Swap(&b);
136  }
137 
138  // implements Message ----------------------------------------------
139 
140  inline OpenCPNInterfaceConfig* New() const final {
141  return CreateMaybeMessage<OpenCPNInterfaceConfig>(NULL);
142  }
143 
145  return CreateMaybeMessage<OpenCPNInterfaceConfig>(arena);
146  }
147  void CopyFrom(const ::google::protobuf::Message& from) final;
148  void MergeFrom(const ::google::protobuf::Message& from) final;
149  void CopyFrom(const OpenCPNInterfaceConfig& from);
150  void MergeFrom(const OpenCPNInterfaceConfig& from);
151  void Clear() final;
152  bool IsInitialized() const final;
153 
154  size_t ByteSizeLong() const final;
156  ::google::protobuf::io::CodedInputStream* input) final;
158  ::google::protobuf::io::CodedOutputStream* output) const final;
160  bool deterministic, ::google::protobuf::uint8* target) const final;
161  int GetCachedSize() const final { return _cached_size_.Get(); }
162 
163  private:
164  void SharedCtor();
165  void SharedDtor();
166  void SetCachedSize(int size) const final;
167  void InternalSwap(OpenCPNInterfaceConfig* other);
168  private:
169  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
170  return NULL;
171  }
172  inline void* MaybeArenaPtr() const {
173  return NULL;
174  }
175  public:
176 
178 
179  // nested types ----------------------------------------------------
180 
181  // accessors -------------------------------------------------------
182 
183  // optional .goby.middleware.protobuf.AppConfig app = 1;
184  bool has_app() const;
185  void clear_app();
186  static const int kAppFieldNumber = 1;
187  private:
188  const ::goby::middleware::protobuf::AppConfig& _internal_app() const;
189  public:
190  const ::goby::middleware::protobuf::AppConfig& app() const;
191  ::goby::middleware::protobuf::AppConfig* release_app();
192  ::goby::middleware::protobuf::AppConfig* mutable_app();
193  void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
194 
195  // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
196  bool has_interprocess() const;
197  void clear_interprocess();
198  static const int kInterprocessFieldNumber = 2;
199  private:
200  const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess() const;
201  public:
202  const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess() const;
203  ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
204  ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
205  void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
206 
207  // optional int32 mmsi_start = 10 [default = 988700000];
208  bool has_mmsi_start() const;
209  void clear_mmsi_start();
210  static const int kMmsiStartFieldNumber = 10;
211  ::google::protobuf::int32 mmsi_start() const;
212  void set_mmsi_start(::google::protobuf::int32 value);
213 
214  // optional int32 filter_length = 11 [default = 2];
215  bool has_filter_length() const;
216  void clear_filter_length();
217  static const int kFilterLengthFieldNumber = 11;
218  ::google::protobuf::int32 filter_length() const;
219  void set_filter_length(::google::protobuf::int32 value);
220 
221  // optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
222  bool has_position_report_interval() const;
224  static const int kPositionReportIntervalFieldNumber = 12;
225  double position_report_interval() const;
226  void set_position_report_interval(double value);
227 
228  // optional double voyage_report_interval = 13 [default = 30, (.dccl.field) = {
229  bool has_voyage_report_interval() const;
231  static const int kVoyageReportIntervalFieldNumber = 13;
232  double voyage_report_interval() const;
233  void set_voyage_report_interval(double value);
234 
235  // optional .goby.middleware.protobuf.TCPServerConfig ais_server = 5;
236  bool has_ais_server() const;
237  void clear_ais_server();
238  static const int kAisServerFieldNumber = 5;
239  private:
240  const ::goby::middleware::protobuf::TCPServerConfig& _internal_ais_server() const;
241  public:
242  const ::goby::middleware::protobuf::TCPServerConfig& ais_server() const;
243  ::goby::middleware::protobuf::TCPServerConfig* release_ais_server();
244  ::goby::middleware::protobuf::TCPServerConfig* mutable_ais_server();
245  void set_allocated_ais_server(::goby::middleware::protobuf::TCPServerConfig* ais_server);
246 
247  // optional .goby.middleware.protobuf.PTYConfig ais_serial = 6;
248  bool has_ais_serial() const;
249  void clear_ais_serial();
250  static const int kAisSerialFieldNumber = 6;
251  private:
252  const ::goby::middleware::protobuf::PTYConfig& _internal_ais_serial() const;
253  public:
254  const ::goby::middleware::protobuf::PTYConfig& ais_serial() const;
255  ::goby::middleware::protobuf::PTYConfig* release_ais_serial();
256  ::goby::middleware::protobuf::PTYConfig* mutable_ais_serial();
257  void set_allocated_ais_serial(::goby::middleware::protobuf::PTYConfig* ais_serial);
258 
259  void clear_io();
260  IoCase io_case() const;
261  typedef boost::units::derived_dimension< boost::units::time_base_dimension,1 >::type position_report_interval_dimension;
262 
264 
265  template<typename Quantity >
266  void set_position_report_interval_with_units(Quantity value_w_units)
267  { set_position_report_interval(boost::units::quantity<position_report_interval_unit,double >(value_w_units).value() ); };
268 
269  template<typename Quantity >
271  { return Quantity(position_report_interval() * position_report_interval_unit()); };
272 
273  boost::units::quantity< position_report_interval_unit,double > position_report_interval_with_units() const
274  { return position_report_interval_with_units<boost::units::quantity< position_report_interval_unit,double > >(); };
275 
277 
278  typedef boost::units::unit<voyage_report_interval_dimension,boost::units::si::system> voyage_report_interval_unit;
279 
280  template<typename Quantity >
281  void set_voyage_report_interval_with_units(Quantity value_w_units)
282  { set_voyage_report_interval(boost::units::quantity<voyage_report_interval_unit,double >(value_w_units).value() ); };
283 
284  template<typename Quantity >
286  { return Quantity(voyage_report_interval() * voyage_report_interval_unit()); };
287 
288  boost::units::quantity< voyage_report_interval_unit,double > voyage_report_interval_with_units() const
289  { return voyage_report_interval_with_units<boost::units::quantity< voyage_report_interval_unit,double > >(); };
290 
291  // @@protoc_insertion_point(class_scope:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig)
292  private:
293  void set_has_app();
294  void clear_has_app();
295  void set_has_interprocess();
296  void clear_has_interprocess();
297  void set_has_ais_server();
298  void set_has_ais_serial();
299  void set_has_mmsi_start();
300  void clear_has_mmsi_start();
301  void set_has_filter_length();
302  void clear_has_filter_length();
303  void set_has_position_report_interval();
304  void clear_has_position_report_interval();
305  void set_has_voyage_report_interval();
306  void clear_has_voyage_report_interval();
307 
308  inline bool has_io() const;
309  inline void clear_has_io();
310 
311  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
312  ::google::protobuf::internal::HasBits<1> _has_bits_;
313  mutable ::google::protobuf::internal::CachedSize _cached_size_;
316  ::google::protobuf::int32 mmsi_start_;
317  ::google::protobuf::int32 filter_length_;
318  double position_report_interval_;
319  double voyage_report_interval_;
320  union IoUnion {
321  IoUnion() {}
324  } io_;
325  ::google::protobuf::uint32 _oneof_case_[1];
326 
327  friend struct ::protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct;
328 };
329 // ===================================================================
330 
331 
332 // ===================================================================
333 
334 #ifdef __GNUC__
335  #pragma GCC diagnostic push
336  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
337 #endif // __GNUC__
338 // OpenCPNInterfaceConfig
339 
340 // optional .goby.middleware.protobuf.AppConfig app = 1;
341 inline bool OpenCPNInterfaceConfig::has_app() const {
342  return (_has_bits_[0] & 0x00000001u) != 0;
343 }
344 inline void OpenCPNInterfaceConfig::set_has_app() {
345  _has_bits_[0] |= 0x00000001u;
346 }
347 inline void OpenCPNInterfaceConfig::clear_has_app() {
348  _has_bits_[0] &= ~0x00000001u;
349 }
350 inline const ::goby::middleware::protobuf::AppConfig& OpenCPNInterfaceConfig::_internal_app() const {
351  return *app_;
352 }
353 inline const ::goby::middleware::protobuf::AppConfig& OpenCPNInterfaceConfig::app() const {
354  const ::goby::middleware::protobuf::AppConfig* p = app_;
355  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.app)
356  return p != NULL ? *p : *reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*>(
358 }
359 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::release_app() {
360  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.app)
361  clear_has_app();
363  app_ = NULL;
364  return temp;
365 }
366 inline ::goby::middleware::protobuf::AppConfig* OpenCPNInterfaceConfig::mutable_app() {
367  set_has_app();
368  if (app_ == NULL) {
369  auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaNoVirtual());
370  app_ = p;
371  }
372  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.app)
373  return app_;
374 }
376  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
377  if (message_arena == NULL) {
378  delete reinterpret_cast< ::google::protobuf::MessageLite*>(app_);
379  }
380  if (app) {
381  ::google::protobuf::Arena* submessage_arena = NULL;
382  if (message_arena != submessage_arena) {
383  app = ::google::protobuf::internal::GetOwnedMessage(
384  message_arena, app, submessage_arena);
385  }
386  set_has_app();
387  } else {
388  clear_has_app();
389  }
390  app_ = app;
391  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.app)
392 }
393 
394 // optional .goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2 [(.goby.field) = {
396  return (_has_bits_[0] & 0x00000002u) != 0;
397 }
398 inline void OpenCPNInterfaceConfig::set_has_interprocess() {
399  _has_bits_[0] |= 0x00000002u;
400 }
401 inline void OpenCPNInterfaceConfig::clear_has_interprocess() {
402  _has_bits_[0] &= ~0x00000002u;
403 }
404 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& OpenCPNInterfaceConfig::_internal_interprocess() const {
405  return *interprocess_;
406 }
407 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& OpenCPNInterfaceConfig::interprocess() const {
408  const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
409  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.interprocess)
410  return p != NULL ? *p : *reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*>(
412 }
413 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::release_interprocess() {
414  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.interprocess)
415  clear_has_interprocess();
417  interprocess_ = NULL;
418  return temp;
419 }
420 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* OpenCPNInterfaceConfig::mutable_interprocess() {
421  set_has_interprocess();
422  if (interprocess_ == NULL) {
423  auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaNoVirtual());
424  interprocess_ = p;
425  }
426  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.interprocess)
427  return interprocess_;
428 }
430  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
431  if (message_arena == NULL) {
432  delete reinterpret_cast< ::google::protobuf::MessageLite*>(interprocess_);
433  }
434  if (interprocess) {
435  ::google::protobuf::Arena* submessage_arena = NULL;
436  if (message_arena != submessage_arena) {
437  interprocess = ::google::protobuf::internal::GetOwnedMessage(
438  message_arena, interprocess, submessage_arena);
439  }
440  set_has_interprocess();
441  } else {
442  clear_has_interprocess();
443  }
444  interprocess_ = interprocess;
445  // @@protoc_insertion_point(field_set_allocated:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.interprocess)
446 }
447 
448 // optional .goby.middleware.protobuf.TCPServerConfig ais_server = 5;
450  return io_case() == kAisServer;
451 }
452 inline void OpenCPNInterfaceConfig::set_has_ais_server() {
453  _oneof_case_[0] = kAisServer;
454 }
455 inline const ::goby::middleware::protobuf::TCPServerConfig& OpenCPNInterfaceConfig::_internal_ais_server() const {
456  return *io_.ais_server_;
457 }
458 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::release_ais_server() {
459  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_server)
460  if (has_ais_server()) {
461  clear_has_io();
462  ::goby::middleware::protobuf::TCPServerConfig* temp = io_.ais_server_;
463  io_.ais_server_ = NULL;
464  return temp;
465  } else {
466  return NULL;
467  }
468 }
469 inline const ::goby::middleware::protobuf::TCPServerConfig& OpenCPNInterfaceConfig::ais_server() const {
470  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_server)
471  return has_ais_server()
472  ? *io_.ais_server_
474 }
475 inline ::goby::middleware::protobuf::TCPServerConfig* OpenCPNInterfaceConfig::mutable_ais_server() {
476  if (!has_ais_server()) {
477  clear_io();
478  set_has_ais_server();
479  io_.ais_server_ = CreateMaybeMessage< ::goby::middleware::protobuf::TCPServerConfig >(
480  GetArenaNoVirtual());
481  }
482  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_server)
483  return io_.ais_server_;
484 }
485 
486 // optional .goby.middleware.protobuf.PTYConfig ais_serial = 6;
488  return io_case() == kAisSerial;
489 }
490 inline void OpenCPNInterfaceConfig::set_has_ais_serial() {
491  _oneof_case_[0] = kAisSerial;
492 }
493 inline const ::goby::middleware::protobuf::PTYConfig& OpenCPNInterfaceConfig::_internal_ais_serial() const {
494  return *io_.ais_serial_;
495 }
496 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::release_ais_serial() {
497  // @@protoc_insertion_point(field_release:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_serial)
498  if (has_ais_serial()) {
499  clear_has_io();
500  ::goby::middleware::protobuf::PTYConfig* temp = io_.ais_serial_;
501  io_.ais_serial_ = NULL;
502  return temp;
503  } else {
504  return NULL;
505  }
506 }
507 inline const ::goby::middleware::protobuf::PTYConfig& OpenCPNInterfaceConfig::ais_serial() const {
508  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_serial)
509  return has_ais_serial()
510  ? *io_.ais_serial_
512 }
513 inline ::goby::middleware::protobuf::PTYConfig* OpenCPNInterfaceConfig::mutable_ais_serial() {
514  if (!has_ais_serial()) {
515  clear_io();
516  set_has_ais_serial();
517  io_.ais_serial_ = CreateMaybeMessage< ::goby::middleware::protobuf::PTYConfig >(
518  GetArenaNoVirtual());
519  }
520  // @@protoc_insertion_point(field_mutable:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.ais_serial)
521  return io_.ais_serial_;
522 }
523 
524 // optional int32 mmsi_start = 10 [default = 988700000];
526  return (_has_bits_[0] & 0x00000004u) != 0;
527 }
528 inline void OpenCPNInterfaceConfig::set_has_mmsi_start() {
529  _has_bits_[0] |= 0x00000004u;
530 }
531 inline void OpenCPNInterfaceConfig::clear_has_mmsi_start() {
532  _has_bits_[0] &= ~0x00000004u;
533 }
535  mmsi_start_ = 988700000;
536  clear_has_mmsi_start();
537 }
539  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.mmsi_start)
540  return mmsi_start_;
541 }
543  set_has_mmsi_start();
544  mmsi_start_ = value;
545  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.mmsi_start)
546 }
547 
548 // optional int32 filter_length = 11 [default = 2];
550  return (_has_bits_[0] & 0x00000008u) != 0;
551 }
552 inline void OpenCPNInterfaceConfig::set_has_filter_length() {
553  _has_bits_[0] |= 0x00000008u;
554 }
555 inline void OpenCPNInterfaceConfig::clear_has_filter_length() {
556  _has_bits_[0] &= ~0x00000008u;
557 }
559  filter_length_ = 2;
560  clear_has_filter_length();
561 }
563  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.filter_length)
564  return filter_length_;
565 }
567  set_has_filter_length();
568  filter_length_ = value;
569  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.filter_length)
570 }
571 
572 // optional double position_report_interval = 12 [default = 1, (.dccl.field) = {
574  return (_has_bits_[0] & 0x00000010u) != 0;
575 }
576 inline void OpenCPNInterfaceConfig::set_has_position_report_interval() {
577  _has_bits_[0] |= 0x00000010u;
578 }
579 inline void OpenCPNInterfaceConfig::clear_has_position_report_interval() {
580  _has_bits_[0] &= ~0x00000010u;
581 }
583  position_report_interval_ = 1;
584  clear_has_position_report_interval();
585 }
587  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.position_report_interval)
588  return position_report_interval_;
589 }
591  set_has_position_report_interval();
592  position_report_interval_ = value;
593  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.position_report_interval)
594 }
595 
596 // optional double voyage_report_interval = 13 [default = 30, (.dccl.field) = {
598  return (_has_bits_[0] & 0x00000020u) != 0;
599 }
600 inline void OpenCPNInterfaceConfig::set_has_voyage_report_interval() {
601  _has_bits_[0] |= 0x00000020u;
602 }
603 inline void OpenCPNInterfaceConfig::clear_has_voyage_report_interval() {
604  _has_bits_[0] &= ~0x00000020u;
605 }
607  voyage_report_interval_ = 30;
608  clear_has_voyage_report_interval();
609 }
611  // @@protoc_insertion_point(field_get:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.voyage_report_interval)
612  return voyage_report_interval_;
613 }
615  set_has_voyage_report_interval();
616  voyage_report_interval_ = value;
617  // @@protoc_insertion_point(field_set:goby.apps.zeromq.protobuf.OpenCPNInterfaceConfig.voyage_report_interval)
618 }
619 
620 inline bool OpenCPNInterfaceConfig::has_io() const {
621  return io_case() != IO_NOT_SET;
622 }
623 inline void OpenCPNInterfaceConfig::clear_has_io() {
624  _oneof_case_[0] = IO_NOT_SET;
625 }
627  return OpenCPNInterfaceConfig::IoCase(_oneof_case_[0]);
628 }
629 #ifdef __GNUC__
630  #pragma GCC diagnostic pop
631 #endif // __GNUC__
632 
633 // @@protoc_insertion_point(namespace_scope)
634 
635 } // namespace protobuf
636 } // namespace zeromq
637 } // namespace apps
638 } // namespace goby
639 
640 // @@protoc_insertion_point(global_scope)
641 
642 #endif // PROTOBUF_INCLUDED_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_app
void clear_app()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_voyage_report_interval
void clear_voyage_report_interval()
Definition: opencpn_config.pb.h:606
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::IoCase
IoCase
Definition: opencpn_config.pb.h:119
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig
Definition: opencpn_config.pb.h:83
goby::util::units::rpm::system
boost::units::make_system< boost::units::angle::revolution_base_unit, boost::units::metric::minute_base_unit >::type system
Definition: system.hpp:45
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::position_report_interval_dimension
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type position_report_interval_dimension
Definition: opencpn_config.pb.h:261
goby::zeromq::protobuf::InterProcessPortalConfig
Definition: interprocess_config.pb.h:97
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_allocated_ais_serial
void set_allocated_ais_serial(::goby::middleware::protobuf::PTYConfig *ais_serial)
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_position_report_interval
void clear_position_report_interval()
Definition: opencpn_config.pb.h:582
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::unknown_fields
const ::google::protobuf::UnknownFieldSet & unknown_fields() const
Definition: opencpn_config.pb.h:109
goby::middleware::protobuf::AppConfig
Definition: app_config.pb.h:767
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_filter_length
void set_filter_length(::google::protobuf::int32 value)
Definition: opencpn_config.pb.h:566
goby::middleware::protobuf::_PTYConfig_default_instance_
PTYConfigDefaultTypeInternal _PTYConfig_default_instance_
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::position_report_interval_with_units
Quantity position_report_interval_with_units() const
Definition: opencpn_config.pb.h:270
goby
The global namespace for the Goby project.
Definition: acomms_constants.h:33
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_voyage_report_interval
void set_voyage_report_interval(double value)
Definition: opencpn_config.pb.h:614
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::IsInitialized
bool IsInitialized() const final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::voyage_report_interval_unit
boost::units::unit< voyage_report_interval_dimension, boost::units::si::system > voyage_report_interval_unit
Definition: opencpn_config.pb.h:278
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::CopyFrom
void CopyFrom(const ::google::protobuf::Message &from) final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::GetMetadata
::google::protobuf::Metadata GetMetadata() const final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mutable_ais_serial
::goby::middleware::protobuf::PTYConfig * mutable_ais_serial()
Definition: opencpn_config.pb.h:513
goby::middleware::protobuf::_TCPServerConfig_default_instance_
TCPServerConfigDefaultTypeInternal _TCPServerConfig_default_instance_
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct
Definition: opencpn_config.pb.h:50
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_ais_server
bool has_ais_server() const
Definition: opencpn_config.pb.h:449
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::release_app
::goby::middleware::protobuf::AppConfig * release_app()
Definition: opencpn_config.pb.h:359
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kInterprocessFieldNumber
static const int kInterprocessFieldNumber
Definition: opencpn_config.pb.h:198
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kAisSerial
@ kAisSerial
Definition: opencpn_config.pb.h:121
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::serialization_table
static const ::google::protobuf::internal::SerializationTable serialization_table[]
Definition: opencpn_config.pb.h:55
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::schema
static const ::google::protobuf::internal::ParseTable schema[1]
Definition: opencpn_config.pb.h:53
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::entries
static const ::google::protobuf::internal::ParseTableField entries[]
Definition: opencpn_config.pb.h:51
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kFilterLengthFieldNumber
static const int kFilterLengthFieldNumber
Definition: opencpn_config.pb.h:217
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::release_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
Definition: opencpn_config.pb.h:413
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::MergeFrom
void MergeFrom(const ::google::protobuf::Message &from) final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::release_ais_server
::goby::middleware::protobuf::TCPServerConfig * release_ais_server()
Definition: opencpn_config.pb.h:458
google::protobuf::MessageLite
Definition: message_lite.h:164
boost
Definition: udp_driver.h:41
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::voyage_report_interval_dimension
boost::units::derived_dimension< boost::units::time_base_dimension, 1 >::type voyage_report_interval_dimension
Definition: opencpn_config.pb.h:274
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_position_report_interval
bool has_position_report_interval() const
Definition: opencpn_config.pb.h:573
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::~OpenCPNInterfaceConfig
virtual ~OpenCPNInterfaceConfig()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::New
OpenCPNInterfaceConfig * New(::google::protobuf::Arena *arena) const final
Definition: opencpn_config.pb.h:144
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_filter_length
void clear_filter_length()
Definition: opencpn_config.pb.h:558
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_mmsi_start
void set_mmsi_start(::google::protobuf::int32 value)
Definition: opencpn_config.pb.h:542
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::InitAsDefaultInstance
static void InitAsDefaultInstance()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::New
OpenCPNInterfaceConfig * New() const final
Definition: opencpn_config.pb.h:140
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::IO_NOT_SET
@ IO_NOT_SET
Definition: opencpn_config.pb.h:122
google::protobuf::Arena
Definition: arena.h:244
goby::middleware::protobuf::TCPServerConfig
Definition: tcp_config.pb.h:80
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::Swap
void Swap(OpenCPNInterfaceConfig *other)
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::swap
friend void swap(OpenCPNInterfaceConfig &a, OpenCPNInterfaceConfig &b)
Definition: opencpn_config.pb.h:134
interprocess_config.pb.h
tcp_config.pb.h
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mutable_interprocess
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
Definition: opencpn_config.pb.h:420
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::aux
static const ::google::protobuf::internal::AuxillaryParseTableField aux[]
Definition: opencpn_config.pb.h:52
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::GetCachedSize
int GetCachedSize() const final
Definition: opencpn_config.pb.h:161
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kAisServerFieldNumber
static const int kAisServerFieldNumber
Definition: opencpn_config.pb.h:238
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_app
bool has_app() const
Definition: opencpn_config.pb.h:341
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::descriptor
static const ::google::protobuf::Descriptor * descriptor()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_ais_serial
void clear_ais_serial()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_interprocess
void clear_interprocess()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::ais_server
const ::goby::middleware::protobuf::TCPServerConfig & ais_server() const
Definition: opencpn_config.pb.h:469
pty_config.pb.h
message.h
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kAisSerialFieldNumber
static const int kAisSerialFieldNumber
Definition: opencpn_config.pb.h:250
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_filter_length
bool has_filter_length() const
Definition: opencpn_config.pb.h:549
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::filter_length
::google::protobuf::int32 filter_length() const
Definition: opencpn_config.pb.h:562
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_ais_serial
bool has_ais_serial() const
Definition: opencpn_config.pb.h:487
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::operator=
OpenCPNInterfaceConfig & operator=(const OpenCPNInterfaceConfig &from)
Definition: opencpn_config.pb.h:90
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_mmsi_start
bool has_mmsi_start() const
Definition: opencpn_config.pb.h:525
goby::uint32
std::uint32_t uint32
Definition: primitive_types.h:32
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::internal_default_instance
static const OpenCPNInterfaceConfig * internal_default_instance()
Definition: opencpn_config.pb.h:126
goby::int32
std::int32_t int32
Definition: primitive_types.h:33
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kAisServer
@ kAisServer
Definition: opencpn_config.pb.h:120
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::io_case
IoCase io_case() const
Definition: opencpn_config.pb.h:626
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_allocated_app
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
Definition: opencpn_config.pb.h:375
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kPositionReportIntervalFieldNumber
static const int kPositionReportIntervalFieldNumber
Definition: opencpn_config.pb.h:224
jwt::json::type
type
Generic JSON types used in JWTs.
Definition: jwt.h:2071
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_position_report_interval
void set_position_report_interval(double value)
Definition: opencpn_config.pb.h:590
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_allocated_ais_server
void set_allocated_ais_server(::goby::middleware::protobuf::TCPServerConfig *ais_server)
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::field_metadata
static const ::google::protobuf::internal::FieldMetadata field_metadata[]
Definition: opencpn_config.pb.h:54
goby::middleware::protobuf::PTYConfig
Definition: pty_config.pb.h:74
google::protobuf::Metadata
Definition: message.h:174
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::Clear
void Clear() final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kAppFieldNumber
static const int kAppFieldNumber
Definition: opencpn_config.pb.h:186
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kIndexInFileMessages
static constexpr int kIndexInFileMessages
Definition: opencpn_config.pb.h:130
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::SerializeWithCachedSizes
void SerializeWithCachedSizes(::google::protobuf::io::CodedOutputStream *output) const final
google::protobuf::Message
Definition: message.h:189
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_ais_server
void clear_ais_server()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_voyage_report_interval_with_units
void set_voyage_report_interval_with_units(Quantity value_w_units)
Definition: opencpn_config.pb.h:281
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::TableStruct::offsets
static const ::google::protobuf::uint32 offsets[]
Definition: opencpn_config.pb.h:56
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::voyage_report_interval_with_units
boost::units::quantity< voyage_report_interval_unit, double > voyage_report_interval_with_units() const
Definition: opencpn_config.pb.h:288
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mutable_app
::goby::middleware::protobuf::AppConfig * mutable_app()
Definition: opencpn_config.pb.h:366
goby::apps::zeromq::protobuf::_OpenCPNInterfaceConfig_default_instance_
OpenCPNInterfaceConfigDefaultTypeInternal _OpenCPNInterfaceConfig_default_instance_
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::voyage_report_interval_with_units
Quantity voyage_report_interval_with_units() const
Definition: opencpn_config.pb.h:285
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::app
const ::goby::middleware::protobuf::AppConfig & app() const
Definition: opencpn_config.pb.h:353
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::voyage_report_interval
double voyage_report_interval() const
Definition: opencpn_config.pb.h:610
goby::middleware::protobuf::_AppConfig_default_instance_
AppConfigDefaultTypeInternal _AppConfig_default_instance_
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mutable_ais_server
::goby::middleware::protobuf::TCPServerConfig * mutable_ais_server()
Definition: opencpn_config.pb.h:475
arena.h
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::default_instance
static const OpenCPNInterfaceConfig & default_instance()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::OpenCPNInterfaceConfig
OpenCPNInterfaceConfig()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_interprocess
bool has_interprocess() const
Definition: opencpn_config.pb.h:395
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::position_report_interval_unit
boost::units::unit< position_report_interval_dimension, boost::units::si::system > position_report_interval_unit
Definition: opencpn_config.pb.h:263
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::interprocess
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Definition: opencpn_config.pb.h:407
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto
Definition: opencpn_config.pb.h:48
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::position_report_interval
double position_report_interval() const
Definition: opencpn_config.pb.h:586
option_extensions.pb.h
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kMmsiStartFieldNumber
static const int kMmsiStartFieldNumber
Definition: opencpn_config.pb.h:210
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::ByteSizeLong
size_t ByteSizeLong() const final
protobuf_goby_2fzeromq_2fprotobuf_2fopencpn_5fconfig_2eproto::AddDescriptors
void AddDescriptors()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_allocated_interprocess
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
Definition: opencpn_config.pb.h:429
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::set_position_report_interval_with_units
void set_position_report_interval_with_units(Quantity value_w_units)
Definition: opencpn_config.pb.h:266
app_config.pb.h
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::kVoyageReportIntervalFieldNumber
static const int kVoyageReportIntervalFieldNumber
Definition: opencpn_config.pb.h:231
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mmsi_start
::google::protobuf::int32 mmsi_start() const
Definition: opencpn_config.pb.h:538
goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_
InterProcessPortalConfigDefaultTypeInternal _InterProcessPortalConfig_default_instance_
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::mutable_unknown_fields
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields()
Definition: opencpn_config.pb.h:112
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::MergePartialFromCodedStream
bool MergePartialFromCodedStream(::google::protobuf::io::CodedInputStream *input) final
google
Definition: dccl.h:57
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::ais_serial
const ::goby::middleware::protobuf::PTYConfig & ais_serial() const
Definition: opencpn_config.pb.h:507
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_io
void clear_io()
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::clear_mmsi_start
void clear_mmsi_start()
Definition: opencpn_config.pb.h:534
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::position_report_interval_with_units
boost::units::quantity< position_report_interval_unit, double > position_report_interval_with_units() const
Definition: opencpn_config.pb.h:273
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::InternalSerializeWithCachedSizesToArray
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray(bool deterministic, ::google::protobuf::uint8 *target) const final
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::has_voyage_report_interval
bool has_voyage_report_interval() const
Definition: opencpn_config.pb.h:597
goby::apps::zeromq::protobuf::OpenCPNInterfaceConfig::release_ais_serial
::goby::middleware::protobuf::PTYConfig * release_ais_serial()
Definition: opencpn_config.pb.h:496