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 < 3021000
12#error This file was generated by a newer version of protoc which is
13#error incompatible with your Protocol Buffer headers. Please update
16#if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17#error This file was generated by an older version of protoc which is
18#error incompatible with your Protocol Buffer headers. Please
19#error regenerate this file with a newer version of protoc.
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_util.h>
27#include <google/protobuf/metadata_lite.h>
28#include <google/protobuf/generated_message_reflection.h>
29#include <google/protobuf/message.h>
30#include <google/protobuf/repeated_field.h>
31#include <google/protobuf/extension_set.h>
32#include <google/protobuf/unknown_field_set.h>
34#include "goby/middleware/protobuf/app_config.pb.h"
35#include "goby/zeromq/protobuf/interprocess_config.pb.h"
36#include "goby/moos/protobuf/moos_gateway_config.pb.h"
37#include "goby/middleware/protobuf/udp_config.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>
44#include <boost/units/systems/angle/degrees.hpp>
46#include <boost/units/systems/temperature/celsius.hpp>
48#include <boost/units/systems/si.hpp>
50#include <google/protobuf/port_def.inc>
51#define PROTOBUF_INTERNAL_EXPORT_bin_2fsimulator_2fconfig_2eproto
52PROTOBUF_NAMESPACE_OPEN
56PROTOBUF_NAMESPACE_CLOSE
65class ArduinoSimThread;
66struct ArduinoSimThreadDefaultTypeInternal;
69struct SimulatorDefaultTypeInternal;
71class Simulator_ScalarSample;
72struct Simulator_ScalarSampleDefaultTypeInternal;
76PROTOBUF_NAMESPACE_OPEN
80PROTOBUF_NAMESPACE_CLOSE
87 public ::PROTOBUF_NAMESPACE_ID::Message {
96 *
this = ::std::move(from);
104 if (
this == &from)
return *
this;
105 if (GetOwningArena() == from.GetOwningArena()
106 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
107 && GetOwningArena() !=
nullptr
118 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
121 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
124 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
147 if (other ==
this)
return;
148 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
149 if (GetOwningArena() !=
nullptr &&
150 GetOwningArena() == other->GetOwningArena()) {
152 if (GetOwningArena() == other->GetOwningArena()) {
156 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
160 if (other ==
this)
return;
161 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
168 return CreateMaybeMessage<Simulator_ScalarSample>(arena);
170 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
172 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
174 Simulator_ScalarSample::MergeImpl(*
this, from);
177 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
179 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
185 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
189 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
191 void SetCachedSize(
int size)
const final;
195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
197 return "jaiabot.config.Simulator.ScalarSample";
201 bool is_message_owned =
false);
205 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
221 bool _internal_has_depth()
const;
224 double depth()
const;
227 double _internal_depth()
const;
228 void _internal_set_depth(
double value);
234 bool _internal_has_temperature()
const;
240 double _internal_temperature()
const;
241 void _internal_set_temperature(
double value);
247 bool _internal_has_salinity()
const;
253 double _internal_salinity()
const;
254 void _internal_set_salinity(
double value);
259 typedef boost::units::unit<depth_dimension,boost::units::si::system>
depth_unit;
261 template<
typename Quantity >
263 {
set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
265 template<
typename Quantity >
270 {
return depth_with_units<boost::units::quantity< depth_unit,double > >(); };
274 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> >
temperature_unit;
276 template<
typename Quantity >
278 {
set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
280 template<
typename Quantity >
285 {
return temperature_with_units<boost::units::quantity< temperature_unit,double > >(); };
291 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292 typedef void InternalArenaConstructable_;
293 typedef void DestructorSkippable_;
295 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
296 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
302 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
307 public ::PROTOBUF_NAMESPACE_ID::Message {
311 explicit PROTOBUF_CONSTEXPR
Simulator(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
316 *
this = ::std::move(from);
324 if (
this == &from)
return *
this;
325 if (GetOwningArena() == from.GetOwningArena()
326 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
327 && GetOwningArena() !=
nullptr
338 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
341 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
344 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
345 return GetDescriptor();
348 return default_instance().GetMetadata().descriptor;
351 return default_instance().GetMetadata().reflection;
354 return *internal_default_instance();
357 return reinterpret_cast<const Simulator*
>(
360 static constexpr int kIndexInFileMessages =
367 if (other ==
this)
return;
368 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
369 if (GetOwningArena() !=
nullptr &&
370 GetOwningArena() == other->GetOwningArena()) {
372 if (GetOwningArena() == other->GetOwningArena()) {
376 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
380 if (other ==
this)
return;
381 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
387 Simulator*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
388 return CreateMaybeMessage<Simulator>(arena);
390 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
392 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
394 Simulator::MergeImpl(*
this, from);
397 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
399 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
400 bool IsInitialized() const final;
402 size_t ByteSizeLong() const final;
403 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
404 uint8_t* _InternalSerialize(
405 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
406 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
409 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
411 void SetCachedSize(
int size)
const final;
415 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
416 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
417 return "jaiabot.config.Simulator";
420 explicit Simulator(::PROTOBUF_NAMESPACE_ID::Arena* arena,
421 bool is_message_owned =
false);
425 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
427 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
436 kSampleFieldNumber = 40,
437 kHubGpsdDeviceFieldNumber = 43,
439 kInterprocessFieldNumber = 2,
440 kMoosFieldNumber = 10,
441 kGpsUdpConfigFieldNumber = 20,
442 kUdpGatewayConfigFieldNumber = 21,
443 kStartLocationFieldNumber = 26,
444 kArduinoConfigFieldNumber = 60,
445 kHeadingRandMaxFieldNumber = 30,
446 kVerticalDiveRateFieldNumber = 31,
447 kSeafloorDepthFieldNumber = 32,
448 kTemperatureStdevFieldNumber = 41,
449 kSalinityStdevFieldNumber = 42,
450 kEnableGpsFieldNumber = 25,
451 kIsBotSimFieldNumber = 28,
452 kGpsHdopRandMaxFieldNumber = 27,
453 kGpsPdopRandMaxFieldNumber = 29,
454 kSeafloorWavelengthFieldNumber = 33,
455 kSeafloorAmplitudeFieldNumber = 34,
456 kGpsHdopDropoutFieldNumber = 35,
457 kGpsPdopDropoutFieldNumber = 36,
458 kMinimumThrustFieldNumber = 37,
459 kPitchAtRestFieldNumber = 38,
462 int sample_size()
const;
464 int _internal_sample_size()
const;
468 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
471 const ::jaiabot::config::Simulator_ScalarSample& _internal_sample(
int index)
const;
474 const ::jaiabot::config::Simulator_ScalarSample& sample(
int index)
const;
476 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
480 bool has_hub_gpsd_device()
const;
482 bool _internal_has_hub_gpsd_device()
const;
484 void clear_hub_gpsd_device();
485 const std::string& hub_gpsd_device()
const;
486 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
488 std::string* mutable_hub_gpsd_device();
489 PROTOBUF_NODISCARD std::string* release_hub_gpsd_device();
490 void set_allocated_hub_gpsd_device(std::string* hub_gpsd_device);
492 const std::string& _internal_hub_gpsd_device()
const;
493 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_hub_gpsd_device(
const std::string& value);
494 std::string* _internal_mutable_hub_gpsd_device();
498 bool has_app()
const;
500 bool _internal_has_app()
const;
503 const ::goby::middleware::protobuf::AppConfig& app()
const;
504 PROTOBUF_NODISCARD ::goby::middleware::protobuf::AppConfig* release_app();
505 ::goby::middleware::protobuf::AppConfig* mutable_app();
506 void set_allocated_app(::goby::middleware::protobuf::AppConfig* app);
508 const ::goby::middleware::protobuf::AppConfig& _internal_app()
const;
509 ::goby::middleware::protobuf::AppConfig* _internal_mutable_app();
511 void unsafe_arena_set_allocated_app(
512 ::goby::middleware::protobuf::AppConfig* app);
513 ::goby::middleware::protobuf::AppConfig* unsafe_arena_release_app();
516 bool has_interprocess()
const;
518 bool _internal_has_interprocess()
const;
521 const ::goby::zeromq::protobuf::InterProcessPortalConfig& interprocess()
const;
522 PROTOBUF_NODISCARD ::goby::zeromq::protobuf::InterProcessPortalConfig* release_interprocess();
523 ::goby::zeromq::protobuf::InterProcessPortalConfig* mutable_interprocess();
524 void set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
526 const ::goby::zeromq::protobuf::InterProcessPortalConfig& _internal_interprocess()
const;
527 ::goby::zeromq::protobuf::InterProcessPortalConfig* _internal_mutable_interprocess();
529 void unsafe_arena_set_allocated_interprocess(
530 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess);
531 ::goby::zeromq::protobuf::InterProcessPortalConfig* unsafe_arena_release_interprocess();
534 bool has_moos()
const;
536 bool _internal_has_moos()
const;
539 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& moos()
const;
540 PROTOBUF_NODISCARD ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* release_moos();
541 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* mutable_moos();
542 void set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
544 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& _internal_moos()
const;
545 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _internal_mutable_moos();
547 void unsafe_arena_set_allocated_moos(
548 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos);
549 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* unsafe_arena_release_moos();
552 bool has_gps_udp_config()
const;
554 bool _internal_has_gps_udp_config()
const;
557 const ::goby::middleware::protobuf::UDPPointToPointConfig& gps_udp_config()
const;
558 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_gps_udp_config();
559 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_gps_udp_config();
560 void set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config);
562 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_gps_udp_config()
const;
563 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_gps_udp_config();
565 void unsafe_arena_set_allocated_gps_udp_config(
566 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config);
567 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_gps_udp_config();
570 bool has_udp_gateway_config()
const;
572 bool _internal_has_udp_gateway_config()
const;
575 const ::goby::middleware::protobuf::UDPPointToPointConfig& udp_gateway_config()
const;
576 PROTOBUF_NODISCARD ::goby::middleware::protobuf::UDPPointToPointConfig* release_udp_gateway_config();
577 ::goby::middleware::protobuf::UDPPointToPointConfig* mutable_udp_gateway_config();
578 void set_allocated_udp_gateway_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config);
580 const ::goby::middleware::protobuf::UDPPointToPointConfig& _internal_udp_gateway_config()
const;
581 ::goby::middleware::protobuf::UDPPointToPointConfig* _internal_mutable_udp_gateway_config();
583 void unsafe_arena_set_allocated_udp_gateway_config(
584 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config);
585 ::goby::middleware::protobuf::UDPPointToPointConfig* unsafe_arena_release_udp_gateway_config();
588 bool has_start_location()
const;
590 bool _internal_has_start_location()
const;
593 const ::jaiabot::protobuf::GeographicCoordinate& start_location()
const;
594 PROTOBUF_NODISCARD ::jaiabot::protobuf::GeographicCoordinate* release_start_location();
598 const ::jaiabot::protobuf::GeographicCoordinate& _internal_start_location()
const;
601 void unsafe_arena_set_allocated_start_location(
606 bool has_arduino_config()
const;
608 bool _internal_has_arduino_config()
const;
610 void clear_arduino_config();
611 const ::jaiabot::config::ArduinoSimThread& arduino_config()
const;
612 PROTOBUF_NODISCARD ::jaiabot::config::ArduinoSimThread* release_arduino_config();
616 const ::jaiabot::config::ArduinoSimThread& _internal_arduino_config()
const;
619 void unsafe_arena_set_allocated_arduino_config(
624 bool has_heading_rand_max()
const;
626 bool _internal_has_heading_rand_max()
const;
628 void clear_heading_rand_max();
629 double heading_rand_max()
const;
630 void set_heading_rand_max(
double value);
632 double _internal_heading_rand_max()
const;
633 void _internal_set_heading_rand_max(
double value);
637 bool has_vertical_dive_rate()
const;
639 bool _internal_has_vertical_dive_rate()
const;
641 void clear_vertical_dive_rate();
642 double vertical_dive_rate()
const;
643 void set_vertical_dive_rate(
double value);
645 double _internal_vertical_dive_rate()
const;
646 void _internal_set_vertical_dive_rate(
double value);
650 bool has_seafloor_depth()
const;
652 bool _internal_has_seafloor_depth()
const;
654 void clear_seafloor_depth();
655 double seafloor_depth()
const;
656 void set_seafloor_depth(
double value);
658 double _internal_seafloor_depth()
const;
659 void _internal_set_seafloor_depth(
double value);
663 bool has_temperature_stdev()
const;
665 bool _internal_has_temperature_stdev()
const;
667 void clear_temperature_stdev();
668 double temperature_stdev()
const;
669 void set_temperature_stdev(
double value);
671 double _internal_temperature_stdev()
const;
672 void _internal_set_temperature_stdev(
double value);
676 bool has_salinity_stdev()
const;
678 bool _internal_has_salinity_stdev()
const;
680 void clear_salinity_stdev();
681 double salinity_stdev()
const;
682 void set_salinity_stdev(
double value);
684 double _internal_salinity_stdev()
const;
685 void _internal_set_salinity_stdev(
double value);
689 bool has_enable_gps()
const;
691 bool _internal_has_enable_gps()
const;
693 void clear_enable_gps();
694 bool enable_gps()
const;
695 void set_enable_gps(
bool value);
697 bool _internal_enable_gps()
const;
698 void _internal_set_enable_gps(
bool value);
702 bool has_is_bot_sim()
const;
704 bool _internal_has_is_bot_sim()
const;
706 void clear_is_bot_sim();
707 bool is_bot_sim()
const;
708 void set_is_bot_sim(
bool value);
710 bool _internal_is_bot_sim()
const;
711 void _internal_set_is_bot_sim(
bool value);
715 bool has_gps_hdop_rand_max()
const;
717 bool _internal_has_gps_hdop_rand_max()
const;
719 void clear_gps_hdop_rand_max();
720 double gps_hdop_rand_max()
const;
721 void set_gps_hdop_rand_max(
double value);
723 double _internal_gps_hdop_rand_max()
const;
724 void _internal_set_gps_hdop_rand_max(
double value);
728 bool has_gps_pdop_rand_max()
const;
730 bool _internal_has_gps_pdop_rand_max()
const;
732 void clear_gps_pdop_rand_max();
733 double gps_pdop_rand_max()
const;
734 void set_gps_pdop_rand_max(
double value);
736 double _internal_gps_pdop_rand_max()
const;
737 void _internal_set_gps_pdop_rand_max(
double value);
741 bool has_seafloor_wavelength()
const;
743 bool _internal_has_seafloor_wavelength()
const;
745 void clear_seafloor_wavelength();
746 double seafloor_wavelength()
const;
747 void set_seafloor_wavelength(
double value);
749 double _internal_seafloor_wavelength()
const;
750 void _internal_set_seafloor_wavelength(
double value);
754 bool has_seafloor_amplitude()
const;
756 bool _internal_has_seafloor_amplitude()
const;
758 void clear_seafloor_amplitude();
759 double seafloor_amplitude()
const;
760 void set_seafloor_amplitude(
double value);
762 double _internal_seafloor_amplitude()
const;
763 void _internal_set_seafloor_amplitude(
double value);
767 bool has_gps_hdop_dropout()
const;
769 bool _internal_has_gps_hdop_dropout()
const;
771 void clear_gps_hdop_dropout();
772 double gps_hdop_dropout()
const;
773 void set_gps_hdop_dropout(
double value);
775 double _internal_gps_hdop_dropout()
const;
776 void _internal_set_gps_hdop_dropout(
double value);
780 bool has_gps_pdop_dropout()
const;
782 bool _internal_has_gps_pdop_dropout()
const;
784 void clear_gps_pdop_dropout();
785 double gps_pdop_dropout()
const;
786 void set_gps_pdop_dropout(
double value);
788 double _internal_gps_pdop_dropout()
const;
789 void _internal_set_gps_pdop_dropout(
double value);
793 bool has_minimum_thrust()
const;
795 bool _internal_has_minimum_thrust()
const;
797 void clear_minimum_thrust();
798 double minimum_thrust()
const;
799 void set_minimum_thrust(
double value);
801 double _internal_minimum_thrust()
const;
802 void _internal_set_minimum_thrust(
double value);
806 bool has_pitch_at_rest()
const;
808 bool _internal_has_pitch_at_rest()
const;
810 void clear_pitch_at_rest();
811 double pitch_at_rest()
const;
812 void set_pitch_at_rest(
double value);
814 double _internal_pitch_at_rest()
const;
815 void _internal_set_pitch_at_rest(
double value);
822 template<
typename Quantity >
824 { set_vertical_dive_rate(boost::units::quantity<vertical_dive_rate_unit,double >(value_w_units).value() ); };
826 template<
typename Quantity >
831 {
return vertical_dive_rate_with_units<boost::units::quantity< vertical_dive_rate_unit,double > >(); };
837 template<
typename Quantity >
839 { set_seafloor_depth(boost::units::quantity<seafloor_depth_unit,double >(value_w_units).value() ); };
841 template<
typename Quantity >
846 {
return seafloor_depth_with_units<boost::units::quantity< seafloor_depth_unit,double > >(); };
852 template<
typename Quantity >
854 { set_seafloor_wavelength(boost::units::quantity<seafloor_wavelength_unit,double >(value_w_units).value() ); };
856 template<
typename Quantity >
861 {
return seafloor_wavelength_with_units<boost::units::quantity< seafloor_wavelength_unit,double > >(); };
867 template<
typename Quantity >
869 { set_seafloor_amplitude(boost::units::quantity<seafloor_amplitude_unit,double >(value_w_units).value() ); };
871 template<
typename Quantity >
876 {
return seafloor_amplitude_with_units<boost::units::quantity< seafloor_amplitude_unit,double > >(); };
882 template<
typename Quantity >
884 { set_pitch_at_rest(boost::units::quantity<pitch_at_rest_unit,double >(value_w_units).value() ); };
886 template<
typename Quantity >
891 {
return pitch_at_rest_with_units<boost::units::quantity< pitch_at_rest_unit,double > >(); };
897 template<
typename Quantity >
899 { set_temperature_stdev(boost::units::quantity<temperature_stdev_unit,double >(value_w_units).value() ); };
901 template<
typename Quantity >
906 {
return temperature_stdev_with_units<boost::units::quantity< temperature_stdev_unit,double > >(); };
912 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
913 typedef void InternalArenaConstructable_;
914 typedef void DestructorSkippable_;
916 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
917 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
918 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample > sample_;
919 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hub_gpsd_device_;
920 ::goby::middleware::protobuf::AppConfig* app_;
921 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess_;
922 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos_;
923 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config_;
924 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config_;
927 double heading_rand_max_;
928 double vertical_dive_rate_;
929 double seafloor_depth_;
930 double temperature_stdev_;
931 double salinity_stdev_;
934 double gps_hdop_rand_max_;
935 double gps_pdop_rand_max_;
936 double seafloor_wavelength_;
937 double seafloor_amplitude_;
938 double gps_hdop_dropout_;
939 double gps_pdop_dropout_;
940 double minimum_thrust_;
941 double pitch_at_rest_;
944 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
949 public ::PROTOBUF_NAMESPACE_ID::Message {
953 explicit PROTOBUF_CONSTEXPR
ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
958 *
this = ::std::move(from);
966 if (
this == &from)
return *
this;
967 if (GetOwningArena() == from.GetOwningArena()
968 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
969 && GetOwningArena() !=
nullptr
980 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
983 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
986 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
987 return GetDescriptor();
990 return default_instance().GetMetadata().descriptor;
993 return default_instance().GetMetadata().reflection;
996 return *internal_default_instance();
1002 static constexpr int kIndexInFileMessages =
1009 if (other ==
this)
return;
1010 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1011 if (GetOwningArena() !=
nullptr &&
1012 GetOwningArena() == other->GetOwningArena()) {
1014 if (GetOwningArena() == other->GetOwningArena()) {
1016 InternalSwap(other);
1018 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
1022 if (other ==
this)
return;
1023 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1024 InternalSwap(other);
1030 return CreateMaybeMessage<ArduinoSimThread>(arena);
1032 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1034 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1036 ArduinoSimThread::MergeImpl(*
this, from);
1039 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1041 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
1042 bool IsInitialized() const final;
1044 size_t ByteSizeLong() const final;
1045 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
1046 uint8_t* _InternalSerialize(
1047 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1048 int GetCachedSize() const final {
return _impl_._cached_size_.Get(); }
1051 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
1053 void SetCachedSize(
int size)
const final;
1057 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1058 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1059 return "jaiabot.config.ArduinoSimThread";
1063 bool is_message_owned =
false);
1067 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
1069 ::PROTOBUF_NAMESPACE_ID::
Metadata GetMetadata() const final;
1076 kVoltagePeriodFieldNumber = 1,
1077 kVoltageStepDecreaseFieldNumber = 2,
1078 kVoltageStartFieldNumber = 3,
1079 kResetVoltageLevelFieldNumber = 4,
1082 bool has_voltage_period()
const;
1084 bool _internal_has_voltage_period()
const;
1086 void clear_voltage_period();
1087 int32_t voltage_period()
const;
1088 void set_voltage_period(int32_t value);
1090 int32_t _internal_voltage_period()
const;
1091 void _internal_set_voltage_period(int32_t value);
1095 bool has_voltage_step_decrease()
const;
1097 bool _internal_has_voltage_step_decrease()
const;
1099 void clear_voltage_step_decrease();
1100 double voltage_step_decrease()
const;
1101 void set_voltage_step_decrease(
double value);
1103 double _internal_voltage_step_decrease()
const;
1104 void _internal_set_voltage_step_decrease(
double value);
1108 bool has_voltage_start()
const;
1110 bool _internal_has_voltage_start()
const;
1112 void clear_voltage_start();
1113 double voltage_start()
const;
1114 void set_voltage_start(
double value);
1116 double _internal_voltage_start()
const;
1117 void _internal_set_voltage_start(
double value);
1121 bool has_reset_voltage_level()
const;
1123 bool _internal_has_reset_voltage_level()
const;
1125 void clear_reset_voltage_level();
1126 double reset_voltage_level()
const;
1127 void set_reset_voltage_level(
double value);
1129 double _internal_reset_voltage_level()
const;
1130 void _internal_set_reset_voltage_level(
double value);
1137 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1138 typedef void InternalArenaConstructable_;
1139 typedef void DestructorSkippable_;
1141 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1142 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1143 int32_t voltage_period_;
1144 double voltage_step_decrease_;
1145 double voltage_start_;
1146 double reset_voltage_level_;
1149 friend struct ::TableStruct_bin_2fsimulator_2fconfig_2eproto;
1157 #pragma GCC diagnostic push
1158 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1163inline bool Simulator_ScalarSample::_internal_has_depth()
const {
1164 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1167inline bool Simulator_ScalarSample::has_depth()
const {
1168 return _internal_has_depth();
1170inline void Simulator_ScalarSample::clear_depth() {
1172 _impl_._has_bits_[0] &= ~0x00000001u;
1174inline double Simulator_ScalarSample::_internal_depth()
const {
1175 return _impl_.depth_;
1177inline double Simulator_ScalarSample::depth()
const {
1179 return _internal_depth();
1181inline void Simulator_ScalarSample::_internal_set_depth(
double value) {
1182 _impl_._has_bits_[0] |= 0x00000001u;
1183 _impl_.depth_ = value;
1185inline void Simulator_ScalarSample::set_depth(
double value) {
1186 _internal_set_depth(value);
1191inline bool Simulator_ScalarSample::_internal_has_temperature()
const {
1192 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1195inline bool Simulator_ScalarSample::has_temperature()
const {
1196 return _internal_has_temperature();
1198inline void Simulator_ScalarSample::clear_temperature() {
1199 _impl_.temperature_ = 0;
1200 _impl_._has_bits_[0] &= ~0x00000002u;
1202inline double Simulator_ScalarSample::_internal_temperature()
const {
1203 return _impl_.temperature_;
1205inline double Simulator_ScalarSample::temperature()
const {
1207 return _internal_temperature();
1209inline void Simulator_ScalarSample::_internal_set_temperature(
double value) {
1210 _impl_._has_bits_[0] |= 0x00000002u;
1211 _impl_.temperature_ = value;
1213inline void Simulator_ScalarSample::set_temperature(
double value) {
1214 _internal_set_temperature(value);
1219inline bool Simulator_ScalarSample::_internal_has_salinity()
const {
1220 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1223inline bool Simulator_ScalarSample::has_salinity()
const {
1224 return _internal_has_salinity();
1226inline void Simulator_ScalarSample::clear_salinity() {
1227 _impl_.salinity_ = 0;
1228 _impl_._has_bits_[0] &= ~0x00000004u;
1230inline double Simulator_ScalarSample::_internal_salinity()
const {
1231 return _impl_.salinity_;
1233inline double Simulator_ScalarSample::salinity()
const {
1235 return _internal_salinity();
1237inline void Simulator_ScalarSample::_internal_set_salinity(
double value) {
1238 _impl_._has_bits_[0] |= 0x00000004u;
1239 _impl_.salinity_ = value;
1241inline void Simulator_ScalarSample::set_salinity(
double value) {
1242 _internal_set_salinity(value);
1251inline bool Simulator::_internal_has_app()
const {
1252 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1253 PROTOBUF_ASSUME(!value || _impl_.app_ !=
nullptr);
1256inline bool Simulator::has_app()
const {
1257 return _internal_has_app();
1259inline const ::goby::middleware::protobuf::AppConfig& Simulator::_internal_app()
const {
1260 const ::goby::middleware::protobuf::AppConfig* p = _impl_.app_;
1261 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::AppConfig&
>(
1262 ::goby::middleware::protobuf::_AppConfig_default_instance_);
1264inline const ::goby::middleware::protobuf::AppConfig& Simulator::app()
const {
1266 return _internal_app();
1268inline void Simulator::unsafe_arena_set_allocated_app(
1269 ::goby::middleware::protobuf::AppConfig* app) {
1270 if (GetArenaForAllocation() ==
nullptr) {
1271 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1275 _impl_._has_bits_[0] |= 0x00000002u;
1277 _impl_._has_bits_[0] &= ~0x00000002u;
1281inline ::goby::middleware::protobuf::AppConfig* Simulator::release_app() {
1282 _impl_._has_bits_[0] &= ~0x00000002u;
1283 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1284 _impl_.app_ =
nullptr;
1285#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1286 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1287 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1288 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1290 if (GetArenaForAllocation() !=
nullptr) {
1291 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1296inline ::goby::middleware::protobuf::AppConfig* Simulator::unsafe_arena_release_app() {
1298 _impl_._has_bits_[0] &= ~0x00000002u;
1299 ::goby::middleware::protobuf::AppConfig* temp = _impl_.app_;
1300 _impl_.app_ =
nullptr;
1303inline ::goby::middleware::protobuf::AppConfig* Simulator::_internal_mutable_app() {
1304 _impl_._has_bits_[0] |= 0x00000002u;
1305 if (_impl_.app_ ==
nullptr) {
1306 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::AppConfig>(GetArenaForAllocation());
1311inline ::goby::middleware::protobuf::AppConfig* Simulator::mutable_app() {
1312 ::goby::middleware::protobuf::AppConfig* _msg = _internal_mutable_app();
1316inline void Simulator::set_allocated_app(::goby::middleware::protobuf::AppConfig* app) {
1317 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1318 if (message_arena ==
nullptr) {
1319 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.app_);
1322 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1323 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1324 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(app));
1325 if (message_arena != submessage_arena) {
1326 app = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1327 message_arena, app, submessage_arena);
1329 _impl_._has_bits_[0] |= 0x00000002u;
1331 _impl_._has_bits_[0] &= ~0x00000002u;
1338inline bool Simulator::_internal_has_interprocess()
const {
1339 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1340 PROTOBUF_ASSUME(!value || _impl_.interprocess_ !=
nullptr);
1343inline bool Simulator::has_interprocess()
const {
1344 return _internal_has_interprocess();
1346inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::_internal_interprocess()
const {
1347 const ::goby::zeromq::protobuf::InterProcessPortalConfig* p = _impl_.interprocess_;
1348 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::zeromq::protobuf::InterProcessPortalConfig&
>(
1349 ::goby::zeromq::protobuf::_InterProcessPortalConfig_default_instance_);
1351inline const ::goby::zeromq::protobuf::InterProcessPortalConfig& Simulator::interprocess()
const {
1353 return _internal_interprocess();
1355inline void Simulator::unsafe_arena_set_allocated_interprocess(
1356 ::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1357 if (GetArenaForAllocation() ==
nullptr) {
1358 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1360 _impl_.interprocess_ = interprocess;
1362 _impl_._has_bits_[0] |= 0x00000004u;
1364 _impl_._has_bits_[0] &= ~0x00000004u;
1368inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::release_interprocess() {
1369 _impl_._has_bits_[0] &= ~0x00000004u;
1370 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1371 _impl_.interprocess_ =
nullptr;
1372#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1373 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1374 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1375 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1377 if (GetArenaForAllocation() !=
nullptr) {
1378 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1383inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::unsafe_arena_release_interprocess() {
1385 _impl_._has_bits_[0] &= ~0x00000004u;
1386 ::goby::zeromq::protobuf::InterProcessPortalConfig* temp = _impl_.interprocess_;
1387 _impl_.interprocess_ =
nullptr;
1390inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::_internal_mutable_interprocess() {
1391 _impl_._has_bits_[0] |= 0x00000004u;
1392 if (_impl_.interprocess_ ==
nullptr) {
1393 auto* p = CreateMaybeMessage<::goby::zeromq::protobuf::InterProcessPortalConfig>(GetArenaForAllocation());
1394 _impl_.interprocess_ = p;
1396 return _impl_.interprocess_;
1398inline ::goby::zeromq::protobuf::InterProcessPortalConfig* Simulator::mutable_interprocess() {
1399 ::goby::zeromq::protobuf::InterProcessPortalConfig* _msg = _internal_mutable_interprocess();
1403inline void Simulator::set_allocated_interprocess(::goby::zeromq::protobuf::InterProcessPortalConfig* interprocess) {
1404 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1405 if (message_arena ==
nullptr) {
1406 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.interprocess_);
1409 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1410 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1411 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(interprocess));
1412 if (message_arena != submessage_arena) {
1413 interprocess = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1414 message_arena, interprocess, submessage_arena);
1416 _impl_._has_bits_[0] |= 0x00000004u;
1418 _impl_._has_bits_[0] &= ~0x00000004u;
1420 _impl_.interprocess_ = interprocess;
1425inline bool Simulator::_internal_has_moos()
const {
1426 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1427 PROTOBUF_ASSUME(!value || _impl_.moos_ !=
nullptr);
1430inline bool Simulator::has_moos()
const {
1431 return _internal_has_moos();
1433inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& Simulator::_internal_moos()
const {
1434 const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* p = _impl_.moos_;
1435 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig&
>(
1436 ::goby::apps::moos::protobuf::_GobyMOOSGatewayConfig_MOOSConfig_default_instance_);
1438inline const ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig& Simulator::moos()
const {
1440 return _internal_moos();
1442inline void Simulator::unsafe_arena_set_allocated_moos(
1443 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
1444 if (GetArenaForAllocation() ==
nullptr) {
1445 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.moos_);
1447 _impl_.moos_ = moos;
1449 _impl_._has_bits_[0] |= 0x00000008u;
1451 _impl_._has_bits_[0] &= ~0x00000008u;
1455inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::release_moos() {
1456 _impl_._has_bits_[0] &= ~0x00000008u;
1457 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = _impl_.moos_;
1458 _impl_.moos_ =
nullptr;
1459#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1460 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1461 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1462 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1464 if (GetArenaForAllocation() !=
nullptr) {
1465 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1470inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::unsafe_arena_release_moos() {
1472 _impl_._has_bits_[0] &= ~0x00000008u;
1473 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* temp = _impl_.moos_;
1474 _impl_.moos_ =
nullptr;
1477inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::_internal_mutable_moos() {
1478 _impl_._has_bits_[0] |= 0x00000008u;
1479 if (_impl_.moos_ ==
nullptr) {
1480 auto* p = CreateMaybeMessage<::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig>(GetArenaForAllocation());
1483 return _impl_.moos_;
1485inline ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* Simulator::mutable_moos() {
1486 ::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* _msg = _internal_mutable_moos();
1490inline void Simulator::set_allocated_moos(::goby::apps::moos::protobuf::GobyMOOSGatewayConfig_MOOSConfig* moos) {
1491 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1492 if (message_arena ==
nullptr) {
1493 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.moos_);
1496 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1497 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1498 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(moos));
1499 if (message_arena != submessage_arena) {
1500 moos = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1501 message_arena, moos, submessage_arena);
1503 _impl_._has_bits_[0] |= 0x00000008u;
1505 _impl_._has_bits_[0] &= ~0x00000008u;
1507 _impl_.moos_ = moos;
1512inline bool Simulator::_internal_has_gps_udp_config()
const {
1513 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1514 PROTOBUF_ASSUME(!value || _impl_.gps_udp_config_ !=
nullptr);
1517inline bool Simulator::has_gps_udp_config()
const {
1518 return _internal_has_gps_udp_config();
1520inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_gps_udp_config()
const {
1521 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = _impl_.gps_udp_config_;
1522 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&
>(
1523 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1525inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::gps_udp_config()
const {
1527 return _internal_gps_udp_config();
1529inline void Simulator::unsafe_arena_set_allocated_gps_udp_config(
1530 ::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1531 if (GetArenaForAllocation() ==
nullptr) {
1532 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.gps_udp_config_);
1534 _impl_.gps_udp_config_ = gps_udp_config;
1535 if (gps_udp_config) {
1536 _impl_._has_bits_[0] |= 0x00000010u;
1538 _impl_._has_bits_[0] &= ~0x00000010u;
1542inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_gps_udp_config() {
1543 _impl_._has_bits_[0] &= ~0x00000010u;
1544 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.gps_udp_config_;
1545 _impl_.gps_udp_config_ =
nullptr;
1546#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1547 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1548 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1549 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1551 if (GetArenaForAllocation() !=
nullptr) {
1552 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1557inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_gps_udp_config() {
1559 _impl_._has_bits_[0] &= ~0x00000010u;
1560 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.gps_udp_config_;
1561 _impl_.gps_udp_config_ =
nullptr;
1564inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_gps_udp_config() {
1565 _impl_._has_bits_[0] |= 0x00000010u;
1566 if (_impl_.gps_udp_config_ ==
nullptr) {
1567 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
1568 _impl_.gps_udp_config_ = p;
1570 return _impl_.gps_udp_config_;
1572inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_gps_udp_config() {
1573 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_gps_udp_config();
1577inline void Simulator::set_allocated_gps_udp_config(::goby::middleware::protobuf::UDPPointToPointConfig* gps_udp_config) {
1578 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1579 if (message_arena ==
nullptr) {
1580 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.gps_udp_config_);
1582 if (gps_udp_config) {
1583 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1584 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1585 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(gps_udp_config));
1586 if (message_arena != submessage_arena) {
1587 gps_udp_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1588 message_arena, gps_udp_config, submessage_arena);
1590 _impl_._has_bits_[0] |= 0x00000010u;
1592 _impl_._has_bits_[0] &= ~0x00000010u;
1594 _impl_.gps_udp_config_ = gps_udp_config;
1599inline bool Simulator::_internal_has_udp_gateway_config()
const {
1600 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1601 PROTOBUF_ASSUME(!value || _impl_.udp_gateway_config_ !=
nullptr);
1604inline bool Simulator::has_udp_gateway_config()
const {
1605 return _internal_has_udp_gateway_config();
1607inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::_internal_udp_gateway_config()
const {
1608 const ::goby::middleware::protobuf::UDPPointToPointConfig* p = _impl_.udp_gateway_config_;
1609 return p !=
nullptr ? *p :
reinterpret_cast<const ::goby::middleware::protobuf::UDPPointToPointConfig&
>(
1610 ::goby::middleware::protobuf::_UDPPointToPointConfig_default_instance_);
1612inline const ::goby::middleware::protobuf::UDPPointToPointConfig& Simulator::udp_gateway_config()
const {
1614 return _internal_udp_gateway_config();
1616inline void Simulator::unsafe_arena_set_allocated_udp_gateway_config(
1617 ::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config) {
1618 if (GetArenaForAllocation() ==
nullptr) {
1619 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.udp_gateway_config_);
1621 _impl_.udp_gateway_config_ = udp_gateway_config;
1622 if (udp_gateway_config) {
1623 _impl_._has_bits_[0] |= 0x00000020u;
1625 _impl_._has_bits_[0] &= ~0x00000020u;
1629inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::release_udp_gateway_config() {
1630 _impl_._has_bits_[0] &= ~0x00000020u;
1631 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_gateway_config_;
1632 _impl_.udp_gateway_config_ =
nullptr;
1633#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1634 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1635 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1636 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1638 if (GetArenaForAllocation() !=
nullptr) {
1639 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1644inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::unsafe_arena_release_udp_gateway_config() {
1646 _impl_._has_bits_[0] &= ~0x00000020u;
1647 ::goby::middleware::protobuf::UDPPointToPointConfig* temp = _impl_.udp_gateway_config_;
1648 _impl_.udp_gateway_config_ =
nullptr;
1651inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::_internal_mutable_udp_gateway_config() {
1652 _impl_._has_bits_[0] |= 0x00000020u;
1653 if (_impl_.udp_gateway_config_ ==
nullptr) {
1654 auto* p = CreateMaybeMessage<::goby::middleware::protobuf::UDPPointToPointConfig>(GetArenaForAllocation());
1655 _impl_.udp_gateway_config_ = p;
1657 return _impl_.udp_gateway_config_;
1659inline ::goby::middleware::protobuf::UDPPointToPointConfig* Simulator::mutable_udp_gateway_config() {
1660 ::goby::middleware::protobuf::UDPPointToPointConfig* _msg = _internal_mutable_udp_gateway_config();
1664inline void Simulator::set_allocated_udp_gateway_config(::goby::middleware::protobuf::UDPPointToPointConfig* udp_gateway_config) {
1665 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1666 if (message_arena ==
nullptr) {
1667 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.udp_gateway_config_);
1669 if (udp_gateway_config) {
1670 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1671 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1672 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(udp_gateway_config));
1673 if (message_arena != submessage_arena) {
1674 udp_gateway_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1675 message_arena, udp_gateway_config, submessage_arena);
1677 _impl_._has_bits_[0] |= 0x00000020u;
1679 _impl_._has_bits_[0] &= ~0x00000020u;
1681 _impl_.udp_gateway_config_ = udp_gateway_config;
1686inline bool Simulator::_internal_has_enable_gps()
const {
1687 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1690inline bool Simulator::has_enable_gps()
const {
1691 return _internal_has_enable_gps();
1693inline void Simulator::clear_enable_gps() {
1694 _impl_.enable_gps_ =
true;
1695 _impl_._has_bits_[0] &= ~0x00002000u;
1697inline bool Simulator::_internal_enable_gps()
const {
1698 return _impl_.enable_gps_;
1700inline bool Simulator::enable_gps()
const {
1702 return _internal_enable_gps();
1704inline void Simulator::_internal_set_enable_gps(
bool value) {
1705 _impl_._has_bits_[0] |= 0x00002000u;
1706 _impl_.enable_gps_ = value;
1708inline void Simulator::set_enable_gps(
bool value) {
1709 _internal_set_enable_gps(value);
1714inline bool Simulator::_internal_has_start_location()
const {
1715 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1716 PROTOBUF_ASSUME(!value || _impl_.start_location_ !=
nullptr);
1719inline bool Simulator::has_start_location()
const {
1720 return _internal_has_start_location();
1722inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::_internal_start_location()
const {
1723 const ::jaiabot::protobuf::GeographicCoordinate* p = _impl_.start_location_;
1727inline const ::jaiabot::protobuf::GeographicCoordinate& Simulator::start_location()
const {
1729 return _internal_start_location();
1731inline void Simulator::unsafe_arena_set_allocated_start_location(
1733 if (GetArenaForAllocation() ==
nullptr) {
1734 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
1736 _impl_.start_location_ = start_location;
1737 if (start_location) {
1738 _impl_._has_bits_[0] |= 0x00000040u;
1740 _impl_._has_bits_[0] &= ~0x00000040u;
1744inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::release_start_location() {
1745 _impl_._has_bits_[0] &= ~0x00000040u;
1747 _impl_.start_location_ =
nullptr;
1748#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1749 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1750 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1751 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1753 if (GetArenaForAllocation() !=
nullptr) {
1754 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1759inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::unsafe_arena_release_start_location() {
1761 _impl_._has_bits_[0] &= ~0x00000040u;
1763 _impl_.start_location_ =
nullptr;
1766inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::_internal_mutable_start_location() {
1767 _impl_._has_bits_[0] |= 0x00000040u;
1768 if (_impl_.start_location_ ==
nullptr) {
1770 _impl_.start_location_ = p;
1772 return _impl_.start_location_;
1774inline ::jaiabot::protobuf::GeographicCoordinate* Simulator::mutable_start_location() {
1780 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1781 if (message_arena ==
nullptr) {
1782 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.start_location_);
1784 if (start_location) {
1785 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1786 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
1787 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(start_location));
1788 if (message_arena != submessage_arena) {
1789 start_location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1790 message_arena, start_location, submessage_arena);
1792 _impl_._has_bits_[0] |= 0x00000040u;
1794 _impl_._has_bits_[0] &= ~0x00000040u;
1796 _impl_.start_location_ = start_location;
1801inline bool Simulator::_internal_has_gps_hdop_rand_max()
const {
1802 bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
1805inline bool Simulator::has_gps_hdop_rand_max()
const {
1806 return _internal_has_gps_hdop_rand_max();
1808inline void Simulator::clear_gps_hdop_rand_max() {
1809 _impl_.gps_hdop_rand_max_ = 1.3;
1810 _impl_._has_bits_[0] &= ~0x00008000u;
1812inline double Simulator::_internal_gps_hdop_rand_max()
const {
1813 return _impl_.gps_hdop_rand_max_;
1815inline double Simulator::gps_hdop_rand_max()
const {
1817 return _internal_gps_hdop_rand_max();
1819inline void Simulator::_internal_set_gps_hdop_rand_max(
double value) {
1820 _impl_._has_bits_[0] |= 0x00008000u;
1821 _impl_.gps_hdop_rand_max_ = value;
1823inline void Simulator::set_gps_hdop_rand_max(
double value) {
1824 _internal_set_gps_hdop_rand_max(value);
1829inline bool Simulator::_internal_has_is_bot_sim()
const {
1830 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1833inline bool Simulator::has_is_bot_sim()
const {
1834 return _internal_has_is_bot_sim();
1836inline void Simulator::clear_is_bot_sim() {
1837 _impl_.is_bot_sim_ =
true;
1838 _impl_._has_bits_[0] &= ~0x00004000u;
1840inline bool Simulator::_internal_is_bot_sim()
const {
1841 return _impl_.is_bot_sim_;
1843inline bool Simulator::is_bot_sim()
const {
1845 return _internal_is_bot_sim();
1847inline void Simulator::_internal_set_is_bot_sim(
bool value) {
1848 _impl_._has_bits_[0] |= 0x00004000u;
1849 _impl_.is_bot_sim_ = value;
1851inline void Simulator::set_is_bot_sim(
bool value) {
1852 _internal_set_is_bot_sim(value);
1857inline bool Simulator::_internal_has_gps_pdop_rand_max()
const {
1858 bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
1861inline bool Simulator::has_gps_pdop_rand_max()
const {
1862 return _internal_has_gps_pdop_rand_max();
1864inline void Simulator::clear_gps_pdop_rand_max() {
1865 _impl_.gps_pdop_rand_max_ = 2.2;
1866 _impl_._has_bits_[0] &= ~0x00010000u;
1868inline double Simulator::_internal_gps_pdop_rand_max()
const {
1869 return _impl_.gps_pdop_rand_max_;
1871inline double Simulator::gps_pdop_rand_max()
const {
1873 return _internal_gps_pdop_rand_max();
1875inline void Simulator::_internal_set_gps_pdop_rand_max(
double value) {
1876 _impl_._has_bits_[0] |= 0x00010000u;
1877 _impl_.gps_pdop_rand_max_ = value;
1879inline void Simulator::set_gps_pdop_rand_max(
double value) {
1880 _internal_set_gps_pdop_rand_max(value);
1885inline bool Simulator::_internal_has_heading_rand_max()
const {
1886 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1889inline bool Simulator::has_heading_rand_max()
const {
1890 return _internal_has_heading_rand_max();
1892inline void Simulator::clear_heading_rand_max() {
1893 _impl_.heading_rand_max_ = 0;
1894 _impl_._has_bits_[0] &= ~0x00000100u;
1896inline double Simulator::_internal_heading_rand_max()
const {
1897 return _impl_.heading_rand_max_;
1899inline double Simulator::heading_rand_max()
const {
1901 return _internal_heading_rand_max();
1903inline void Simulator::_internal_set_heading_rand_max(
double value) {
1904 _impl_._has_bits_[0] |= 0x00000100u;
1905 _impl_.heading_rand_max_ = value;
1907inline void Simulator::set_heading_rand_max(
double value) {
1908 _internal_set_heading_rand_max(value);
1913inline bool Simulator::_internal_has_vertical_dive_rate()
const {
1914 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1917inline bool Simulator::has_vertical_dive_rate()
const {
1918 return _internal_has_vertical_dive_rate();
1920inline void Simulator::clear_vertical_dive_rate() {
1921 _impl_.vertical_dive_rate_ = 0;
1922 _impl_._has_bits_[0] &= ~0x00000200u;
1924inline double Simulator::_internal_vertical_dive_rate()
const {
1925 return _impl_.vertical_dive_rate_;
1927inline double Simulator::vertical_dive_rate()
const {
1929 return _internal_vertical_dive_rate();
1931inline void Simulator::_internal_set_vertical_dive_rate(
double value) {
1932 _impl_._has_bits_[0] |= 0x00000200u;
1933 _impl_.vertical_dive_rate_ = value;
1935inline void Simulator::set_vertical_dive_rate(
double value) {
1936 _internal_set_vertical_dive_rate(value);
1941inline bool Simulator::_internal_has_seafloor_depth()
const {
1942 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1945inline bool Simulator::has_seafloor_depth()
const {
1946 return _internal_has_seafloor_depth();
1948inline void Simulator::clear_seafloor_depth() {
1949 _impl_.seafloor_depth_ = 0;
1950 _impl_._has_bits_[0] &= ~0x00000400u;
1952inline double Simulator::_internal_seafloor_depth()
const {
1953 return _impl_.seafloor_depth_;
1955inline double Simulator::seafloor_depth()
const {
1957 return _internal_seafloor_depth();
1959inline void Simulator::_internal_set_seafloor_depth(
double value) {
1960 _impl_._has_bits_[0] |= 0x00000400u;
1961 _impl_.seafloor_depth_ = value;
1963inline void Simulator::set_seafloor_depth(
double value) {
1964 _internal_set_seafloor_depth(value);
1969inline bool Simulator::_internal_has_seafloor_wavelength()
const {
1970 bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
1973inline bool Simulator::has_seafloor_wavelength()
const {
1974 return _internal_has_seafloor_wavelength();
1976inline void Simulator::clear_seafloor_wavelength() {
1977 _impl_.seafloor_wavelength_ = 100;
1978 _impl_._has_bits_[0] &= ~0x00020000u;
1980inline double Simulator::_internal_seafloor_wavelength()
const {
1981 return _impl_.seafloor_wavelength_;
1983inline double Simulator::seafloor_wavelength()
const {
1985 return _internal_seafloor_wavelength();
1987inline void Simulator::_internal_set_seafloor_wavelength(
double value) {
1988 _impl_._has_bits_[0] |= 0x00020000u;
1989 _impl_.seafloor_wavelength_ = value;
1991inline void Simulator::set_seafloor_wavelength(
double value) {
1992 _internal_set_seafloor_wavelength(value);
1997inline bool Simulator::_internal_has_seafloor_amplitude()
const {
1998 bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
2001inline bool Simulator::has_seafloor_amplitude()
const {
2002 return _internal_has_seafloor_amplitude();
2004inline void Simulator::clear_seafloor_amplitude() {
2005 _impl_.seafloor_amplitude_ = 5;
2006 _impl_._has_bits_[0] &= ~0x00040000u;
2008inline double Simulator::_internal_seafloor_amplitude()
const {
2009 return _impl_.seafloor_amplitude_;
2011inline double Simulator::seafloor_amplitude()
const {
2013 return _internal_seafloor_amplitude();
2015inline void Simulator::_internal_set_seafloor_amplitude(
double value) {
2016 _impl_._has_bits_[0] |= 0x00040000u;
2017 _impl_.seafloor_amplitude_ = value;
2019inline void Simulator::set_seafloor_amplitude(
double value) {
2020 _internal_set_seafloor_amplitude(value);
2025inline bool Simulator::_internal_has_gps_hdop_dropout()
const {
2026 bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
2029inline bool Simulator::has_gps_hdop_dropout()
const {
2030 return _internal_has_gps_hdop_dropout();
2032inline void Simulator::clear_gps_hdop_dropout() {
2033 _impl_.gps_hdop_dropout_ = 20;
2034 _impl_._has_bits_[0] &= ~0x00080000u;
2036inline double Simulator::_internal_gps_hdop_dropout()
const {
2037 return _impl_.gps_hdop_dropout_;
2039inline double Simulator::gps_hdop_dropout()
const {
2041 return _internal_gps_hdop_dropout();
2043inline void Simulator::_internal_set_gps_hdop_dropout(
double value) {
2044 _impl_._has_bits_[0] |= 0x00080000u;
2045 _impl_.gps_hdop_dropout_ = value;
2047inline void Simulator::set_gps_hdop_dropout(
double value) {
2048 _internal_set_gps_hdop_dropout(value);
2053inline bool Simulator::_internal_has_gps_pdop_dropout()
const {
2054 bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
2057inline bool Simulator::has_gps_pdop_dropout()
const {
2058 return _internal_has_gps_pdop_dropout();
2060inline void Simulator::clear_gps_pdop_dropout() {
2061 _impl_.gps_pdop_dropout_ = 20;
2062 _impl_._has_bits_[0] &= ~0x00100000u;
2064inline double Simulator::_internal_gps_pdop_dropout()
const {
2065 return _impl_.gps_pdop_dropout_;
2067inline double Simulator::gps_pdop_dropout()
const {
2069 return _internal_gps_pdop_dropout();
2071inline void Simulator::_internal_set_gps_pdop_dropout(
double value) {
2072 _impl_._has_bits_[0] |= 0x00100000u;
2073 _impl_.gps_pdop_dropout_ = value;
2075inline void Simulator::set_gps_pdop_dropout(
double value) {
2076 _internal_set_gps_pdop_dropout(value);
2081inline bool Simulator::_internal_has_minimum_thrust()
const {
2082 bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
2085inline bool Simulator::has_minimum_thrust()
const {
2086 return _internal_has_minimum_thrust();
2088inline void Simulator::clear_minimum_thrust() {
2089 _impl_.minimum_thrust_ = 5;
2090 _impl_._has_bits_[0] &= ~0x00200000u;
2092inline double Simulator::_internal_minimum_thrust()
const {
2093 return _impl_.minimum_thrust_;
2095inline double Simulator::minimum_thrust()
const {
2097 return _internal_minimum_thrust();
2099inline void Simulator::_internal_set_minimum_thrust(
double value) {
2100 _impl_._has_bits_[0] |= 0x00200000u;
2101 _impl_.minimum_thrust_ = value;
2103inline void Simulator::set_minimum_thrust(
double value) {
2104 _internal_set_minimum_thrust(value);
2109inline bool Simulator::_internal_has_pitch_at_rest()
const {
2110 bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
2113inline bool Simulator::has_pitch_at_rest()
const {
2114 return _internal_has_pitch_at_rest();
2116inline void Simulator::clear_pitch_at_rest() {
2117 _impl_.pitch_at_rest_ = 85;
2118 _impl_._has_bits_[0] &= ~0x00400000u;
2120inline double Simulator::_internal_pitch_at_rest()
const {
2121 return _impl_.pitch_at_rest_;
2123inline double Simulator::pitch_at_rest()
const {
2125 return _internal_pitch_at_rest();
2127inline void Simulator::_internal_set_pitch_at_rest(
double value) {
2128 _impl_._has_bits_[0] |= 0x00400000u;
2129 _impl_.pitch_at_rest_ = value;
2131inline void Simulator::set_pitch_at_rest(
double value) {
2132 _internal_set_pitch_at_rest(value);
2137inline int Simulator::_internal_sample_size()
const {
2138 return _impl_.sample_.size();
2140inline int Simulator::sample_size()
const {
2141 return _internal_sample_size();
2143inline void Simulator::clear_sample() {
2144 _impl_.sample_.Clear();
2146inline ::jaiabot::config::Simulator_ScalarSample* Simulator::mutable_sample(
int index) {
2148 return _impl_.sample_.Mutable(index);
2150inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >*
2151Simulator::mutable_sample() {
2153 return &_impl_.sample_;
2155inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::_internal_sample(
int index)
const {
2156 return _impl_.sample_.Get(index);
2158inline const ::jaiabot::config::Simulator_ScalarSample& Simulator::sample(
int index)
const {
2160 return _internal_sample(index);
2162inline ::jaiabot::config::Simulator_ScalarSample* Simulator::_internal_add_sample() {
2163 return _impl_.sample_.Add();
2165inline ::jaiabot::config::Simulator_ScalarSample* Simulator::add_sample() {
2170inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::jaiabot::config::Simulator_ScalarSample >&
2171Simulator::sample()
const {
2173 return _impl_.sample_;
2177inline bool Simulator::_internal_has_temperature_stdev()
const {
2178 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
2181inline bool Simulator::has_temperature_stdev()
const {
2182 return _internal_has_temperature_stdev();
2184inline void Simulator::clear_temperature_stdev() {
2185 _impl_.temperature_stdev_ = 0;
2186 _impl_._has_bits_[0] &= ~0x00000800u;
2188inline double Simulator::_internal_temperature_stdev()
const {
2189 return _impl_.temperature_stdev_;
2191inline double Simulator::temperature_stdev()
const {
2193 return _internal_temperature_stdev();
2195inline void Simulator::_internal_set_temperature_stdev(
double value) {
2196 _impl_._has_bits_[0] |= 0x00000800u;
2197 _impl_.temperature_stdev_ = value;
2199inline void Simulator::set_temperature_stdev(
double value) {
2200 _internal_set_temperature_stdev(value);
2205inline bool Simulator::_internal_has_salinity_stdev()
const {
2206 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2209inline bool Simulator::has_salinity_stdev()
const {
2210 return _internal_has_salinity_stdev();
2212inline void Simulator::clear_salinity_stdev() {
2213 _impl_.salinity_stdev_ = 0;
2214 _impl_._has_bits_[0] &= ~0x00001000u;
2216inline double Simulator::_internal_salinity_stdev()
const {
2217 return _impl_.salinity_stdev_;
2219inline double Simulator::salinity_stdev()
const {
2221 return _internal_salinity_stdev();
2223inline void Simulator::_internal_set_salinity_stdev(
double value) {
2224 _impl_._has_bits_[0] |= 0x00001000u;
2225 _impl_.salinity_stdev_ = value;
2227inline void Simulator::set_salinity_stdev(
double value) {
2228 _internal_set_salinity_stdev(value);
2233inline bool Simulator::_internal_has_hub_gpsd_device()
const {
2234 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2237inline bool Simulator::has_hub_gpsd_device()
const {
2238 return _internal_has_hub_gpsd_device();
2240inline void Simulator::clear_hub_gpsd_device() {
2241 _impl_.hub_gpsd_device_.ClearToEmpty();
2242 _impl_._has_bits_[0] &= ~0x00000001u;
2244inline const std::string& Simulator::hub_gpsd_device()
const {
2246 return _internal_hub_gpsd_device();
2248template <
typename ArgT0,
typename... ArgT>
2249inline PROTOBUF_ALWAYS_INLINE
2250void Simulator::set_hub_gpsd_device(ArgT0&& arg0, ArgT... args) {
2251 _impl_._has_bits_[0] |= 0x00000001u;
2252 _impl_.hub_gpsd_device_.Set(
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
2255inline std::string* Simulator::mutable_hub_gpsd_device() {
2256 std::string* _s = _internal_mutable_hub_gpsd_device();
2260inline const std::string& Simulator::_internal_hub_gpsd_device()
const {
2261 return _impl_.hub_gpsd_device_.Get();
2263inline void Simulator::_internal_set_hub_gpsd_device(
const std::string& value) {
2264 _impl_._has_bits_[0] |= 0x00000001u;
2265 _impl_.hub_gpsd_device_.Set(value, GetArenaForAllocation());
2267inline std::string* Simulator::_internal_mutable_hub_gpsd_device() {
2268 _impl_._has_bits_[0] |= 0x00000001u;
2269 return _impl_.hub_gpsd_device_.Mutable(GetArenaForAllocation());
2271inline std::string* Simulator::release_hub_gpsd_device() {
2273 if (!_internal_has_hub_gpsd_device()) {
2276 _impl_._has_bits_[0] &= ~0x00000001u;
2277 auto* p = _impl_.hub_gpsd_device_.Release();
2278#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2279 if (_impl_.hub_gpsd_device_.IsDefault()) {
2280 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
2285inline void Simulator::set_allocated_hub_gpsd_device(std::string* hub_gpsd_device) {
2286 if (hub_gpsd_device !=
nullptr) {
2287 _impl_._has_bits_[0] |= 0x00000001u;
2289 _impl_._has_bits_[0] &= ~0x00000001u;
2291 _impl_.hub_gpsd_device_.SetAllocated(hub_gpsd_device, GetArenaForAllocation());
2292#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2293 if (_impl_.hub_gpsd_device_.IsDefault()) {
2294 _impl_.hub_gpsd_device_.Set(
"", GetArenaForAllocation());
2301inline bool Simulator::_internal_has_arduino_config()
const {
2302 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
2303 PROTOBUF_ASSUME(!value || _impl_.arduino_config_ !=
nullptr);
2306inline bool Simulator::has_arduino_config()
const {
2307 return _internal_has_arduino_config();
2309inline void Simulator::clear_arduino_config() {
2310 if (_impl_.arduino_config_ !=
nullptr) _impl_.arduino_config_->Clear();
2311 _impl_._has_bits_[0] &= ~0x00000080u;
2313inline const ::jaiabot::config::ArduinoSimThread& Simulator::_internal_arduino_config()
const {
2314 const ::jaiabot::config::ArduinoSimThread* p = _impl_.arduino_config_;
2318inline const ::jaiabot::config::ArduinoSimThread& Simulator::arduino_config()
const {
2320 return _internal_arduino_config();
2322inline void Simulator::unsafe_arena_set_allocated_arduino_config(
2324 if (GetArenaForAllocation() ==
nullptr) {
2325 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(_impl_.arduino_config_);
2327 _impl_.arduino_config_ = arduino_config;
2328 if (arduino_config) {
2329 _impl_._has_bits_[0] |= 0x00000080u;
2331 _impl_._has_bits_[0] &= ~0x00000080u;
2335inline ::jaiabot::config::ArduinoSimThread* Simulator::release_arduino_config() {
2336 _impl_._has_bits_[0] &= ~0x00000080u;
2338 _impl_.arduino_config_ =
nullptr;
2339#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2340 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
2341 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2342 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
2344 if (GetArenaForAllocation() !=
nullptr) {
2345 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2350inline ::jaiabot::config::ArduinoSimThread* Simulator::unsafe_arena_release_arduino_config() {
2352 _impl_._has_bits_[0] &= ~0x00000080u;
2354 _impl_.arduino_config_ =
nullptr;
2357inline ::jaiabot::config::ArduinoSimThread* Simulator::_internal_mutable_arduino_config() {
2358 _impl_._has_bits_[0] |= 0x00000080u;
2359 if (_impl_.arduino_config_ ==
nullptr) {
2361 _impl_.arduino_config_ = p;
2363 return _impl_.arduino_config_;
2365inline ::jaiabot::config::ArduinoSimThread* Simulator::mutable_arduino_config() {
2371 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2372 if (message_arena ==
nullptr) {
2373 delete _impl_.arduino_config_;
2375 if (arduino_config) {
2376 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2377 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arduino_config);
2378 if (message_arena != submessage_arena) {
2379 arduino_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2380 message_arena, arduino_config, submessage_arena);
2382 _impl_._has_bits_[0] |= 0x00000080u;
2384 _impl_._has_bits_[0] &= ~0x00000080u;
2386 _impl_.arduino_config_ = arduino_config;
2395inline bool ArduinoSimThread::_internal_has_voltage_period()
const {
2396 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2399inline bool ArduinoSimThread::has_voltage_period()
const {
2400 return _internal_has_voltage_period();
2402inline void ArduinoSimThread::clear_voltage_period() {
2403 _impl_.voltage_period_ = 1;
2404 _impl_._has_bits_[0] &= ~0x00000001u;
2406inline int32_t ArduinoSimThread::_internal_voltage_period()
const {
2407 return _impl_.voltage_period_;
2409inline int32_t ArduinoSimThread::voltage_period()
const {
2411 return _internal_voltage_period();
2413inline void ArduinoSimThread::_internal_set_voltage_period(int32_t value) {
2414 _impl_._has_bits_[0] |= 0x00000001u;
2415 _impl_.voltage_period_ = value;
2417inline void ArduinoSimThread::set_voltage_period(int32_t value) {
2418 _internal_set_voltage_period(value);
2423inline bool ArduinoSimThread::_internal_has_voltage_step_decrease()
const {
2424 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2427inline bool ArduinoSimThread::has_voltage_step_decrease()
const {
2428 return _internal_has_voltage_step_decrease();
2430inline void ArduinoSimThread::clear_voltage_step_decrease() {
2431 _impl_.voltage_step_decrease_ = 0.1;
2432 _impl_._has_bits_[0] &= ~0x00000002u;
2434inline double ArduinoSimThread::_internal_voltage_step_decrease()
const {
2435 return _impl_.voltage_step_decrease_;
2437inline double ArduinoSimThread::voltage_step_decrease()
const {
2439 return _internal_voltage_step_decrease();
2441inline void ArduinoSimThread::_internal_set_voltage_step_decrease(
double value) {
2442 _impl_._has_bits_[0] |= 0x00000002u;
2443 _impl_.voltage_step_decrease_ = value;
2445inline void ArduinoSimThread::set_voltage_step_decrease(
double value) {
2446 _internal_set_voltage_step_decrease(value);
2451inline bool ArduinoSimThread::_internal_has_voltage_start()
const {
2452 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2455inline bool ArduinoSimThread::has_voltage_start()
const {
2456 return _internal_has_voltage_start();
2458inline void ArduinoSimThread::clear_voltage_start() {
2459 _impl_.voltage_start_ = 24;
2460 _impl_._has_bits_[0] &= ~0x00000004u;
2462inline double ArduinoSimThread::_internal_voltage_start()
const {
2463 return _impl_.voltage_start_;
2465inline double ArduinoSimThread::voltage_start()
const {
2467 return _internal_voltage_start();
2469inline void ArduinoSimThread::_internal_set_voltage_start(
double value) {
2470 _impl_._has_bits_[0] |= 0x00000004u;
2471 _impl_.voltage_start_ = value;
2473inline void ArduinoSimThread::set_voltage_start(
double value) {
2474 _internal_set_voltage_start(value);
2479inline bool ArduinoSimThread::_internal_has_reset_voltage_level()
const {
2480 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2483inline bool ArduinoSimThread::has_reset_voltage_level()
const {
2484 return _internal_has_reset_voltage_level();
2486inline void ArduinoSimThread::clear_reset_voltage_level() {
2487 _impl_.reset_voltage_level_ = 15;
2488 _impl_._has_bits_[0] &= ~0x00000008u;
2490inline double ArduinoSimThread::_internal_reset_voltage_level()
const {
2491 return _impl_.reset_voltage_level_;
2493inline double ArduinoSimThread::reset_voltage_level()
const {
2495 return _internal_reset_voltage_level();
2497inline void ArduinoSimThread::_internal_set_reset_voltage_level(
double value) {
2498 _impl_._has_bits_[0] |= 0x00000008u;
2499 _impl_.reset_voltage_level_ = value;
2501inline void ArduinoSimThread::set_reset_voltage_level(
double value) {
2502 _internal_set_reset_voltage_level(value);
2507 #pragma GCC diagnostic pop
2521#include <google/protobuf/port_undef.inc>
void MergeFrom(const ArduinoSimThread &from)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
ArduinoSimThread & operator=(const ArduinoSimThread &from)
void CopyFrom(const ArduinoSimThread &from)
static const ArduinoSimThread * internal_default_instance()
static const ClassData _class_data_
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
PROTOBUF_CONSTEXPR ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
ArduinoSimThread(const ArduinoSimThread &from)
friend void swap(ArduinoSimThread &a, ArduinoSimThread &b)
void Swap(ArduinoSimThread *other)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void UnsafeArenaSwap(ArduinoSimThread *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
static const ArduinoSimThread & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
ArduinoSimThread * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
ArduinoSimThread & operator=(ArduinoSimThread &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
ArduinoSimThread(ArduinoSimThread &&from) noexcept
~ArduinoSimThread() override
ArduinoSimThread(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
boost::units::temperature_dimension temperature_dimension
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
PROTOBUF_CONSTEXPR Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
double temperature() const
void set_temperature_with_units(Quantity value_w_units)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void UnsafeArenaSwap(Simulator_ScalarSample *other)
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
int GetCachedSize() const final
bool has_temperature() const
~Simulator_ScalarSample() override
bool has_salinity() const
static constexpr int kIndexInFileMessages
void Swap(Simulator_ScalarSample *other)
@ kTemperatureFieldNumber
static const Simulator_ScalarSample & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
bool IsInitialized() const final
Simulator_ScalarSample(Simulator_ScalarSample &&from) noexcept
Simulator_ScalarSample & operator=(Simulator_ScalarSample &&from) noexcept
boost::units::quantity< depth_unit, double > depth_with_units() const
void set_depth(double value)
Quantity depth_with_units() const
Quantity temperature_with_units() const
void CopyFrom(const Simulator_ScalarSample &from)
Simulator_ScalarSample & operator=(const Simulator_ScalarSample &from)
boost::units::length_dimension depth_dimension
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
friend void swap(Simulator_ScalarSample &a, Simulator_ScalarSample &b)
static const ClassData _class_data_
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void MergeFrom(const Simulator_ScalarSample &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const Simulator_ScalarSample * internal_default_instance()
boost::units::quantity< temperature_unit, double > temperature_with_units() const
void set_salinity(double value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Simulator_ScalarSample(const Simulator_ScalarSample &from)
Simulator_ScalarSample * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Simulator_ScalarSample(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_depth_with_units(Quantity value_w_units)
size_t ByteSizeLong() const final
void set_temperature(double value)
boost::units::unit< seafloor_depth_dimension, boost::units::si::system > seafloor_depth_unit
boost::units::plane_angle_dimension pitch_at_rest_dimension
Simulator & operator=(const Simulator &from)
boost::units::unit< seafloor_wavelength_dimension, boost::units::si::system > seafloor_wavelength_unit
void set_seafloor_amplitude_with_units(Quantity value_w_units)
boost::units::length_dimension seafloor_wavelength_dimension
Simulator(Simulator &&from) noexcept
Quantity vertical_dive_rate_with_units() const
Quantity seafloor_wavelength_with_units() const
void clear_start_location()
friend void swap(Simulator &a, Simulator &b)
static const Simulator & default_instance()
boost::units::unit< pitch_at_rest_dimension, boost::units::degree::system > pitch_at_rest_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void set_temperature_stdev_with_units(Quantity value_w_units)
void MergeFrom(const Simulator &from)
void set_hub_gpsd_device(ArgT0 &&arg0, ArgT... args)
boost::units::velocity_dimension vertical_dive_rate_dimension
boost::units::quantity< seafloor_wavelength_unit, double > seafloor_wavelength_with_units() const
Simulator(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void Swap(Simulator *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void UnsafeArenaSwap(Simulator *other)
void CopyFrom(const Simulator &from)
boost::units::unit< temperature_stdev_dimension, boost::units::celsius::system > temperature_stdev_unit
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
void set_vertical_dive_rate_with_units(Quantity value_w_units)
void clear_gps_udp_config()
void set_seafloor_depth_with_units(Quantity value_w_units)
boost::units::quantity< pitch_at_rest_unit, double > pitch_at_rest_with_units() const
Quantity seafloor_amplitude_with_units() const
Simulator(const Simulator &from)
void clear_interprocess()
boost::units::length_dimension seafloor_amplitude_dimension
void clear_udp_gateway_config()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_seafloor_wavelength_with_units(Quantity value_w_units)
boost::units::length_dimension seafloor_depth_dimension
Quantity temperature_stdev_with_units() const
boost::units::quantity< seafloor_amplitude_unit, double > seafloor_amplitude_with_units() const
static const ClassData _class_data_
boost::units::quantity< vertical_dive_rate_unit, double > vertical_dive_rate_with_units() const
static const Simulator * internal_default_instance()
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::quantity< seafloor_depth_unit, double > seafloor_depth_with_units() const
Quantity pitch_at_rest_with_units() const
Quantity seafloor_depth_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::unit< seafloor_amplitude_dimension, boost::units::si::system > seafloor_amplitude_unit
void set_pitch_at_rest_with_units(Quantity value_w_units)
boost::units::temperature_dimension temperature_stdev_dimension
boost::units::quantity< temperature_stdev_unit, double > temperature_stdev_with_units() const
PROTOBUF_CONSTEXPR Simulator(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Simulator * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Simulator & operator=(Simulator &&from) noexcept
boost::units::unit< vertical_dive_rate_dimension, boost::units::si::system > vertical_dive_rate_unit
PROTOBUF_NAMESPACE_OPEN ::jaiabot::protobuf::GeographicCoordinate * Arena::CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate >(Arena *)
ArduinoSimThreadDefaultTypeInternal _ArduinoSimThread_default_instance_
Simulator_ScalarSampleDefaultTypeInternal _Simulator_ScalarSample_default_instance_
SimulatorDefaultTypeInternal _Simulator_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_bin_2fsimulator_2fconfig_2eproto
PROTOBUF_NAMESPACE_OPEN ::jaiabot::config::ArduinoSimThread * Arena::CreateMaybeMessage<::jaiabot::config::ArduinoSimThread >(Arena *)
static const uint32_t offsets[]