4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhigh_5fcontrol_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fhigh_5fcontrol_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/generated_enum_reflection.h>
33#include <google/protobuf/unknown_field_set.h>
35#include "goby/middleware/protobuf/frontseat_data.pb.h"
37#include <boost/units/quantity.hpp>
38#include <boost/units/absolute.hpp>
39#include <boost/units/dimensionless_type.hpp>
40#include <boost/units/make_scaled_unit.hpp>
42#include <boost/units/systems/angle/degrees.hpp>
44#include <boost/units/systems/si.hpp>
46#include <google/protobuf/port_def.inc>
47#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fhigh_5fcontrol_2eproto
48PROTOBUF_NAMESPACE_OPEN
52PROTOBUF_NAMESPACE_CLOSE
61class DesiredSetpoints;
62struct DesiredSetpointsDefaultTypeInternal;
65struct RemoteControlDefaultTypeInternal;
69PROTOBUF_NAMESPACE_OPEN
72PROTOBUF_NAMESPACE_CLOSE
92 static_assert(::std::is_same<T, SetpointType>::value ||
93 ::std::is_integral<T>::value,
94 "Incorrect type passed to function SetpointType_Name.");
95 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
99 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
SetpointType* value) {
100 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SetpointType>(
106 public ::PROTOBUF_NAMESPACE_ID::Message {
110 explicit PROTOBUF_CONSTEXPR
RemoteControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
115 *
this = ::std::move(from);
123 if (
this == &from)
return *
this;
124 if (GetOwningArena() == from.GetOwningArena()
125 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
126 && GetOwningArena() !=
nullptr
137 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
140 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
166 if (other ==
this)
return;
167 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
168 if (GetOwningArena() !=
nullptr &&
169 GetOwningArena() == other->GetOwningArena()) {
171 if (GetOwningArena() == other->GetOwningArena()) {
175 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
179 if (other ==
this)
return;
180 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
187 return CreateMaybeMessage<RemoteControl>(arena);
189 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
191 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
193 RemoteControl::MergeImpl(*
this, from);
196 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
198 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
204 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
208 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
210 void SetCachedSize(
int size)
const final;
214 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
215 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
216 return "jaiabot.protobuf.RemoteControl";
220 bool is_message_owned =
false);
224 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
240 bool _internal_has_heading()
const;
246 double _internal_heading()
const;
247 void _internal_set_heading(
double value);
253 bool _internal_has_speed()
const;
256 double speed()
const;
259 double _internal_speed()
const;
260 void _internal_set_speed(
double value);
266 bool _internal_has_duration()
const;
272 int32_t _internal_duration()
const;
273 void _internal_set_duration(int32_t value);
278 typedef boost::units::unit<duration_dimension,boost::units::si::system>
duration_unit;
280 template<
typename Quantity >
282 {
set_duration(boost::units::quantity<duration_unit,google::protobuf::int32 >(value_w_units).value() ); };
284 template<
typename Quantity >
293 typedef boost::units::unit<heading_dimension,boost::units::degree::system>
heading_unit;
295 template<
typename Quantity >
297 {
set_heading(boost::units::quantity<heading_unit,double >(value_w_units).value() ); };
299 template<
typename Quantity >
306 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
speed_dimension;
308 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
310 template<
typename Quantity >
312 {
set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
314 template<
typename Quantity >
325 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
326 typedef void InternalArenaConstructable_;
327 typedef void DestructorSkippable_;
329 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
330 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
336 friend struct ::TableStruct_jaiabot_2fmessages_2fhigh_5fcontrol_2eproto;
341 public ::PROTOBUF_NAMESPACE_ID::Message {
345 explicit PROTOBUF_CONSTEXPR
DesiredSetpoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
350 *
this = ::std::move(from);
358 if (
this == &from)
return *
this;
359 if (GetOwningArena() == from.GetOwningArena()
360 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
361 && GetOwningArena() !=
nullptr
372 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
375 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
378 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
409 if (other ==
this)
return;
410 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
411 if (GetOwningArena() !=
nullptr &&
412 GetOwningArena() == other->GetOwningArena()) {
414 if (GetOwningArena() == other->GetOwningArena()) {
418 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
422 if (other ==
this)
return;
423 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
430 return CreateMaybeMessage<DesiredSetpoints>(arena);
432 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
434 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
436 DesiredSetpoints::MergeImpl(*
this, from);
439 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
441 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
447 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
451 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
bool is_message_owned);
453 void SetCachedSize(
int size)
const final;
457 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
458 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
459 return "jaiabot.protobuf.DesiredSetpoints";
463 bool is_message_owned =
false);
467 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
484 bool has_type()
const;
486 bool _internal_has_type()
const;
497 bool has_is_helm_constant_course()
const;
499 bool _internal_has_is_helm_constant_course()
const;
501 void clear_is_helm_constant_course();
502 bool is_helm_constant_course()
const;
503 void set_is_helm_constant_course(
bool value);
505 bool _internal_is_helm_constant_course()
const;
506 void _internal_set_is_helm_constant_course(
bool value);
510 bool has_helm_course()
const;
512 bool _internal_has_helm_course()
const;
515 const ::goby::middleware::frontseat::protobuf::DesiredCourse&
helm_course()
const;
516 PROTOBUF_NODISCARD ::goby::middleware::frontseat::protobuf::DesiredCourse*
release_helm_course();
520 const ::goby::middleware::frontseat::protobuf::DesiredCourse& _internal_helm_course()
const;
521 ::goby::middleware::frontseat::protobuf::DesiredCourse* _internal_mutable_helm_course();
524 ::goby::middleware::frontseat::protobuf::DesiredCourse*
helm_course);
530 bool _internal_has_remote_control()
const;
538 const ::jaiabot::protobuf::RemoteControl& _internal_remote_control()
const;
548 bool _internal_has_dive_depth()
const;
554 double _internal_dive_depth()
const;
555 void _internal_set_dive_depth(
double value);
561 bool _internal_has_throttle()
const;
567 double _internal_throttle()
const;
568 void _internal_set_throttle(
double value);
575 typedef boost::units::unit<dive_depth_dimension,boost::units::si::system>
dive_depth_unit;
577 template<
typename Quantity >
579 {
set_dive_depth(boost::units::quantity<dive_depth_unit,double >(value_w_units).value() ); };
581 template<
typename Quantity >
591 void set_has_helm_course();
592 void set_has_remote_control();
593 void set_has_dive_depth();
594 void set_has_throttle();
596 inline bool has_setpoint_data()
const;
597 inline void clear_has_setpoint_data();
599 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
600 typedef void InternalArenaConstructable_;
601 typedef void DestructorSkippable_;
603 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
604 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
606 bool is_helm_constant_course_;
609 ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized
_constinit_;
615 uint32_t _oneof_case_[1];
619 friend struct ::TableStruct_jaiabot_2fmessages_2fhigh_5fcontrol_2eproto;
627 #pragma GCC diagnostic push
628 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
633inline bool RemoteControl::_internal_has_duration()
const {
634 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
638 return _internal_has_duration();
642 _impl_._has_bits_[0] &= ~0x00000004u;
644inline int32_t RemoteControl::_internal_duration()
const {
645 return _impl_.duration_;
649 return _internal_duration();
651inline void RemoteControl::_internal_set_duration(int32_t value) {
652 _impl_._has_bits_[0] |= 0x00000004u;
653 _impl_.duration_ = value;
656 _internal_set_duration(value);
661inline bool RemoteControl::_internal_has_heading()
const {
662 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
666 return _internal_has_heading();
670 _impl_._has_bits_[0] &= ~0x00000001u;
672inline double RemoteControl::_internal_heading()
const {
673 return _impl_.heading_;
677 return _internal_heading();
679inline void RemoteControl::_internal_set_heading(
double value) {
680 _impl_._has_bits_[0] |= 0x00000001u;
681 _impl_.heading_ = value;
684 _internal_set_heading(value);
689inline bool RemoteControl::_internal_has_speed()
const {
690 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
694 return _internal_has_speed();
698 _impl_._has_bits_[0] &= ~0x00000002u;
700inline double RemoteControl::_internal_speed()
const {
701 return _impl_.speed_;
705 return _internal_speed();
707inline void RemoteControl::_internal_set_speed(
double value) {
708 _impl_._has_bits_[0] |= 0x00000002u;
709 _impl_.speed_ = value;
712 _internal_set_speed(value);
721inline bool DesiredSetpoints::_internal_has_type()
const {
722 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
726 return _internal_has_type();
730 _impl_._has_bits_[0] &= ~0x00000001u;
732inline ::jaiabot::protobuf::SetpointType DesiredSetpoints::_internal_type()
const {
737 return _internal_type();
741 _impl_._has_bits_[0] |= 0x00000001u;
742 _impl_.type_ = value;
745 _internal_set_type(value);
750inline bool DesiredSetpoints::_internal_has_helm_course()
const {
751 return setpoint_data_case() == kHelmCourse;
754 return _internal_has_helm_course();
756inline void DesiredSetpoints::set_has_helm_course() {
757 _impl_._oneof_case_[0] = kHelmCourse;
761 if (_internal_has_helm_course()) {
762 clear_has_setpoint_data();
763 ::goby::middleware::frontseat::protobuf::DesiredCourse* temp =
_impl_.setpoint_data_.helm_course_;
764 if (GetArenaForAllocation() !=
nullptr) {
765 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
767 _impl_.setpoint_data_.helm_course_ =
nullptr;
773inline const ::goby::middleware::frontseat::protobuf::DesiredCourse& DesiredSetpoints::_internal_helm_course()
const {
774 return _internal_has_helm_course()
775 ? *_impl_.setpoint_data_.helm_course_
776 :
reinterpret_cast< ::goby::middleware::frontseat::protobuf::DesiredCourse&
>(::goby::middleware::frontseat::protobuf::_DesiredCourse_default_instance_);
780 return _internal_helm_course();
784 if (_internal_has_helm_course()) {
785 clear_has_setpoint_data();
786 ::goby::middleware::frontseat::protobuf::DesiredCourse* temp =
_impl_.setpoint_data_.helm_course_;
787 _impl_.setpoint_data_.helm_course_ =
nullptr;
796 set_has_helm_course();
801inline ::goby::middleware::frontseat::protobuf::DesiredCourse* DesiredSetpoints::_internal_mutable_helm_course() {
802 if (!_internal_has_helm_course()) {
803 clear_setpoint_data();
804 set_has_helm_course();
805 _impl_.setpoint_data_.helm_course_ = CreateMaybeMessage< ::goby::middleware::frontseat::protobuf::DesiredCourse >(GetArenaForAllocation());
807 return _impl_.setpoint_data_.helm_course_;
810 ::goby::middleware::frontseat::protobuf::DesiredCourse* _msg = _internal_mutable_helm_course();
816inline bool DesiredSetpoints::_internal_has_remote_control()
const {
817 return setpoint_data_case() == kRemoteControl;
820 return _internal_has_remote_control();
822inline void DesiredSetpoints::set_has_remote_control() {
823 _impl_._oneof_case_[0] = kRemoteControl;
826 if (_internal_has_remote_control()) {
827 if (GetArenaForAllocation() ==
nullptr) {
828 delete _impl_.setpoint_data_.remote_control_;
830 clear_has_setpoint_data();
835 if (_internal_has_remote_control()) {
836 clear_has_setpoint_data();
838 if (GetArenaForAllocation() !=
nullptr) {
839 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
841 _impl_.setpoint_data_.remote_control_ =
nullptr;
847inline const ::jaiabot::protobuf::RemoteControl& DesiredSetpoints::_internal_remote_control()
const {
848 return _internal_has_remote_control()
849 ? *_impl_.setpoint_data_.remote_control_
854 return _internal_remote_control();
858 if (_internal_has_remote_control()) {
859 clear_has_setpoint_data();
861 _impl_.setpoint_data_.remote_control_ =
nullptr;
870 set_has_remote_control();
875inline ::jaiabot::protobuf::RemoteControl* DesiredSetpoints::_internal_mutable_remote_control() {
876 if (!_internal_has_remote_control()) {
877 clear_setpoint_data();
878 set_has_remote_control();
879 _impl_.setpoint_data_.remote_control_ = CreateMaybeMessage< ::jaiabot::protobuf::RemoteControl >(GetArenaForAllocation());
881 return _impl_.setpoint_data_.remote_control_;
890inline bool DesiredSetpoints::_internal_has_dive_depth()
const {
891 return setpoint_data_case() == kDiveDepth;
894 return _internal_has_dive_depth();
896inline void DesiredSetpoints::set_has_dive_depth() {
897 _impl_._oneof_case_[0] = kDiveDepth;
900 if (_internal_has_dive_depth()) {
901 _impl_.setpoint_data_.dive_depth_ = 0;
902 clear_has_setpoint_data();
905inline double DesiredSetpoints::_internal_dive_depth()
const {
906 if (_internal_has_dive_depth()) {
907 return _impl_.setpoint_data_.dive_depth_;
911inline void DesiredSetpoints::_internal_set_dive_depth(
double value) {
912 if (!_internal_has_dive_depth()) {
913 clear_setpoint_data();
914 set_has_dive_depth();
916 _impl_.setpoint_data_.dive_depth_ = value;
920 return _internal_dive_depth();
923 _internal_set_dive_depth(value);
928inline bool DesiredSetpoints::_internal_has_throttle()
const {
929 return setpoint_data_case() == kThrottle;
932 return _internal_has_throttle();
934inline void DesiredSetpoints::set_has_throttle() {
935 _impl_._oneof_case_[0] = kThrottle;
938 if (_internal_has_throttle()) {
939 _impl_.setpoint_data_.throttle_ = 0;
940 clear_has_setpoint_data();
943inline double DesiredSetpoints::_internal_throttle()
const {
944 if (_internal_has_throttle()) {
945 return _impl_.setpoint_data_.throttle_;
949inline void DesiredSetpoints::_internal_set_throttle(
double value) {
950 if (!_internal_has_throttle()) {
951 clear_setpoint_data();
954 _impl_.setpoint_data_.throttle_ = value;
958 return _internal_throttle();
961 _internal_set_throttle(value);
966inline bool DesiredSetpoints::_internal_has_is_helm_constant_course()
const {
967 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
971 return _internal_has_is_helm_constant_course();
974 _impl_.is_helm_constant_course_ =
false;
975 _impl_._has_bits_[0] &= ~0x00000002u;
977inline bool DesiredSetpoints::_internal_is_helm_constant_course()
const {
978 return _impl_.is_helm_constant_course_;
982 return _internal_is_helm_constant_course();
984inline void DesiredSetpoints::_internal_set_is_helm_constant_course(
bool value) {
985 _impl_._has_bits_[0] |= 0x00000002u;
986 _impl_.is_helm_constant_course_ = value;
989 _internal_set_is_helm_constant_course(value);
993inline bool DesiredSetpoints::has_setpoint_data()
const {
994 return setpoint_data_case() != SETPOINT_DATA_NOT_SET;
996inline void DesiredSetpoints::clear_has_setpoint_data() {
997 _impl_._oneof_case_[0] = SETPOINT_DATA_NOT_SET;
1003 #pragma GCC diagnostic pop
1013PROTOBUF_NAMESPACE_OPEN
1018 return ::jaiabot::protobuf::SetpointType_descriptor();
1021PROTOBUF_NAMESPACE_CLOSE
1025#include <google/protobuf/port_undef.inc>
::jaiabot::protobuf::RemoteControl * mutable_remote_control()
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
DesiredSetpoints(const DesiredSetpoints &from)
void unsafe_arena_set_allocated_remote_control(::jaiabot::protobuf::RemoteControl *remote_control)
void clear_is_helm_constant_course()
::goby::middleware::frontseat::protobuf::DesiredCourse * unsafe_arena_release_helm_course()
bool is_helm_constant_course() const
void set_dive_depth_with_units(Quantity value_w_units)
void set_allocated_remote_control(::jaiabot::protobuf::RemoteControl *remote_control)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
::goby::middleware::frontseat::protobuf::DesiredCourse * mutable_helm_course()
const ::jaiabot::protobuf::RemoteControl & remote_control() const
static const DesiredSetpoints & default_instance()
~DesiredSetpoints() override
void MergeFrom(const DesiredSetpoints &from)
boost::units::length_dimension dive_depth_dimension
bool has_helm_course() const
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void unsafe_arena_set_allocated_helm_course(::goby::middleware::frontseat::protobuf::DesiredCourse *helm_course)
void set_dive_depth(double value)
void set_is_helm_constant_course(bool value)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
DesiredSetpoints & operator=(const DesiredSetpoints &from)
DesiredSetpoints(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
SetpointDataCase setpoint_data_case() const
size_t ByteSizeLong() const final
PROTOBUF_NODISCARD::jaiabot::protobuf::RemoteControl * release_remote_control()
DesiredSetpoints(DesiredSetpoints &&from) noexcept
void set_throttle(double value)
void UnsafeArenaSwap(DesiredSetpoints *other)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void CopyFrom(const DesiredSetpoints &from)
static const DesiredSetpoints * internal_default_instance()
bool has_dive_depth() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
@ kIsHelmConstantCourseFieldNumber
@ kRemoteControlFieldNumber
void Swap(DesiredSetpoints *other)
const ::goby::middleware::frontseat::protobuf::DesiredCourse & helm_course() const
bool has_throttle() const
boost::units::unit< dive_depth_dimension, boost::units::si::system > dive_depth_unit
Quantity dive_depth_with_units() const
void set_allocated_helm_course(::goby::middleware::frontseat::protobuf::DesiredCourse *helm_course)
bool has_remote_control() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void clear_setpoint_data()
int GetCachedSize() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
friend void swap(DesiredSetpoints &a, DesiredSetpoints &b)
bool has_is_helm_constant_course() const
static constexpr int kIndexInFileMessages
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
double dive_depth() const
PROTOBUF_NODISCARD::goby::middleware::frontseat::protobuf::DesiredCourse * release_helm_course()
::jaiabot::protobuf::RemoteControl * unsafe_arena_release_remote_control()
PROTOBUF_CONSTEXPR DesiredSetpoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
DesiredSetpoints * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void set_type(::jaiabot::protobuf::SetpointType value)
boost::units::quantity< dive_depth_unit, double > dive_depth_with_units() const
DesiredSetpoints & operator=(DesiredSetpoints &&from) noexcept
::jaiabot::protobuf::SetpointType type() const
void clear_remote_control()
bool IsInitialized() const final
static const ClassData _class_data_
void set_speed_with_units(Quantity value_w_units)
boost::units::quantity< speed_unit, double > speed_with_units() const
void UnsafeArenaSwap(RemoteControl *other)
static const RemoteControl & default_instance()
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
PROTOBUF_CONSTEXPR RemoteControl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Quantity speed_with_units() const
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
int GetCachedSize() const final
~RemoteControl() override
RemoteControl(const RemoteControl &from)
void MergeFrom(const RemoteControl &from)
void set_heading_with_units(Quantity value_w_units)
void set_duration(int32_t value)
static const ClassData _class_data_
void Swap(RemoteControl *other)
RemoteControl(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
RemoteControl & operator=(const RemoteControl &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void set_duration_with_units(Quantity value_w_units)
bool IsInitialized() const final
RemoteControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
boost::units::quantity< heading_unit, double > heading_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::unit< duration_dimension, boost::units::si::system > duration_unit
void CopyFrom(const RemoteControl &from)
boost::units::quantity< duration_unit, google::protobuf::int32 > duration_with_units() const
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
boost::units::plane_angle_dimension heading_dimension
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
size_t ByteSizeLong() const final
boost::units::unit< heading_dimension, boost::units::degree::system > heading_unit
Quantity duration_with_units() const
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
RemoteControl & operator=(RemoteControl &&from) noexcept
static const RemoteControl * internal_default_instance()
bool has_duration() const
RemoteControl(RemoteControl &&from) noexcept
void set_speed(double value)
void set_heading(double value)
static constexpr int kIndexInFileMessages
boost::units::time_dimension duration_dimension
Quantity heading_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
friend void swap(RemoteControl &a, RemoteControl &b)
const EnumDescriptor * GetEnumDescriptor< ::jaiabot::protobuf::SetpointType >()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fhigh_5fcontrol_2eproto
DesiredSetpointsDefaultTypeInternal _DesiredSetpoints_default_instance_
bool SetpointType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SetpointType *value)
RemoteControlDefaultTypeInternal _RemoteControl_default_instance_
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * SetpointType_descriptor()
constexpr int SetpointType_ARRAYSIZE
constexpr SetpointType SetpointType_MIN
bool SetpointType_IsValid(int value)
const std::string & SetpointType_Name(T enum_t_value)
constexpr SetpointType SetpointType_MAX
@ SETPOINT_POWERED_ASCENT
@ SETPOINT_REMOTE_CONTROL
static const uint32_t offsets[]
::goby::middleware::frontseat::protobuf::DesiredCourse * helm_course_
constexpr SetpointDataUnion()
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
::jaiabot::protobuf::RemoteControl * remote_control_