4 #ifndef GOOGLE_PROTOBUF_INCLUDED_bin_2fsimulator_2fconfig_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_bin_2fsimulator_2fconfig_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
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 3012004 < 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/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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
36 #include "goby/middleware/protobuf/app_config.pb.h"
37 #include "goby/zeromq/protobuf/interprocess_config.pb.h"
38 #include "goby/moos/protobuf/moos_gateway_config.pb.h"
39 #include "goby/middleware/protobuf/udp_config.pb.h"
41 #include <boost/units/quantity.hpp>
42 #include <boost/units/absolute.hpp>
43 #include <boost/units/dimensionless_type.hpp>
44 #include <boost/units/make_scaled_unit.hpp>
46 #include <boost/units/systems/angle/degrees.hpp>
48 #include <boost/units/systems/temperature/celsius.hpp>
50 #include <boost/units/systems/si.hpp>
52 #include <google/protobuf/port_def.inc>
53 #define PROTOBUF_INTERNAL_EXPORT_bin_2fsimulator_2fconfig_2eproto
54 PROTOBUF_NAMESPACE_OPEN
58 PROTOBUF_NAMESPACE_CLOSE
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
66 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
68 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
70 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
75 class ArduinoSimThread;
76 class ArduinoSimThreadDefaultTypeInternal;
79 class SimulatorDefaultTypeInternal;
81 class Simulator_ScalarSample;
82 class Simulator_ScalarSampleDefaultTypeInternal;
86 PROTOBUF_NAMESPACE_OPEN
87 template<> ::jaiabot::config::ArduinoSimThread* Arena::CreateMaybeMessage<::jaiabot::config::ArduinoSimThread>(Arena*);
88 template<> ::jaiabot::config::Simulator* Arena::CreateMaybeMessage<::jaiabot::config::Simulator>(Arena*);
89 template<> ::jaiabot::config::Simulator_ScalarSample* Arena::CreateMaybeMessage<::jaiabot::config::Simulator_ScalarSample>(Arena*);
90 PROTOBUF_NAMESPACE_CLOSE
96 class Simulator_ScalarSample PROTOBUF_FINAL :
97 public ::PROTOBUF_NAMESPACE_ID::Message {
104 : Simulator_ScalarSample() {
105 *
this = ::std::move(from);
108 inline Simulator_ScalarSample&
operator=(
const Simulator_ScalarSample& from) {
112 inline Simulator_ScalarSample&
operator=(Simulator_ScalarSample&& from) noexcept {
113 if (GetArena() == from.GetArena()) {
114 if (
this != &from) InternalSwap(&from);
122 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
125 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
128 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
129 return GetDescriptor();
132 return GetMetadataStatic().descriptor;
135 return GetMetadataStatic().reflection;
141 return reinterpret_cast<const Simulator_ScalarSample*
>(
144 static constexpr
int kIndexInFileMessages =
147 friend void swap(Simulator_ScalarSample& a, Simulator_ScalarSample& b) {
150 inline void Swap(Simulator_ScalarSample* other) {
151 if (other ==
this)
return;
152 if (GetArena() == other->GetArena()) {
155 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
159 if (other ==
this)
return;
160 GOOGLE_DCHECK(GetArena() == other->GetArena());
166 inline Simulator_ScalarSample*
New() const final {
167 return CreateMaybeMessage<Simulator_ScalarSample>(
nullptr);
170 Simulator_ScalarSample*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
171 return CreateMaybeMessage<Simulator_ScalarSample>(arena);
173 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
174 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
177 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
178 bool IsInitialized() const final;
180 size_t ByteSizeLong() const final;
181 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
182 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
183 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
184 int GetCachedSize() const final {
return _cached_size_.Get(); }
187 inline void SharedCtor();
188 inline void SharedDtor();
189 void SetCachedSize(
int size)
const final;
190 void InternalSwap(Simulator_ScalarSample* other);
191 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
192 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
193 return "jaiabot.config.Simulator.ScalarSample";
198 static void ArenaDtor(
void*
object);
199 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
204 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
216 kDepthFieldNumber = 1,
217 kTemperatureFieldNumber = 2,
218 kSalinityFieldNumber = 3,
223 bool _internal_has_depth()
const;
229 double _internal_depth()
const;
230 void _internal_set_depth(
double value);
236 bool _internal_has_temperature()
const;
242 double _internal_temperature()
const;
243 void _internal_set_temperature(
double value);
249 bool _internal_has_salinity()
const;
255 double _internal_salinity()
const;
256 void _internal_set_salinity(
double value);
261 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
263 template<
typename Quantity >
265 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
267 template<
typename Quantity >
272 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
276 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
278 template<
typename Quantity >
280 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
282 template<
typename Quantity >
287 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
293 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
294 typedef void InternalArenaConstructable_;
295 typedef void DestructorSkippable_;
296 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
297 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
301 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
306 public ::PROTOBUF_NAMESPACE_ID::Message {
314 *
this = ::std::move(from);
321 inline Simulator&
operator=(Simulator&& from) noexcept {
322 if (GetArena() == from.GetArena()) {
323 if (
this != &from) InternalSwap(&from);
331 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
334 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
337 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
338 return GetDescriptor();
341 return GetMetadataStatic().descriptor;
344 return GetMetadataStatic().reflection;
350 return reinterpret_cast<const Simulator*
>(
353 static constexpr
int kIndexInFileMessages =
356 friend void swap(Simulator& a, Simulator& b) {
359 inline void Swap(Simulator* other) {
360 if (other ==
this)
return;
361 if (GetArena() == other->GetArena()) {
364 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
368 if (other ==
this)
return;
369 GOOGLE_DCHECK(GetArena() == other->GetArena());
375 inline Simulator*
New() const final {
376 return CreateMaybeMessage<Simulator>(
nullptr);
379 Simulator*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
380 return CreateMaybeMessage<Simulator>(arena);
382 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
383 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
386 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
387 bool IsInitialized() const final;
389 size_t ByteSizeLong() const final;
390 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
391 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
392 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
393 int GetCachedSize() const final {
return _cached_size_.Get(); }
396 inline void SharedCtor();
397 inline void SharedDtor();
398 void SetCachedSize(
int size)
const final;
399 void InternalSwap(Simulator* other);
400 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
401 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
402 return "jaiabot.config.Simulator";
405 explicit Simulator(::PROTOBUF_NAMESPACE_ID::Arena* arena);
407 static void ArenaDtor(
void*
object);
408 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
413 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
427 kSampleFieldNumber = 40,
429 kInterprocessFieldNumber = 2,
430 kMoosFieldNumber = 10,
431 kGpsUdpConfigFieldNumber = 20,
432 kPressureUdpConfigFieldNumber = 21,
433 kSalinityUdpConfigFieldNumber = 22,
434 kStartLocationFieldNumber = 26,
435 kArduinoConfigFieldNumber = 60,
436 kHeadingRandMaxFieldNumber = 30,
437 kVerticalDiveRateFieldNumber = 31,
438 kSeafloorDepthFieldNumber = 32,
439 kTemperatureStdevFieldNumber = 41,
440 kSalinityStdevFieldNumber = 42,
441 kEnableGpsFieldNumber = 25,
442 kIsBotSimFieldNumber = 28,
443 kGpsHdopRandMaxFieldNumber = 27,
444 kGpsPdopRandMaxFieldNumber = 29,
445 kSeafloorWavelengthFieldNumber = 33,
446 kSeafloorAmplitudeFieldNumber = 34,
447 kGpsHdopDropoutFieldNumber = 35,
448 kGpsPdopDropoutFieldNumber = 36,
449 kMinimumThrustFieldNumber = 37,
450 kPitchAtRestFieldNumber = 38,
455 int _internal_sample_size()
const;
459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
462 const ::jaiabot::config::Simulator_ScalarSample& _internal_sample(
int index)
const;
463 ::jaiabot::config::Simulator_ScalarSample* _internal_add_sample();
465 const ::jaiabot::config::Simulator_ScalarSample&
sample(
int index)
const;
467 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
473 bool _internal_has_app()
const;
476 const ::goby::middleware::protobuf::AppConfig&
app()
const;
481 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
482 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
485 ::goby::middleware::protobuf::AppConfig* app);
491 bool _internal_has_interprocess()
const;
494 const ::goby::zeromq::protobuf::InterProcessPortalConfig&
interprocess()
const;
499 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
500 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
503 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
509 bool _internal_has_moos()
const;
512 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig&
moos()
const;
513 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
release_moos();
514 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
mutable_moos();
517 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos()
const;
518 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _internal_mutable_moos();
521 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
moos);
527 bool _internal_has_gps_udp_config()
const;
530 const ::goby::middleware::protobuf::UDPPointToPointConfig&
gps_udp_config()
const;
535 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_gps_udp_config()
const;
536 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_gps_udp_config();
539 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config);
545 bool _internal_has_pressure_udp_config()
const;
553 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_pressure_udp_config()
const;
554 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_pressure_udp_config();
557 ::goby::middleware::protobuf::UDPPointToPointConfig* pressure_udp_config);
563 bool _internal_has_salinity_udp_config()
const;
571 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_salinity_udp_config()
const;
572 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_salinity_udp_config();
575 ::goby::middleware::protobuf::UDPPointToPointConfig* salinity_udp_config);
581 bool _internal_has_start_location()
const;
589 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
590 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_start_location();
593 ::jaiabot::protobuf::GeographicCoordinate* start_location);
599 bool _internal_has_arduino_config()
const;
607 const ::jaiabot::config::ArduinoSimThread& _internal_arduino_config()
const;
608 ::jaiabot::config::ArduinoSimThread* _internal_mutable_arduino_config();
611 ::jaiabot::config::ArduinoSimThread* arduino_config);
617 bool _internal_has_heading_rand_max()
const;
623 double _internal_heading_rand_max()
const;
624 void _internal_set_heading_rand_max(
double value);
630 bool _internal_has_vertical_dive_rate()
const;
636 double _internal_vertical_dive_rate()
const;
637 void _internal_set_vertical_dive_rate(
double value);
643 bool _internal_has_seafloor_depth()
const;
649 double _internal_seafloor_depth()
const;
650 void _internal_set_seafloor_depth(
double value);
656 bool _internal_has_temperature_stdev()
const;
662 double _internal_temperature_stdev()
const;
663 void _internal_set_temperature_stdev(
double value);
669 bool _internal_has_salinity_stdev()
const;
675 double _internal_salinity_stdev()
const;
676 void _internal_set_salinity_stdev(
double value);
682 bool _internal_has_enable_gps()
const;
688 bool _internal_enable_gps()
const;
689 void _internal_set_enable_gps(
bool value);
695 bool _internal_has_is_bot_sim()
const;
701 bool _internal_is_bot_sim()
const;
702 void _internal_set_is_bot_sim(
bool value);
708 bool _internal_has_gps_hdop_rand_max()
const;
714 double _internal_gps_hdop_rand_max()
const;
715 void _internal_set_gps_hdop_rand_max(
double value);
721 bool _internal_has_gps_pdop_rand_max()
const;
727 double _internal_gps_pdop_rand_max()
const;
728 void _internal_set_gps_pdop_rand_max(
double value);
734 bool _internal_has_seafloor_wavelength()
const;
740 double _internal_seafloor_wavelength()
const;
741 void _internal_set_seafloor_wavelength(
double value);
747 bool _internal_has_seafloor_amplitude()
const;
753 double _internal_seafloor_amplitude()
const;
754 void _internal_set_seafloor_amplitude(
double value);
760 bool _internal_has_gps_hdop_dropout()
const;
766 double _internal_gps_hdop_dropout()
const;
767 void _internal_set_gps_hdop_dropout(
double value);
773 bool _internal_has_gps_pdop_dropout()
const;
779 double _internal_gps_pdop_dropout()
const;
780 void _internal_set_gps_pdop_dropout(
double value);
786 bool _internal_has_minimum_thrust()
const;
792 double _internal_minimum_thrust()
const;
793 void _internal_set_minimum_thrust(
double value);
799 bool _internal_has_pitch_at_rest()
const;
805 double _internal_pitch_at_rest()
const;
806 void _internal_set_pitch_at_rest(
double value);
813 template<
typename Quantity >
815 { set_vertical_dive_rate(boost::units::quantity<vertical_dive_rate_unit,double >(value_w_units).value() ); };
817 template<
typename Quantity >
822 {
return vertical_dive_rate_with_units<boost::units::quantity< vertical_dive_rate_unit,double > >(); };
828 template<
typename Quantity >
830 { set_seafloor_depth(boost::units::quantity<seafloor_depth_unit,double >(value_w_units).value() ); };
832 template<
typename Quantity >
837 {
return seafloor_depth_with_units<boost::units::quantity< seafloor_depth_unit,double > >(); };
843 template<
typename Quantity >
845 { set_seafloor_wavelength(boost::units::quantity<seafloor_wavelength_unit,double >(value_w_units).value() ); };
847 template<
typename Quantity >
852 {
return seafloor_wavelength_with_units<boost::units::quantity< seafloor_wavelength_unit,double > >(); };
858 template<
typename Quantity >
860 { set_seafloor_amplitude(boost::units::quantity<seafloor_amplitude_unit,double >(value_w_units).value() ); };
862 template<
typename Quantity >
867 {
return seafloor_amplitude_with_units<boost::units::quantity< seafloor_amplitude_unit,double > >(); };
873 template<
typename Quantity >
875 { set_pitch_at_rest(boost::units::quantity<pitch_at_rest_unit,double >(value_w_units).value() ); };
877 template<
typename Quantity >
882 {
return pitch_at_rest_with_units<boost::units::quantity< pitch_at_rest_unit,double > >(); };
888 template<
typename Quantity >
890 { set_temperature_stdev(boost::units::quantity<temperature_stdev_unit,double >(value_w_units).value() ); };
892 template<
typename Quantity >
897 {
return temperature_stdev_with_units<boost::units::quantity< temperature_stdev_unit,double > >(); };
903 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
904 typedef void InternalArenaConstructable_;
905 typedef void DestructorSkippable_;
906 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
907 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
908 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample > sample_;
909 ::goby::middleware::protobuf::AppConfig* app_;
910 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
911 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos_;
912 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config_;
913 ::goby::middleware::protobuf::UDPPointToPointConfig* pressure_udp_config_;
914 ::goby::middleware::protobuf::UDPPointToPointConfig* salinity_udp_config_;
915 ::jaiabot::protobuf::GeographicCoordinate* start_location_;
916 ::jaiabot::config::ArduinoSimThread* arduino_config_;
917 double heading_rand_max_;
918 double vertical_dive_rate_;
919 double seafloor_depth_;
920 double temperature_stdev_;
921 double salinity_stdev_;
924 double gps_hdop_rand_max_;
925 double gps_pdop_rand_max_;
926 double seafloor_wavelength_;
927 double seafloor_amplitude_;
928 double gps_hdop_dropout_;
929 double gps_pdop_dropout_;
930 double minimum_thrust_;
931 double pitch_at_rest_;
932 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
936 class ArduinoSimThread PROTOBUF_FINAL :
937 public ::PROTOBUF_NAMESPACE_ID::Message {
944 : ArduinoSimThread() {
945 *
this = ::std::move(from);
948 inline ArduinoSimThread&
operator=(
const ArduinoSimThread& from) {
952 inline ArduinoSimThread&
operator=(ArduinoSimThread&& from) noexcept {
953 if (GetArena() == from.GetArena()) {
954 if (
this != &from) InternalSwap(&from);
962 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
965 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
968 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
969 return GetDescriptor();
972 return GetMetadataStatic().descriptor;
975 return GetMetadataStatic().reflection;
981 return reinterpret_cast<const ArduinoSimThread*
>(
984 static constexpr
int kIndexInFileMessages =
987 friend void swap(ArduinoSimThread& a, ArduinoSimThread& b) {
990 inline void Swap(ArduinoSimThread* other) {
991 if (other ==
this)
return;
992 if (GetArena() == other->GetArena()) {
995 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
999 if (other ==
this)
return;
1000 GOOGLE_DCHECK(GetArena() == other->GetArena());
1001 InternalSwap(other);
1006 inline ArduinoSimThread*
New() const final {
1007 return CreateMaybeMessage<ArduinoSimThread>(
nullptr);
1010 ArduinoSimThread*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
1011 return CreateMaybeMessage<ArduinoSimThread>(arena);
1013 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1014 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
1017 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1018 bool IsInitialized() const final;
1020 size_t ByteSizeLong() const final;
1021 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1022 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
1023 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1024 int GetCachedSize() const final {
return _cached_size_.Get(); }
1027 inline void SharedCtor();
1028 inline void SharedDtor();
1029 void SetCachedSize(
int size)
const final;
1030 void InternalSwap(ArduinoSimThread* other);
1031 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1032 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1033 return "jaiabot.config.ArduinoSimThread";
1038 static void ArenaDtor(
void*
object);
1039 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1044 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1056 kVoltagePeriodFieldNumber = 1,
1057 kVoltageStepDecreaseFieldNumber = 2,
1058 kVoltageStartFieldNumber = 3,
1059 kResetVoltageLevelFieldNumber = 4,
1064 bool _internal_has_voltage_period()
const;
1070 ::PROTOBUF_NAMESPACE_ID::int32 _internal_voltage_period()
const;
1071 void _internal_set_voltage_period(::PROTOBUF_NAMESPACE_ID::int32 value);
1077 bool _internal_has_voltage_step_decrease()
const;
1083 double _internal_voltage_step_decrease()
const;
1084 void _internal_set_voltage_step_decrease(
double value);
1090 bool _internal_has_voltage_start()
const;
1096 double _internal_voltage_start()
const;
1097 void _internal_set_voltage_start(
double value);
1103 bool _internal_has_reset_voltage_level()
const;
1109 double _internal_reset_voltage_level()
const;
1110 void _internal_set_reset_voltage_level(
double value);
1117 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1118 typedef void InternalArenaConstructable_;
1119 typedef void DestructorSkippable_;
1120 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1121 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1122 ::PROTOBUF_NAMESPACE_ID::int32 voltage_period_;
1123 double voltage_step_decrease_;
1124 double voltage_start_;
1125 double reset_voltage_level_;
1126 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
1134 #pragma GCC diagnostic push
1135 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1140 inline bool Simulator_ScalarSample::_internal_has_depth()
const {
1141 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1144 inline bool Simulator_ScalarSample::has_depth()
const {
1145 return _internal_has_depth();
1147 inline void Simulator_ScalarSample::clear_depth() {
1149 _has_bits_[0] &= ~0x00000001u;
1151 inline double Simulator_ScalarSample::_internal_depth()
const {
1154 inline double Simulator_ScalarSample::depth()
const {
1156 return _internal_depth();
1158 inline void Simulator_ScalarSample::_internal_set_depth(
double value) {
1159 _has_bits_[0] |= 0x00000001u;
1162 inline void Simulator_ScalarSample::set_depth(
double value) {
1163 _internal_set_depth(value);
1168 inline bool Simulator_ScalarSample::_internal_has_temperature()
const {
1169 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1172 inline bool Simulator_ScalarSample::has_temperature()
const {
1173 return _internal_has_temperature();
1175 inline void Simulator_ScalarSample::clear_temperature() {
1177 _has_bits_[0] &= ~0x00000002u;
1179 inline double Simulator_ScalarSample::_internal_temperature()
const {
1180 return temperature_;
1182 inline double Simulator_ScalarSample::temperature()
const {
1184 return _internal_temperature();
1186 inline void Simulator_ScalarSample::_internal_set_temperature(
double value) {
1187 _has_bits_[0] |= 0x00000002u;
1188 temperature_ = value;
1190 inline void Simulator_ScalarSample::set_temperature(
double value) {
1191 _internal_set_temperature(value);
1196 inline bool Simulator_ScalarSample::_internal_has_salinity()
const {
1197 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1200 inline bool Simulator_ScalarSample::has_salinity()
const {
1201 return _internal_has_salinity();
1203 inline void Simulator_ScalarSample::clear_salinity() {
1205 _has_bits_[0] &= ~0x00000004u;
1207 inline double Simulator_ScalarSample::_internal_salinity()
const {
1212 return _internal_salinity();
1214 inline void Simulator_ScalarSample::_internal_set_salinity(
double value) {
1215 _has_bits_[0] |= 0x00000004u;
1218 inline void Simulator_ScalarSample::set_salinity(
double value) {
1219 _internal_set_salinity(value);
1228 inline bool Simulator::_internal_has_app()
const {
1229 bool value = (_has_bits_[0] & 0x00000001u) != 0;
1230 PROTOBUF_ASSUME(!value || app_ !=
nullptr);
1233 inline bool Simulator::has_app()
const {
1234 return _internal_has_app();
1236 inline const ::goby::middleware::protobuf::AppConfig& Simulator::_internal_app()
const {
1237 const ::goby::middleware::protobuf::AppConfig* p = app_;
1238 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig*
>(
1239 &::goby::middleware::protobuf::_AppConfig_default_instance_);
1241 inline const ::goby::middleware::protobuf::AppConfig& Simulator::app()
const {
1243 return _internal_app();
1245 inline void Simulator::unsafe_arena_set_allocated_app(
1246 ::goby::middleware::protobuf::AppConfig* app) {
1247 if (GetArena() ==
nullptr) {
1248 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
1252 _has_bits_[0] |= 0x00000001u;
1254 _has_bits_[0] &= ~0x00000001u;
1258 inline ::goby::middleware::protobuf::AppConfig* Simulator::release_app() {
1259 auto temp = unsafe_arena_release_app();
1260 if (GetArena() !=
nullptr) {
1261 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1265 inline ::goby::middleware::protobuf::AppConfig* Simulator::unsafe_arena_release_app() {
1267 _has_bits_[0] &= ~0x00000001u;
1268 ::goby::middleware::protobuf::AppConfig* temp = app_;
1272 inline ::goby::middleware::protobuf::AppConfig* Simulator::_internal_mutable_app() {
1273 _has_bits_[0] |= 0x00000001u;
1274 if (app_ ==
nullptr) {
1275 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArena());
1280 inline ::goby::middleware::protobuf::AppConfig* Simulator::mutable_app() {
1282 return _internal_mutable_app();
1284 inline void Simulator::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1285 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1286 if (message_arena ==
nullptr) {
1287 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app_);
1290 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1291 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app)->GetArena();
1292 if (message_arena != submessage_arena) {
1293 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1294 message_arena, app, submessage_arena);
1296 _has_bits_[0] |= 0x00000001u;
1298 _has_bits_[0] &= ~0x00000001u;
1305 inline bool Simulator::_internal_has_interprocess()
const {
1306 bool value = (_has_bits_[0] & 0x00000002u) != 0;
1307 PROTOBUF_ASSUME(!value || interprocess_ !=
nullptr);
1310 inline bool Simulator::has_interprocess()
const {
1311 return _internal_has_interprocess();
1313 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::_internal_interprocess()
const {
1314 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = interprocess_;
1315 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig*
>(
1316 &::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1318 inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::interprocess()
const {
1320 return _internal_interprocess();
1322 inline void Simulator::unsafe_arena_set_allocated_interprocess(
1323 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1324 if (GetArena() ==
nullptr) {
1325 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
1327 interprocess_ = interprocess;
1329 _has_bits_[0] |= 0x00000002u;
1331 _has_bits_[0] &= ~0x00000002u;
1335 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::release_interprocess() {
1336 auto temp = unsafe_arena_release_interprocess();
1337 if (GetArena() !=
nullptr) {
1338 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1342 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::unsafe_arena_release_interprocess() {
1344 _has_bits_[0] &= ~0x00000002u;
1345 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = interprocess_;
1346 interprocess_ =
nullptr;
1349 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::_internal_mutable_interprocess() {
1350 _has_bits_[0] |= 0x00000002u;
1351 if (interprocess_ ==
nullptr) {
1352 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArena());
1355 return interprocess_;
1357 inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::mutable_interprocess() {
1359 return _internal_mutable_interprocess();
1361 inline void Simulator::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1362 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1363 if (message_arena ==
nullptr) {
1364 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess_);
1367 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1368 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess)->GetArena();
1369 if (message_arena != submessage_arena) {
1370 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1371 message_arena, interprocess, submessage_arena);
1373 _has_bits_[0] |= 0x00000002u;
1375 _has_bits_[0] &= ~0x00000002u;
1377 interprocess_ = interprocess;
1382 inline bool Simulator::_internal_has_moos()
const {
1383 bool value = (_has_bits_[0] & 0x00000004u) != 0;
1384 PROTOBUF_ASSUME(!value || moos_ !=
nullptr);
1387 inline bool Simulator::has_moos()
const {
1388 return _internal_has_moos();
1390 inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& Simulator::_internal_moos()
const {
1391 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = moos_;
1392 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
>(
1393 &::goby::apps::moos::protobuf::_GobyMOOSGatewayConfig_MOOSConfig_default_instance_);
1395 inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig&
Simulator::moos()
const {
1397 return _internal_moos();
1399 inline void Simulator::unsafe_arena_set_allocated_moos(
1400 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
moos) {
1401 if (GetArena() ==
nullptr) {
1402 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(moos_);
1406 _has_bits_[0] |= 0x00000004u;
1408 _has_bits_[0] &= ~0x00000004u;
1412 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::release_moos() {
1413 auto temp = unsafe_arena_release_moos();
1414 if (GetArena() !=
nullptr) {
1415 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1419 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::unsafe_arena_release_moos() {
1421 _has_bits_[0] &= ~0x00000004u;
1422 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = moos_;
1426 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::_internal_mutable_moos() {
1427 _has_bits_[0] |= 0x00000004u;
1428 if (moos_ ==
nullptr) {
1429 auto* p = CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(GetArena());
1434 inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::mutable_moos() {
1436 return _internal_mutable_moos();
1438 inline void Simulator::set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig*
moos) {
1439 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1440 if (message_arena ==
nullptr) {
1441 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(moos_);
1444 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1445 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(
moos)->GetArena();
1446 if (message_arena != submessage_arena) {
1447 moos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1448 message_arena,
moos, submessage_arena);
1450 _has_bits_[0] |= 0x00000004u;
1452 _has_bits_[0] &= ~0x00000004u;
1459 inline bool Simulator::_internal_has_gps_udp_config()
const {
1460 bool value = (_has_bits_[0] & 0x00000008u) != 0;
1461 PROTOBUF_ASSUME(!value || gps_udp_config_ !=
nullptr);
1464 inline bool Simulator::has_gps_udp_config()
const {
1465 return _internal_has_gps_udp_config();
1467 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_gps_udp_config()
const {
1468 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = gps_udp_config_;
1469 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
1470 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1472 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::gps_udp_config()
const {
1474 return _internal_gps_udp_config();
1476 inline void Simulator::unsafe_arena_set_allocated_gps_udp_config(
1477 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1478 if (GetArena() ==
nullptr) {
1479 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gps_udp_config_);
1481 gps_udp_config_ = gps_udp_config;
1482 if (gps_udp_config) {
1483 _has_bits_[0] |= 0x00000008u;
1485 _has_bits_[0] &= ~0x00000008u;
1489 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_gps_udp_config() {
1490 auto temp = unsafe_arena_release_gps_udp_config();
1491 if (GetArena() !=
nullptr) {
1492 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1496 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_gps_udp_config() {
1498 _has_bits_[0] &= ~0x00000008u;
1499 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = gps_udp_config_;
1500 gps_udp_config_ =
nullptr;
1503 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_gps_udp_config() {
1504 _has_bits_[0] |= 0x00000008u;
1505 if (gps_udp_config_ ==
nullptr) {
1506 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArena());
1507 gps_udp_config_ = p;
1509 return gps_udp_config_;
1511 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_gps_udp_config() {
1513 return _internal_mutable_gps_udp_config();
1515 inline void Simulator::set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1516 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1517 if (message_arena ==
nullptr) {
1518 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gps_udp_config_);
1520 if (gps_udp_config) {
1521 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1522 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gps_udp_config)->GetArena();
1523 if (message_arena != submessage_arena) {
1524 gps_udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1525 message_arena, gps_udp_config, submessage_arena);
1527 _has_bits_[0] |= 0x00000008u;
1529 _has_bits_[0] &= ~0x00000008u;
1531 gps_udp_config_ = gps_udp_config;
1536 inline bool Simulator::_internal_has_pressure_udp_config()
const {
1537 bool value = (_has_bits_[0] & 0x00000010u) != 0;
1538 PROTOBUF_ASSUME(!value || pressure_udp_config_ !=
nullptr);
1541 inline bool Simulator::has_pressure_udp_config()
const {
1542 return _internal_has_pressure_udp_config();
1544 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_pressure_udp_config()
const {
1545 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = pressure_udp_config_;
1546 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
1547 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1549 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::pressure_udp_config()
const {
1551 return _internal_pressure_udp_config();
1553 inline void Simulator::unsafe_arena_set_allocated_pressure_udp_config(
1554 ::goby::middleware::protobuf::UDPPointToPointConfig* pressure_udp_config) {
1555 if (GetArena() ==
nullptr) {
1556 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_udp_config_);
1558 pressure_udp_config_ = pressure_udp_config;
1559 if (pressure_udp_config) {
1560 _has_bits_[0] |= 0x00000010u;
1562 _has_bits_[0] &= ~0x00000010u;
1566 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_pressure_udp_config() {
1567 auto temp = unsafe_arena_release_pressure_udp_config();
1568 if (GetArena() !=
nullptr) {
1569 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1573 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_pressure_udp_config() {
1575 _has_bits_[0] &= ~0x00000010u;
1576 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = pressure_udp_config_;
1577 pressure_udp_config_ =
nullptr;
1580 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_pressure_udp_config() {
1581 _has_bits_[0] |= 0x00000010u;
1582 if (pressure_udp_config_ ==
nullptr) {
1583 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArena());
1584 pressure_udp_config_ = p;
1586 return pressure_udp_config_;
1588 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_pressure_udp_config() {
1590 return _internal_mutable_pressure_udp_config();
1592 inline void Simulator::set_allocated_pressure_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* pressure_udp_config) {
1593 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1594 if (message_arena ==
nullptr) {
1595 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_udp_config_);
1597 if (pressure_udp_config) {
1598 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1599 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pressure_udp_config)->GetArena();
1600 if (message_arena != submessage_arena) {
1601 pressure_udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1602 message_arena, pressure_udp_config, submessage_arena);
1604 _has_bits_[0] |= 0x00000010u;
1606 _has_bits_[0] &= ~0x00000010u;
1608 pressure_udp_config_ = pressure_udp_config;
1613 inline bool Simulator::_internal_has_salinity_udp_config()
const {
1614 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1615 PROTOBUF_ASSUME(!value || salinity_udp_config_ !=
nullptr);
1618 inline bool Simulator::has_salinity_udp_config()
const {
1619 return _internal_has_salinity_udp_config();
1621 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_salinity_udp_config()
const {
1622 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = salinity_udp_config_;
1623 return p !=
nullptr ? *p : *
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig*
>(
1624 &::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1626 inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::salinity_udp_config()
const {
1628 return _internal_salinity_udp_config();
1630 inline void Simulator::unsafe_arena_set_allocated_salinity_udp_config(
1631 ::goby::middleware::protobuf::UDPPointToPointConfig* salinity_udp_config) {
1632 if (GetArena() ==
nullptr) {
1633 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(salinity_udp_config_);
1635 salinity_udp_config_ = salinity_udp_config;
1636 if (salinity_udp_config) {
1637 _has_bits_[0] |= 0x00000020u;
1639 _has_bits_[0] &= ~0x00000020u;
1643 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_salinity_udp_config() {
1644 auto temp = unsafe_arena_release_salinity_udp_config();
1645 if (GetArena() !=
nullptr) {
1646 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1650 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_salinity_udp_config() {
1652 _has_bits_[0] &= ~0x00000020u;
1653 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = salinity_udp_config_;
1654 salinity_udp_config_ =
nullptr;
1657 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_salinity_udp_config() {
1658 _has_bits_[0] |= 0x00000020u;
1659 if (salinity_udp_config_ ==
nullptr) {
1660 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArena());
1661 salinity_udp_config_ = p;
1663 return salinity_udp_config_;
1665 inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_salinity_udp_config() {
1667 return _internal_mutable_salinity_udp_config();
1669 inline void Simulator::set_allocated_salinity_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* salinity_udp_config) {
1670 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1671 if (message_arena ==
nullptr) {
1672 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(salinity_udp_config_);
1674 if (salinity_udp_config) {
1675 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1676 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(salinity_udp_config)->GetArena();
1677 if (message_arena != submessage_arena) {
1678 salinity_udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1679 message_arena, salinity_udp_config, submessage_arena);
1681 _has_bits_[0] |= 0x00000020u;
1683 _has_bits_[0] &= ~0x00000020u;
1685 salinity_udp_config_ = salinity_udp_config;
1690 inline bool Simulator::_internal_has_enable_gps()
const {
1691 bool value = (_has_bits_[0] & 0x00002000u) != 0;
1694 inline bool Simulator::has_enable_gps()
const {
1695 return _internal_has_enable_gps();
1697 inline void Simulator::clear_enable_gps() {
1699 _has_bits_[0] &= ~0x00002000u;
1701 inline bool Simulator::_internal_enable_gps()
const {
1704 inline bool Simulator::enable_gps()
const {
1706 return _internal_enable_gps();
1708 inline void Simulator::_internal_set_enable_gps(
bool value) {
1709 _has_bits_[0] |= 0x00002000u;
1710 enable_gps_ = value;
1712 inline void Simulator::set_enable_gps(
bool value) {
1713 _internal_set_enable_gps(value);
1718 inline bool Simulator::_internal_has_start_location()
const {
1719 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1720 PROTOBUF_ASSUME(!value || start_location_ !=
nullptr);
1723 inline bool Simulator::has_start_location()
const {
1724 return _internal_has_start_location();
1726 inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::_internal_start_location()
const {
1727 const ::jaiabot::protobuf::GeographicCoordinate* p = start_location_;
1728 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
1731 inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::start_location()
const {
1733 return _internal_start_location();
1735 inline void Simulator::unsafe_arena_set_allocated_start_location(
1736 ::jaiabot::protobuf::GeographicCoordinate* start_location) {
1737 if (GetArena() ==
nullptr) {
1738 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
1740 start_location_ = start_location;
1741 if (start_location) {
1742 _has_bits_[0] |= 0x00000040u;
1744 _has_bits_[0] &= ~0x00000040u;
1748 inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::release_start_location() {
1749 auto temp = unsafe_arena_release_start_location();
1750 if (GetArena() !=
nullptr) {
1751 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1755 inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::unsafe_arena_release_start_location() {
1757 _has_bits_[0] &= ~0x00000040u;
1758 ::jaiabot::protobuf::GeographicCoordinate* temp = start_location_;
1759 start_location_ =
nullptr;
1762 inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::_internal_mutable_start_location() {
1763 _has_bits_[0] |= 0x00000040u;
1764 if (start_location_ ==
nullptr) {
1765 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
1766 start_location_ = p;
1768 return start_location_;
1770 inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::mutable_start_location() {
1772 return _internal_mutable_start_location();
1774 inline void Simulator::set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate* start_location) {
1775 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1776 if (message_arena ==
nullptr) {
1777 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location_);
1779 if (start_location) {
1780 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1781 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location)->GetArena();
1782 if (message_arena != submessage_arena) {
1783 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1784 message_arena, start_location, submessage_arena);
1786 _has_bits_[0] |= 0x00000040u;
1788 _has_bits_[0] &= ~0x00000040u;
1790 start_location_ = start_location;
1795 inline bool Simulator::_internal_has_gps_hdop_rand_max()
const {
1796 bool value = (_has_bits_[0] & 0x00008000u) != 0;
1799 inline bool Simulator::has_gps_hdop_rand_max()
const {
1800 return _internal_has_gps_hdop_rand_max();
1802 inline void Simulator::clear_gps_hdop_rand_max() {
1803 gps_hdop_rand_max_ = 1.3;
1804 _has_bits_[0] &= ~0x00008000u;
1806 inline double Simulator::_internal_gps_hdop_rand_max()
const {
1807 return gps_hdop_rand_max_;
1809 inline double Simulator::gps_hdop_rand_max()
const {
1811 return _internal_gps_hdop_rand_max();
1813 inline void Simulator::_internal_set_gps_hdop_rand_max(
double value) {
1814 _has_bits_[0] |= 0x00008000u;
1815 gps_hdop_rand_max_ = value;
1817 inline void Simulator::set_gps_hdop_rand_max(
double value) {
1818 _internal_set_gps_hdop_rand_max(value);
1823 inline bool Simulator::_internal_has_is_bot_sim()
const {
1824 bool value = (_has_bits_[0] & 0x00004000u) != 0;
1827 inline bool Simulator::has_is_bot_sim()
const {
1828 return _internal_has_is_bot_sim();
1830 inline void Simulator::clear_is_bot_sim() {
1832 _has_bits_[0] &= ~0x00004000u;
1834 inline bool Simulator::_internal_is_bot_sim()
const {
1837 inline bool Simulator::is_bot_sim()
const {
1839 return _internal_is_bot_sim();
1841 inline void Simulator::_internal_set_is_bot_sim(
bool value) {
1842 _has_bits_[0] |= 0x00004000u;
1843 is_bot_sim_ = value;
1845 inline void Simulator::set_is_bot_sim(
bool value) {
1846 _internal_set_is_bot_sim(value);
1851 inline bool Simulator::_internal_has_gps_pdop_rand_max()
const {
1852 bool value = (_has_bits_[0] & 0x00010000u) != 0;
1855 inline bool Simulator::has_gps_pdop_rand_max()
const {
1856 return _internal_has_gps_pdop_rand_max();
1858 inline void Simulator::clear_gps_pdop_rand_max() {
1859 gps_pdop_rand_max_ = 2.2;
1860 _has_bits_[0] &= ~0x00010000u;
1862 inline double Simulator::_internal_gps_pdop_rand_max()
const {
1863 return gps_pdop_rand_max_;
1865 inline double Simulator::gps_pdop_rand_max()
const {
1867 return _internal_gps_pdop_rand_max();
1869 inline void Simulator::_internal_set_gps_pdop_rand_max(
double value) {
1870 _has_bits_[0] |= 0x00010000u;
1871 gps_pdop_rand_max_ = value;
1873 inline void Simulator::set_gps_pdop_rand_max(
double value) {
1874 _internal_set_gps_pdop_rand_max(value);
1879 inline bool Simulator::_internal_has_heading_rand_max()
const {
1880 bool value = (_has_bits_[0] & 0x00000100u) != 0;
1883 inline bool Simulator::has_heading_rand_max()
const {
1884 return _internal_has_heading_rand_max();
1886 inline void Simulator::clear_heading_rand_max() {
1887 heading_rand_max_ = 0;
1888 _has_bits_[0] &= ~0x00000100u;
1890 inline double Simulator::_internal_heading_rand_max()
const {
1891 return heading_rand_max_;
1893 inline double Simulator::heading_rand_max()
const {
1895 return _internal_heading_rand_max();
1897 inline void Simulator::_internal_set_heading_rand_max(
double value) {
1898 _has_bits_[0] |= 0x00000100u;
1899 heading_rand_max_ = value;
1901 inline void Simulator::set_heading_rand_max(
double value) {
1902 _internal_set_heading_rand_max(value);
1907 inline bool Simulator::_internal_has_vertical_dive_rate()
const {
1908 bool value = (_has_bits_[0] & 0x00000200u) != 0;
1911 inline bool Simulator::has_vertical_dive_rate()
const {
1912 return _internal_has_vertical_dive_rate();
1914 inline void Simulator::clear_vertical_dive_rate() {
1915 vertical_dive_rate_ = 0;
1916 _has_bits_[0] &= ~0x00000200u;
1918 inline double Simulator::_internal_vertical_dive_rate()
const {
1919 return vertical_dive_rate_;
1921 inline double Simulator::vertical_dive_rate()
const {
1923 return _internal_vertical_dive_rate();
1925 inline void Simulator::_internal_set_vertical_dive_rate(
double value) {
1926 _has_bits_[0] |= 0x00000200u;
1927 vertical_dive_rate_ = value;
1929 inline void Simulator::set_vertical_dive_rate(
double value) {
1930 _internal_set_vertical_dive_rate(value);
1935 inline bool Simulator::_internal_has_seafloor_depth()
const {
1936 bool value = (_has_bits_[0] & 0x00000400u) != 0;
1939 inline bool Simulator::has_seafloor_depth()
const {
1940 return _internal_has_seafloor_depth();
1942 inline void Simulator::clear_seafloor_depth() {
1943 seafloor_depth_ = 0;
1944 _has_bits_[0] &= ~0x00000400u;
1946 inline double Simulator::_internal_seafloor_depth()
const {
1947 return seafloor_depth_;
1949 inline double Simulator::seafloor_depth()
const {
1951 return _internal_seafloor_depth();
1953 inline void Simulator::_internal_set_seafloor_depth(
double value) {
1954 _has_bits_[0] |= 0x00000400u;
1955 seafloor_depth_ = value;
1957 inline void Simulator::set_seafloor_depth(
double value) {
1958 _internal_set_seafloor_depth(value);
1963 inline bool Simulator::_internal_has_seafloor_wavelength()
const {
1964 bool value = (_has_bits_[0] & 0x00020000u) != 0;
1967 inline bool Simulator::has_seafloor_wavelength()
const {
1968 return _internal_has_seafloor_wavelength();
1970 inline void Simulator::clear_seafloor_wavelength() {
1971 seafloor_wavelength_ = 100;
1972 _has_bits_[0] &= ~0x00020000u;
1974 inline double Simulator::_internal_seafloor_wavelength()
const {
1975 return seafloor_wavelength_;
1977 inline double Simulator::seafloor_wavelength()
const {
1979 return _internal_seafloor_wavelength();
1981 inline void Simulator::_internal_set_seafloor_wavelength(
double value) {
1982 _has_bits_[0] |= 0x00020000u;
1983 seafloor_wavelength_ = value;
1985 inline void Simulator::set_seafloor_wavelength(
double value) {
1986 _internal_set_seafloor_wavelength(value);
1991 inline bool Simulator::_internal_has_seafloor_amplitude()
const {
1992 bool value = (_has_bits_[0] & 0x00040000u) != 0;
1995 inline bool Simulator::has_seafloor_amplitude()
const {
1996 return _internal_has_seafloor_amplitude();
1998 inline void Simulator::clear_seafloor_amplitude() {
1999 seafloor_amplitude_ = 5;
2000 _has_bits_[0] &= ~0x00040000u;
2002 inline double Simulator::_internal_seafloor_amplitude()
const {
2003 return seafloor_amplitude_;
2005 inline double Simulator::seafloor_amplitude()
const {
2007 return _internal_seafloor_amplitude();
2009 inline void Simulator::_internal_set_seafloor_amplitude(
double value) {
2010 _has_bits_[0] |= 0x00040000u;
2011 seafloor_amplitude_ = value;
2013 inline void Simulator::set_seafloor_amplitude(
double value) {
2014 _internal_set_seafloor_amplitude(value);
2019 inline bool Simulator::_internal_has_gps_hdop_dropout()
const {
2020 bool value = (_has_bits_[0] & 0x00080000u) != 0;
2023 inline bool Simulator::has_gps_hdop_dropout()
const {
2024 return _internal_has_gps_hdop_dropout();
2026 inline void Simulator::clear_gps_hdop_dropout() {
2027 gps_hdop_dropout_ = 20;
2028 _has_bits_[0] &= ~0x00080000u;
2030 inline double Simulator::_internal_gps_hdop_dropout()
const {
2031 return gps_hdop_dropout_;
2033 inline double Simulator::gps_hdop_dropout()
const {
2035 return _internal_gps_hdop_dropout();
2037 inline void Simulator::_internal_set_gps_hdop_dropout(
double value) {
2038 _has_bits_[0] |= 0x00080000u;
2039 gps_hdop_dropout_ = value;
2041 inline void Simulator::set_gps_hdop_dropout(
double value) {
2042 _internal_set_gps_hdop_dropout(value);
2047 inline bool Simulator::_internal_has_gps_pdop_dropout()
const {
2048 bool value = (_has_bits_[0] & 0x00100000u) != 0;
2051 inline bool Simulator::has_gps_pdop_dropout()
const {
2052 return _internal_has_gps_pdop_dropout();
2054 inline void Simulator::clear_gps_pdop_dropout() {
2055 gps_pdop_dropout_ = 20;
2056 _has_bits_[0] &= ~0x00100000u;
2058 inline double Simulator::_internal_gps_pdop_dropout()
const {
2059 return gps_pdop_dropout_;
2061 inline double Simulator::gps_pdop_dropout()
const {
2063 return _internal_gps_pdop_dropout();
2065 inline void Simulator::_internal_set_gps_pdop_dropout(
double value) {
2066 _has_bits_[0] |= 0x00100000u;
2067 gps_pdop_dropout_ = value;
2069 inline void Simulator::set_gps_pdop_dropout(
double value) {
2070 _internal_set_gps_pdop_dropout(value);
2075 inline bool Simulator::_internal_has_minimum_thrust()
const {
2076 bool value = (_has_bits_[0] & 0x00200000u) != 0;
2079 inline bool Simulator::has_minimum_thrust()
const {
2080 return _internal_has_minimum_thrust();
2082 inline void Simulator::clear_minimum_thrust() {
2083 minimum_thrust_ = 5;
2084 _has_bits_[0] &= ~0x00200000u;
2086 inline double Simulator::_internal_minimum_thrust()
const {
2087 return minimum_thrust_;
2089 inline double Simulator::minimum_thrust()
const {
2091 return _internal_minimum_thrust();
2093 inline void Simulator::_internal_set_minimum_thrust(
double value) {
2094 _has_bits_[0] |= 0x00200000u;
2095 minimum_thrust_ = value;
2097 inline void Simulator::set_minimum_thrust(
double value) {
2098 _internal_set_minimum_thrust(value);
2103 inline bool Simulator::_internal_has_pitch_at_rest()
const {
2104 bool value = (_has_bits_[0] & 0x00400000u) != 0;
2107 inline bool Simulator::has_pitch_at_rest()
const {
2108 return _internal_has_pitch_at_rest();
2110 inline void Simulator::clear_pitch_at_rest() {
2111 pitch_at_rest_ = 85;
2112 _has_bits_[0] &= ~0x00400000u;
2114 inline double Simulator::_internal_pitch_at_rest()
const {
2115 return pitch_at_rest_;
2117 inline double Simulator::pitch_at_rest()
const {
2119 return _internal_pitch_at_rest();
2121 inline void Simulator::_internal_set_pitch_at_rest(
double value) {
2122 _has_bits_[0] |= 0x00400000u;
2123 pitch_at_rest_ = value;
2125 inline void Simulator::set_pitch_at_rest(
double value) {
2126 _internal_set_pitch_at_rest(value);
2131 inline int Simulator::_internal_sample_size()
const {
2132 return sample_.size();
2134 inline int Simulator::sample_size()
const {
2135 return _internal_sample_size();
2137 inline void Simulator::clear_sample() {
2140 inline ::jaiabot::config::Simulator_ScalarSample* Simulator::mutable_sample(
int index) {
2142 return sample_.Mutable(index);
2144 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
2145 Simulator::mutable_sample() {
2149 inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::_internal_sample(
int index)
const {
2150 return sample_.Get(index);
2152 inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::sample(
int index)
const {
2154 return _internal_sample(index);
2156 inline ::jaiabot::config::Simulator_ScalarSample* Simulator::_internal_add_sample() {
2157 return sample_.Add();
2159 inline ::jaiabot::config::Simulator_ScalarSample* Simulator::add_sample() {
2161 return _internal_add_sample();
2163 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
2164 Simulator::sample()
const {
2170 inline bool Simulator::_internal_has_temperature_stdev()
const {
2171 bool value = (_has_bits_[0] & 0x00000800u) != 0;
2174 inline bool Simulator::has_temperature_stdev()
const {
2175 return _internal_has_temperature_stdev();
2177 inline void Simulator::clear_temperature_stdev() {
2178 temperature_stdev_ = 0;
2179 _has_bits_[0] &= ~0x00000800u;
2181 inline double Simulator::_internal_temperature_stdev()
const {
2182 return temperature_stdev_;
2184 inline double Simulator::temperature_stdev()
const {
2186 return _internal_temperature_stdev();
2188 inline void Simulator::_internal_set_temperature_stdev(
double value) {
2189 _has_bits_[0] |= 0x00000800u;
2190 temperature_stdev_ = value;
2192 inline void Simulator::set_temperature_stdev(
double value) {
2193 _internal_set_temperature_stdev(value);
2198 inline bool Simulator::_internal_has_salinity_stdev()
const {
2199 bool value = (_has_bits_[0] & 0x00001000u) != 0;
2202 inline bool Simulator::has_salinity_stdev()
const {
2203 return _internal_has_salinity_stdev();
2205 inline void Simulator::clear_salinity_stdev() {
2206 salinity_stdev_ = 0;
2207 _has_bits_[0] &= ~0x00001000u;
2209 inline double Simulator::_internal_salinity_stdev()
const {
2210 return salinity_stdev_;
2212 inline double Simulator::salinity_stdev()
const {
2214 return _internal_salinity_stdev();
2216 inline void Simulator::_internal_set_salinity_stdev(
double value) {
2217 _has_bits_[0] |= 0x00001000u;
2218 salinity_stdev_ = value;
2220 inline void Simulator::set_salinity_stdev(
double value) {
2221 _internal_set_salinity_stdev(value);
2226 inline bool Simulator::_internal_has_arduino_config()
const {
2227 bool value = (_has_bits_[0] & 0x00000080u) != 0;
2228 PROTOBUF_ASSUME(!value || arduino_config_ !=
nullptr);
2231 inline bool Simulator::has_arduino_config()
const {
2232 return _internal_has_arduino_config();
2234 inline void Simulator::clear_arduino_config() {
2235 if (arduino_config_ !=
nullptr) arduino_config_->Clear();
2236 _has_bits_[0] &= ~0x00000080u;
2238 inline const ::jaiabot::config::ArduinoSimThread& Simulator::_internal_arduino_config()
const {
2239 const ::jaiabot::config::ArduinoSimThread* p = arduino_config_;
2240 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::config::ArduinoSimThread*
>(
2243 inline const ::jaiabot::config::ArduinoSimThread& Simulator::arduino_config()
const {
2245 return _internal_arduino_config();
2247 inline void Simulator::unsafe_arena_set_allocated_arduino_config(
2248 ::jaiabot::config::ArduinoSimThread* arduino_config) {
2249 if (GetArena() ==
nullptr) {
2250 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(arduino_config_);
2252 arduino_config_ = arduino_config;
2253 if (arduino_config) {
2254 _has_bits_[0] |= 0x00000080u;
2256 _has_bits_[0] &= ~0x00000080u;
2260 inline ::jaiabot::config::ArduinoSimThread* Simulator::release_arduino_config() {
2261 auto temp = unsafe_arena_release_arduino_config();
2262 if (GetArena() !=
nullptr) {
2263 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2267 inline ::jaiabot::config::ArduinoSimThread* Simulator::unsafe_arena_release_arduino_config() {
2269 _has_bits_[0] &= ~0x00000080u;
2270 ::jaiabot::config::ArduinoSimThread* temp = arduino_config_;
2271 arduino_config_ =
nullptr;
2274 inline ::jaiabot::config::ArduinoSimThread* Simulator::_internal_mutable_arduino_config() {
2275 _has_bits_[0] |= 0x00000080u;
2276 if (arduino_config_ ==
nullptr) {
2277 auto* p = CreateMaybeMessage<::jaiabot::config::ArduinoSimThread>(GetArena());
2278 arduino_config_ = p;
2280 return arduino_config_;
2282 inline ::jaiabot::config::ArduinoSimThread* Simulator::mutable_arduino_config() {
2284 return _internal_mutable_arduino_config();
2286 inline void Simulator::set_allocated_arduino_config(::jaiabot::config::ArduinoSimThread* arduino_config) {
2287 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
2288 if (message_arena ==
nullptr) {
2289 delete arduino_config_;
2291 if (arduino_config) {
2292 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2293 ::PROTOBUF_NAMESPACE_ID::Arena::GetArena(arduino_config);
2294 if (message_arena != submessage_arena) {
2295 arduino_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2296 message_arena, arduino_config, submessage_arena);
2298 _has_bits_[0] |= 0x00000080u;
2300 _has_bits_[0] &= ~0x00000080u;
2302 arduino_config_ = arduino_config;
2311 inline bool ArduinoSimThread::_internal_has_voltage_period()
const {
2312 bool value = (_has_bits_[0] & 0x00000001u) != 0;
2315 inline bool ArduinoSimThread::has_voltage_period()
const {
2316 return _internal_has_voltage_period();
2318 inline void ArduinoSimThread::clear_voltage_period() {
2319 voltage_period_ = 1;
2320 _has_bits_[0] &= ~0x00000001u;
2322 inline ::PROTOBUF_NAMESPACE_ID::int32 ArduinoSimThread::_internal_voltage_period()
const {
2323 return voltage_period_;
2325 inline ::PROTOBUF_NAMESPACE_ID::int32 ArduinoSimThread::voltage_period()
const {
2327 return _internal_voltage_period();
2329 inline void ArduinoSimThread::_internal_set_voltage_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
2330 _has_bits_[0] |= 0x00000001u;
2331 voltage_period_ = value;
2333 inline void ArduinoSimThread::set_voltage_period(::PROTOBUF_NAMESPACE_ID::int32 value) {
2334 _internal_set_voltage_period(value);
2339 inline bool ArduinoSimThread::_internal_has_voltage_step_decrease()
const {
2340 bool value = (_has_bits_[0] & 0x00000002u) != 0;
2343 inline bool ArduinoSimThread::has_voltage_step_decrease()
const {
2344 return _internal_has_voltage_step_decrease();
2346 inline void ArduinoSimThread::clear_voltage_step_decrease() {
2347 voltage_step_decrease_ = 0.1;
2348 _has_bits_[0] &= ~0x00000002u;
2350 inline double ArduinoSimThread::_internal_voltage_step_decrease()
const {
2351 return voltage_step_decrease_;
2353 inline double ArduinoSimThread::voltage_step_decrease()
const {
2355 return _internal_voltage_step_decrease();
2357 inline void ArduinoSimThread::_internal_set_voltage_step_decrease(
double value) {
2358 _has_bits_[0] |= 0x00000002u;
2359 voltage_step_decrease_ = value;
2361 inline void ArduinoSimThread::set_voltage_step_decrease(
double value) {
2362 _internal_set_voltage_step_decrease(value);
2367 inline bool ArduinoSimThread::_internal_has_voltage_start()
const {
2368 bool value = (_has_bits_[0] & 0x00000004u) != 0;
2371 inline bool ArduinoSimThread::has_voltage_start()
const {
2372 return _internal_has_voltage_start();
2374 inline void ArduinoSimThread::clear_voltage_start() {
2375 voltage_start_ = 24;
2376 _has_bits_[0] &= ~0x00000004u;
2378 inline double ArduinoSimThread::_internal_voltage_start()
const {
2379 return voltage_start_;
2381 inline double ArduinoSimThread::voltage_start()
const {
2383 return _internal_voltage_start();
2385 inline void ArduinoSimThread::_internal_set_voltage_start(
double value) {
2386 _has_bits_[0] |= 0x00000004u;
2387 voltage_start_ = value;
2389 inline void ArduinoSimThread::set_voltage_start(
double value) {
2390 _internal_set_voltage_start(value);
2395 inline bool ArduinoSimThread::_internal_has_reset_voltage_level()
const {
2396 bool value = (_has_bits_[0] & 0x00000008u) != 0;
2399 inline bool ArduinoSimThread::has_reset_voltage_level()
const {
2400 return _internal_has_reset_voltage_level();
2402 inline void ArduinoSimThread::clear_reset_voltage_level() {
2403 reset_voltage_level_ = 15;
2404 _has_bits_[0] &= ~0x00000008u;
2406 inline double ArduinoSimThread::_internal_reset_voltage_level()
const {
2407 return reset_voltage_level_;
2409 inline double ArduinoSimThread::reset_voltage_level()
const {
2411 return _internal_reset_voltage_level();
2413 inline void ArduinoSimThread::_internal_set_reset_voltage_level(
double value) {
2414 _has_bits_[0] |= 0x00000008u;
2415 reset_voltage_level_ = value;
2417 inline void ArduinoSimThread::set_reset_voltage_level(
double value) {
2418 _internal_set_reset_voltage_level(value);
2423 #pragma GCC diagnostic pop
2437 #include <google/protobuf/port_undef.inc>
void set_allocated_arduino_config(::jaiabot::config::ArduinoSimThread *arduino_config)
void clear_pressure_udp_config()
const ::goby::middleware::protobuf::UDPPointToPointConfig & gps_udp_config() const
void set_voltage_step_decrease(double value)
const ::jaiabot::config::ArduinoSimThread & arduino_config() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
bool has_minimum_thrust() const
ArduinoSimThread * New() const final
void set_heading_rand_max(double value)
Simulator_ScalarSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Simulator(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const Simulator & default_instance()
boost::units::length_dimension seafloor_depth_dimension
void clear_salinity_udp_config()
bool has_heading_rand_max() const
bool has_interprocess() const
boost::units::quantity< seafloor_wavelength_unit, double > seafloor_wavelength_with_units() const
bool has_gps_udp_config() const
bool has_voltage_period() const
void clear_seafloor_depth()
void set_gps_pdop_dropout(double value)
double vertical_dive_rate() const
static const Simulator_ScalarSample * internal_default_instance()
double seafloor_wavelength() const
double salinity_stdev() const
void Swap(ArduinoSimThread *other)
boost::units::quantity< seafloor_depth_unit, double > seafloor_depth_with_units() const
void clear_salinity_stdev()
Quantity seafloor_amplitude_with_units() const
boost::units::plane_angle_dimension pitch_at_rest_dimension
bool has_gps_hdop_dropout() const
void set_reset_voltage_level(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
bool has_salinity_stdev() const
const ::goby::middleware::protobuf::AppConfig & app() const
friend void swap(Simulator &a, Simulator &b)
void set_vertical_dive_rate(double value)
Simulator & operator=(const Simulator &from)
Quantity seafloor_depth_with_units() const
static void InitAsDefaultInstance()
::PROTOBUF_NAMESPACE_ID::int32 voltage_period() const
bool has_reset_voltage_level() const
void clear_voltage_period()
void UnsafeArenaSwap(Simulator *other)
const ::goby::middleware::protobuf::UDPPointToPointConfig & salinity_udp_config() const
void set_gps_hdop_dropout(double value)
const ::jaiabot::protobuf::GeographicCoordinate & start_location() const
void clear_interprocess()
bool has_salinity() const
boost::units::length_dimension depth_dimension
::jaiabot::config::ArduinoSimThread * mutable_arduino_config()
double seafloor_depth() const
void set_enable_gps(bool value)
Simulator_ScalarSample & operator=(Simulator_ScalarSample &&from) noexcept
virtual ~ArduinoSimThread()
::goby::middleware::protobuf::AppConfig * unsafe_arena_release_app()
void set_voltage_start(double value)
bool has_seafloor_depth() const
void CopyFrom(const ArduinoSimThread &from)
void unsafe_arena_set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
::goby::middleware::protobuf::AppConfig * release_app()
void set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig *moos)
void set_gps_pdop_rand_max(double value)
Simulator(Simulator &&from) noexcept
void set_salinity(double value)
void set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *gps_udp_config)
Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * mutable_moos()
void set_pitch_at_rest_with_units(Quantity value_w_units)
Simulator_ScalarSample * New() const final
double gps_hdop_dropout() const
void clear_gps_hdop_rand_max()
const ::goby::zeromq::protobuf::InterProcessPortalConfig & interprocess() const
Simulator_ScalarSample ScalarSample
boost::units::unit< seafloor_wavelength_dimension, boost::units::si::system > seafloor_wavelength_unit
void unsafe_arena_set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig *moos)
void MergeFrom(const Simulator_ScalarSample &from)
void clear_arduino_config()
boost::units::temperature_dimension temperature_dimension
void clear_seafloor_wavelength()
double reset_voltage_level() const
boost::units::unit< temperature_stdev_dimension, boost::units::celsius::system > temperature_stdev_unit
double pitch_at_rest() const
friend void swap(ArduinoSimThread &a, ArduinoSimThread &b)
boost::units::unit< seafloor_depth_dimension, boost::units::si::system > seafloor_depth_unit
bool has_enable_gps() const
bool has_seafloor_wavelength() const
Simulator & operator=(Simulator &&from) noexcept
Simulator_ScalarSample(Simulator_ScalarSample &&from) noexcept
void clear_pitch_at_rest()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const ArduinoSimThread &from)
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * unsafe_arena_release_moos()
void set_voltage_period(::PROTOBUF_NAMESPACE_ID::int32 value)
void unsafe_arena_set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
double voltage_start() const
void clear_start_location()
void clear_vertical_dive_rate()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_gps_udp_config()
boost::units::quantity< pitch_at_rest_unit, double > pitch_at_rest_with_units() const
boost::units::velocity_dimension vertical_dive_rate_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
::goby::zeromq::protobuf::InterProcessPortalConfig * release_interprocess()
::goby::middleware::protobuf::UDPPointToPointConfig * release_gps_udp_config()
void set_minimum_thrust(double value)
::goby::zeromq::protobuf::InterProcessPortalConfig * mutable_interprocess()
friend void swap(Simulator_ScalarSample &a, Simulator_ScalarSample &b)
ArduinoSimThread & operator=(const ArduinoSimThread &from)
double heading_rand_max() const
ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::Arena *arena)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ArduinoSimThread * internal_default_instance()
void clear_temperature_stdev()
boost::units::unit< vertical_dive_rate_dimension, boost::units::si::system > vertical_dive_rate_unit
::jaiabot::config::ArduinoSimThread * unsafe_arena_release_arduino_config()
::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig * release_moos()
void clear_voltage_start()
double voltage_step_decrease() const
void set_depth(double value)
void set_seafloor_wavelength_with_units(Quantity value_w_units)
void UnsafeArenaSwap(Simulator_ScalarSample *other)
bool has_gps_pdop_dropout() const
void clear_seafloor_amplitude()
void unsafe_arena_set_allocated_pressure_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *pressure_udp_config)
boost::units::length_dimension seafloor_wavelength_dimension
static const Simulator * internal_default_instance()
bool has_gps_hdop_rand_max() const
void set_seafloor_amplitude(double value)
Simulator * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::quantity< temperature_unit, double > temperature_with_units() const
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample > * mutable_sample()
void set_pitch_at_rest(double value)
virtual ~Simulator_ScalarSample()
::goby::middleware::protobuf::UDPPointToPointConfig * release_pressure_udp_config()
::jaiabot::protobuf::GeographicCoordinate * release_start_location()
void set_temperature(double value)
Simulator * New() const final
bool has_arduino_config() const
void set_allocated_salinity_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *salinity_udp_config)
double temperature_stdev() const
void unsafe_arena_set_allocated_salinity_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *salinity_udp_config)
void clear_gps_pdop_dropout()
bool has_voltage_start() const
boost::units::length_dimension seafloor_amplitude_dimension
void set_seafloor_wavelength(double value)
double gps_pdop_rand_max() const
void clear_gps_udp_config()
bool has_salinity_udp_config() const
bool has_is_bot_sim() const
::goby::middleware::protobuf::AppConfig * mutable_app()
static const Simulator_ScalarSample & default_instance()
void clear_minimum_thrust()
double temperature() const
bool has_voltage_step_decrease() const
void set_allocated_pressure_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *pressure_udp_config)
void set_temperature_with_units(Quantity value_w_units)
double seafloor_amplitude() const
void CopyFrom(const Simulator &from)
void clear_voltage_step_decrease()
void clear_gps_pdop_rand_max()
void set_temperature_stdev(double value)
Quantity temperature_with_units() const
bool has_vertical_dive_rate() const
ArduinoSimThread & operator=(ArduinoSimThread &&from) noexcept
boost::units::unit< pitch_at_rest_dimension, boost::units::degree::system > pitch_at_rest_unit
void set_seafloor_depth_with_units(Quantity value_w_units)
ArduinoSimThread(const ArduinoSimThread &from)
void set_gps_hdop_rand_max(double value)
boost::units::unit< seafloor_amplitude_dimension, boost::units::si::system > seafloor_amplitude_unit
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_pressure_udp_config()
Quantity temperature_stdev_with_units() const
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_gps_udp_config()
boost::units::temperature_dimension temperature_stdev_dimension
bool has_gps_pdop_rand_max() const
void Swap(Simulator *other)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_start_location()
void clear_reset_voltage_level()
void set_depth_with_units(Quantity value_w_units)
Quantity vertical_dive_rate_with_units() const
::goby::middleware::protobuf::UDPPointToPointConfig * mutable_salinity_udp_config()
void set_salinity_stdev(double value)
const ::jaiabot::config::Simulator_ScalarSample & sample(int index) const
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_pressure_udp_config()
void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig *interprocess)
void unsafe_arena_set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
bool has_temperature() const
void UnsafeArenaSwap(ArduinoSimThread *other)
Simulator_ScalarSample(const Simulator_ScalarSample &from)
::jaiabot::config::Simulator_ScalarSample * mutable_sample(int index)
static const ArduinoSimThread & default_instance()
::jaiabot::config::Simulator_ScalarSample * add_sample()
const ::goby::middleware::protobuf::UDPPointToPointConfig & pressure_udp_config() const
void set_temperature_stdev_with_units(Quantity value_w_units)
void clear_heading_rand_max()
void set_allocated_app(::goby::middleware::protobuf::AppConfig *app)
::goby::middleware::protobuf::UDPPointToPointConfig * unsafe_arena_release_salinity_udp_config()
void set_is_bot_sim(bool value)
Simulator_ScalarSample & operator=(const Simulator_ScalarSample &from)
const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig & moos() const
ArduinoSimThread * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void clear_gps_hdop_dropout()
void set_allocated_start_location(::jaiabot::protobuf::GeographicCoordinate *start_location)
::goby::zeromq::protobuf::InterProcessPortalConfig * unsafe_arena_release_interprocess()
boost::units::quantity< seafloor_amplitude_unit, double > seafloor_amplitude_with_units() const
void set_seafloor_amplitude_with_units(Quantity value_w_units)
::goby::middleware::protobuf::UDPPointToPointConfig * release_salinity_udp_config()
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
double minimum_thrust() const
boost::units::quantity< depth_unit, double > depth_with_units() const
Quantity pitch_at_rest_with_units() const
void CopyFrom(const Simulator_ScalarSample &from)
Quantity depth_with_units() const
void MergeFrom(const Simulator &from)
Simulator(const Simulator &from)
bool has_start_location() const
::jaiabot::protobuf::GeographicCoordinate * mutable_start_location()
boost::units::quantity< temperature_stdev_unit, double > temperature_stdev_with_units() const
::jaiabot::config::ArduinoSimThread * release_arduino_config()
void set_vertical_dive_rate_with_units(Quantity value_w_units)
double gps_hdop_rand_max() const
void unsafe_arena_set_allocated_arduino_config(::jaiabot::config::ArduinoSimThread *arduino_config)
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample > & sample() const
void set_seafloor_depth(double value)
bool has_seafloor_amplitude() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Quantity seafloor_wavelength_with_units() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
ArduinoSimThread(ArduinoSimThread &&from) noexcept
bool has_pressure_udp_config() const
void unsafe_arena_set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig *gps_udp_config)
void Swap(Simulator_ScalarSample *other)
double gps_pdop_dropout() const
boost::units::quantity< vertical_dive_rate_unit, double > vertical_dive_rate_with_units() const
bool has_pitch_at_rest() const
bool has_temperature_stdev() const
ArduinoSimThreadDefaultTypeInternal _ArduinoSimThread_default_instance_
Simulator_ScalarSampleDefaultTypeInternal _Simulator_ScalarSample_default_instance_
SimulatorDefaultTypeInternal _Simulator_default_instance_
constexpr goby::middleware::Group salinity
constexpr goby::middleware::Group moos
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::goby::acomms::protobuf::DriverConfig, ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::xbee::protobuf::Config >, 11, false > config
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fsimulator_2fconfig_2eproto
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]