4 #ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flow_5fcontrol_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2flow_5fcontrol_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h>
33 #include <google/protobuf/extension_set.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "dccl/option_extensions.pb.h"
38 #include <boost/units/quantity.hpp>
39 #include <boost/units/absolute.hpp>
40 #include <boost/units/dimensionless_type.hpp>
41 #include <boost/units/make_scaled_unit.hpp>
43 #include <boost/units/systems/si.hpp>
45 #include <google/protobuf/port_def.inc>
46 #define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2flow_5fcontrol_2eproto
47 PROTOBUF_NAMESPACE_OPEN
51 PROTOBUF_NAMESPACE_CLOSE
55 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
57 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata
field_metadata[];
63 static const ::PROTOBUF_NAMESPACE_ID::uint32
offsets[];
69 class LowControlDefaultTypeInternal;
72 class LowControlAckDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> ::jaiabot::protobuf::LowControl* Arena::CreateMaybeMessage<::jaiabot::protobuf::LowControl>(Arena*);
78 template<> ::jaiabot::protobuf::LowControlAck* Arena::CreateMaybeMessage<::jaiabot::protobuf::LowControlAck>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
85 class LowControl PROTOBUF_FINAL :
86 public ::PROTOBUF_NAMESPACE_ID::Message {
94 *
this = ::std::move(from);
97 inline LowControl&
operator=(
const LowControl& from) {
101 inline LowControl&
operator=(LowControl&& from) noexcept {
102 if (GetArena() == from.GetArena()) {
103 if (
this != &from) InternalSwap(&from);
111 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
114 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
117 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
118 return GetDescriptor();
121 return GetMetadataStatic().descriptor;
124 return GetMetadataStatic().reflection;
130 return reinterpret_cast<const LowControl*
>(
133 static constexpr
int kIndexInFileMessages =
136 friend void swap(LowControl& a, LowControl& b) {
139 inline void Swap(LowControl* other) {
140 if (other ==
this)
return;
141 if (GetArena() == other->GetArena()) {
144 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
148 if (other ==
this)
return;
149 GOOGLE_DCHECK(GetArena() == other->GetArena());
155 inline LowControl*
New() const final {
156 return CreateMaybeMessage<LowControl>(
nullptr);
159 LowControl*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
160 return CreateMaybeMessage<LowControl>(arena);
162 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
163 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
166 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
167 bool IsInitialized() const final;
169 size_t ByteSizeLong() const final;
170 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
171 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
172 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
173 int GetCachedSize() const final {
return _cached_size_.Get(); }
176 inline void SharedCtor();
177 inline void SharedDtor();
178 void SetCachedSize(
int size)
const final;
179 void InternalSwap(LowControl* other);
180 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
181 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
182 return "jaiabot.protobuf.LowControl";
187 static void ArenaDtor(
void*
object);
188 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
193 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
205 kControlSurfacesFieldNumber = 6,
207 kVehicleFieldNumber = 2,
208 kTimeFieldNumber = 3,
213 bool _internal_has_control_surfaces()
const;
221 const ::jaiabot::protobuf::ControlSurfaces& _internal_control_surfaces()
const;
222 ::jaiabot::protobuf::ControlSurfaces* _internal_mutable_control_surfaces();
225 ::jaiabot::protobuf::ControlSurfaces* control_surfaces);
231 bool _internal_has_id()
const;
234 ::PROTOBUF_NAMESPACE_ID::uint32
id()
const;
235 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
237 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id()
const;
238 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
244 bool _internal_has_vehicle()
const;
247 ::PROTOBUF_NAMESPACE_ID::uint32
vehicle()
const;
250 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_vehicle()
const;
251 void _internal_set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value);
257 bool _internal_has_time()
const;
260 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
261 void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
263 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
264 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
269 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
time_unit;
271 template<
typename Quantity >
273 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
275 template<
typename Quantity >
277 {
return Quantity(time() *
time_unit()); };
280 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
287 size_t RequiredFieldsByteSizeFallback()
const;
289 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
290 typedef void InternalArenaConstructable_;
291 typedef void DestructorSkippable_;
292 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
293 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
294 ::jaiabot::protobuf::ControlSurfaces* control_surfaces_;
295 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
296 ::PROTOBUF_NAMESPACE_ID::uint32 vehicle_;
297 ::PROTOBUF_NAMESPACE_ID::uint64 time_;
298 friend struct ::TableStruct_jaiabot_2fmessages_2flow_5fcontrol_2eproto;
303 public ::PROTOBUF_NAMESPACE_ID::Message {
311 *
this = ::std::move(from);
314 inline LowControlAck&
operator=(
const LowControlAck& from) {
318 inline LowControlAck&
operator=(LowControlAck&& from) noexcept {
319 if (GetArena() == from.GetArena()) {
320 if (
this != &from) InternalSwap(&from);
328 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
331 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
334 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
335 return GetDescriptor();
338 return GetMetadataStatic().descriptor;
341 return GetMetadataStatic().reflection;
347 return reinterpret_cast<const LowControlAck*
>(
350 static constexpr
int kIndexInFileMessages =
353 friend void swap(LowControlAck& a, LowControlAck& b) {
356 inline void Swap(LowControlAck* other) {
357 if (other ==
this)
return;
358 if (GetArena() == other->GetArena()) {
361 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
365 if (other ==
this)
return;
366 GOOGLE_DCHECK(GetArena() == other->GetArena());
372 inline LowControlAck*
New() const final {
373 return CreateMaybeMessage<LowControlAck>(
nullptr);
376 LowControlAck*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
377 return CreateMaybeMessage<LowControlAck>(arena);
379 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
380 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
383 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
384 bool IsInitialized() const final;
386 size_t ByteSizeLong() const final;
387 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
388 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
389 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
390 int GetCachedSize() const final {
return _cached_size_.Get(); }
393 inline void SharedCtor();
394 inline void SharedDtor();
395 void SetCachedSize(
int size)
const final;
396 void InternalSwap(LowControlAck* other);
397 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
398 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
399 return "jaiabot.protobuf.LowControlAck";
404 static void ArenaDtor(
void*
object);
405 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
410 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
422 kLocationFieldNumber = 5,
424 kVehicleFieldNumber = 2,
425 kTimeFieldNumber = 3,
426 kCommandTimeFieldNumber = 4,
427 kRangeFieldNumber = 6,
428 kSpeedFieldNumber = 7,
429 kEpsFieldNumber = 12,
434 bool _internal_has_location()
const;
437 const ::jaiabot::protobuf::GeographicCoordinate&
location()
const;
442 const ::jaiabot::protobuf::GeographicCoordinate& _internal_location()
const;
443 ::jaiabot::protobuf::GeographicCoordinate* _internal_mutable_location();
446 ::jaiabot::protobuf::GeographicCoordinate* location);
452 bool _internal_has_id()
const;
455 ::PROTOBUF_NAMESPACE_ID::uint32
id()
const;
456 void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
458 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id()
const;
459 void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
465 bool _internal_has_vehicle()
const;
468 ::PROTOBUF_NAMESPACE_ID::uint32
vehicle()
const;
471 ::PROTOBUF_NAMESPACE_ID::uint32 _internal_vehicle()
const;
472 void _internal_set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value);
478 bool _internal_has_time()
const;
481 ::PROTOBUF_NAMESPACE_ID::uint64
time()
const;
482 void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
484 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_time()
const;
485 void _internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
491 bool _internal_has_command_time()
const;
497 ::PROTOBUF_NAMESPACE_ID::uint64 _internal_command_time()
const;
498 void _internal_set_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value);
504 bool _internal_has_range()
const;
510 double _internal_range()
const;
511 void _internal_set_range(
double value);
517 bool _internal_has_speed()
const;
523 double _internal_speed()
const;
524 void _internal_set_speed(
double value);
530 bool _internal_has_eps()
const;
536 double _internal_eps()
const;
537 void _internal_set_eps(
double value);
542 typedef boost::units::make_scaled_unit<boost::units::unit<time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
time_unit;
544 template<
typename Quantity >
546 { set_time(boost::units::quantity<time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
548 template<
typename Quantity >
550 {
return Quantity(time() *
time_unit()); };
553 {
return time_with_units<boost::units::quantity< time_unit,google::protobuf::uint64 > >(); };
557 typedef boost::units::make_scaled_unit<boost::units::unit<command_time_dimension,boost::units::si::system> , boost::units::scale<10, boost::units::static_rational<-6> > >::type
command_time_unit;
559 template<
typename Quantity >
561 { set_command_time(boost::units::quantity<command_time_unit,google::protobuf::uint64 >(value_w_units).value() ); };
563 template<
typename Quantity >
568 {
return command_time_with_units<boost::units::quantity< command_time_unit,google::protobuf::uint64 > >(); };
570 typedef boost::units::derived_dimension< boost::units::length_base_dimension,1 >::type
range_dimension;
572 typedef boost::units::unit<range_dimension,boost::units::si::system>
range_unit;
574 template<
typename Quantity >
576 { set_range(boost::units::quantity<range_unit,double >(value_w_units).value() ); };
578 template<
typename Quantity >
583 {
return range_with_units<boost::units::quantity< range_unit,double > >(); };
585 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
speed_dimension;
587 typedef boost::units::unit<speed_dimension,boost::units::si::system>
speed_unit;
589 template<
typename Quantity >
591 { set_speed(boost::units::quantity<speed_unit,double >(value_w_units).value() ); };
593 template<
typename Quantity >
598 {
return speed_with_units<boost::units::quantity< speed_unit,double > >(); };
600 typedef boost::mpl::divides<boost::units::length_dimension,boost::units::time_dimension>::type
eps_dimension;
602 typedef boost::units::unit<eps_dimension,boost::units::si::system>
eps_unit;
604 template<
typename Quantity >
606 { set_eps(boost::units::quantity<eps_unit,double >(value_w_units).value() ); };
608 template<
typename Quantity >
610 {
return Quantity(eps() *
eps_unit()); };
613 {
return eps_with_units<boost::units::quantity< eps_unit,double > >(); };
620 size_t RequiredFieldsByteSizeFallback()
const;
622 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
623 typedef void InternalArenaConstructable_;
624 typedef void DestructorSkippable_;
625 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
626 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
627 ::jaiabot::protobuf::GeographicCoordinate* location_;
628 ::PROTOBUF_NAMESPACE_ID::uint32 id_;
629 ::PROTOBUF_NAMESPACE_ID::uint32 vehicle_;
630 ::PROTOBUF_NAMESPACE_ID::uint64 time_;
631 ::PROTOBUF_NAMESPACE_ID::uint64 command_time_;
635 friend struct ::TableStruct_jaiabot_2fmessages_2flow_5fcontrol_2eproto;
643 #pragma GCC diagnostic push
644 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
649 inline bool LowControl::_internal_has_id()
const {
650 bool value = (_has_bits_[0] & 0x00000002u) != 0;
653 inline bool LowControl::has_id()
const {
654 return _internal_has_id();
656 inline void LowControl::clear_id() {
658 _has_bits_[0] &= ~0x00000002u;
660 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControl::_internal_id()
const {
663 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControl::id()
const {
665 return _internal_id();
667 inline void LowControl::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
668 _has_bits_[0] |= 0x00000002u;
671 inline void LowControl::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
672 _internal_set_id(value);
677 inline bool LowControl::_internal_has_vehicle()
const {
678 bool value = (_has_bits_[0] & 0x00000004u) != 0;
681 inline bool LowControl::has_vehicle()
const {
682 return _internal_has_vehicle();
684 inline void LowControl::clear_vehicle() {
686 _has_bits_[0] &= ~0x00000004u;
688 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControl::_internal_vehicle()
const {
691 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControl::vehicle()
const {
693 return _internal_vehicle();
695 inline void LowControl::_internal_set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value) {
696 _has_bits_[0] |= 0x00000004u;
699 inline void LowControl::set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value) {
700 _internal_set_vehicle(value);
705 inline bool LowControl::_internal_has_time()
const {
706 bool value = (_has_bits_[0] & 0x00000008u) != 0;
709 inline bool LowControl::has_time()
const {
710 return _internal_has_time();
712 inline void LowControl::clear_time() {
713 time_ = PROTOBUF_ULONGLONG(0);
714 _has_bits_[0] &= ~0x00000008u;
716 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControl::_internal_time()
const {
719 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControl::time()
const {
721 return _internal_time();
723 inline void LowControl::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
724 _has_bits_[0] |= 0x00000008u;
727 inline void LowControl::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
728 _internal_set_time(value);
733 inline bool LowControl::_internal_has_control_surfaces()
const {
734 bool value = (_has_bits_[0] & 0x00000001u) != 0;
735 PROTOBUF_ASSUME(!value || control_surfaces_ !=
nullptr);
738 inline bool LowControl::has_control_surfaces()
const {
739 return _internal_has_control_surfaces();
741 inline const ::jaiabot::protobuf::ControlSurfaces& LowControl::_internal_control_surfaces()
const {
742 const ::jaiabot::protobuf::ControlSurfaces* p = control_surfaces_;
743 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::ControlSurfaces*
>(
746 inline const ::jaiabot::protobuf::ControlSurfaces& LowControl::control_surfaces()
const {
748 return _internal_control_surfaces();
750 inline void LowControl::unsafe_arena_set_allocated_control_surfaces(
751 ::jaiabot::protobuf::ControlSurfaces* control_surfaces) {
752 if (GetArena() ==
nullptr) {
753 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(control_surfaces_);
755 control_surfaces_ = control_surfaces;
756 if (control_surfaces) {
757 _has_bits_[0] |= 0x00000001u;
759 _has_bits_[0] &= ~0x00000001u;
763 inline ::jaiabot::protobuf::ControlSurfaces* LowControl::release_control_surfaces() {
764 auto temp = unsafe_arena_release_control_surfaces();
765 if (GetArena() !=
nullptr) {
766 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
770 inline ::jaiabot::protobuf::ControlSurfaces* LowControl::unsafe_arena_release_control_surfaces() {
772 _has_bits_[0] &= ~0x00000001u;
773 ::jaiabot::protobuf::ControlSurfaces* temp = control_surfaces_;
774 control_surfaces_ =
nullptr;
777 inline ::jaiabot::protobuf::ControlSurfaces* LowControl::_internal_mutable_control_surfaces() {
778 _has_bits_[0] |= 0x00000001u;
779 if (control_surfaces_ ==
nullptr) {
780 auto* p = CreateMaybeMessage<::jaiabot::protobuf::ControlSurfaces>(GetArena());
781 control_surfaces_ = p;
783 return control_surfaces_;
785 inline ::jaiabot::protobuf::ControlSurfaces* LowControl::mutable_control_surfaces() {
787 return _internal_mutable_control_surfaces();
789 inline void LowControl::set_allocated_control_surfaces(::jaiabot::protobuf::ControlSurfaces* control_surfaces) {
790 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
791 if (message_arena ==
nullptr) {
792 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(control_surfaces_);
794 if (control_surfaces) {
795 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
796 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(control_surfaces)->GetArena();
797 if (message_arena != submessage_arena) {
798 control_surfaces = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
799 message_arena, control_surfaces, submessage_arena);
801 _has_bits_[0] |= 0x00000001u;
803 _has_bits_[0] &= ~0x00000001u;
805 control_surfaces_ = control_surfaces;
814 inline bool LowControlAck::_internal_has_id()
const {
815 bool value = (_has_bits_[0] & 0x00000002u) != 0;
818 inline bool LowControlAck::has_id()
const {
819 return _internal_has_id();
821 inline void LowControlAck::clear_id() {
823 _has_bits_[0] &= ~0x00000002u;
825 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControlAck::_internal_id()
const {
828 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControlAck::id()
const {
830 return _internal_id();
832 inline void LowControlAck::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
833 _has_bits_[0] |= 0x00000002u;
836 inline void LowControlAck::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
837 _internal_set_id(value);
842 inline bool LowControlAck::_internal_has_vehicle()
const {
843 bool value = (_has_bits_[0] & 0x00000004u) != 0;
846 inline bool LowControlAck::has_vehicle()
const {
847 return _internal_has_vehicle();
849 inline void LowControlAck::clear_vehicle() {
851 _has_bits_[0] &= ~0x00000004u;
853 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControlAck::_internal_vehicle()
const {
856 inline ::PROTOBUF_NAMESPACE_ID::uint32 LowControlAck::vehicle()
const {
858 return _internal_vehicle();
860 inline void LowControlAck::_internal_set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value) {
861 _has_bits_[0] |= 0x00000004u;
864 inline void LowControlAck::set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value) {
865 _internal_set_vehicle(value);
870 inline bool LowControlAck::_internal_has_time()
const {
871 bool value = (_has_bits_[0] & 0x00000008u) != 0;
874 inline bool LowControlAck::has_time()
const {
875 return _internal_has_time();
877 inline void LowControlAck::clear_time() {
878 time_ = PROTOBUF_ULONGLONG(0);
879 _has_bits_[0] &= ~0x00000008u;
881 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControlAck::_internal_time()
const {
884 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControlAck::time()
const {
886 return _internal_time();
888 inline void LowControlAck::_internal_set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
889 _has_bits_[0] |= 0x00000008u;
892 inline void LowControlAck::set_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
893 _internal_set_time(value);
898 inline bool LowControlAck::_internal_has_command_time()
const {
899 bool value = (_has_bits_[0] & 0x00000010u) != 0;
902 inline bool LowControlAck::has_command_time()
const {
903 return _internal_has_command_time();
905 inline void LowControlAck::clear_command_time() {
906 command_time_ = PROTOBUF_ULONGLONG(0);
907 _has_bits_[0] &= ~0x00000010u;
909 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControlAck::_internal_command_time()
const {
910 return command_time_;
912 inline ::PROTOBUF_NAMESPACE_ID::uint64 LowControlAck::command_time()
const {
914 return _internal_command_time();
916 inline void LowControlAck::_internal_set_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
917 _has_bits_[0] |= 0x00000010u;
918 command_time_ = value;
920 inline void LowControlAck::set_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value) {
921 _internal_set_command_time(value);
926 inline bool LowControlAck::_internal_has_location()
const {
927 bool value = (_has_bits_[0] & 0x00000001u) != 0;
928 PROTOBUF_ASSUME(!value || location_ !=
nullptr);
931 inline bool LowControlAck::has_location()
const {
932 return _internal_has_location();
934 inline const ::jaiabot::protobuf::GeographicCoordinate& LowControlAck::_internal_location()
const {
935 const ::jaiabot::protobuf::GeographicCoordinate* p = location_;
936 return p !=
nullptr ? *p : *
reinterpret_cast<const ::jaiabot::protobuf::GeographicCoordinate*
>(
939 inline const ::jaiabot::protobuf::GeographicCoordinate& LowControlAck::location()
const {
941 return _internal_location();
943 inline void LowControlAck::unsafe_arena_set_allocated_location(
944 ::jaiabot::protobuf::GeographicCoordinate* location) {
945 if (GetArena() ==
nullptr) {
946 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location_);
948 location_ = location;
950 _has_bits_[0] |= 0x00000001u;
952 _has_bits_[0] &= ~0x00000001u;
956 inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::release_location() {
957 auto temp = unsafe_arena_release_location();
958 if (GetArena() !=
nullptr) {
959 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
963 inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::unsafe_arena_release_location() {
965 _has_bits_[0] &= ~0x00000001u;
966 ::jaiabot::protobuf::GeographicCoordinate* temp = location_;
970 inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::_internal_mutable_location() {
971 _has_bits_[0] |= 0x00000001u;
972 if (location_ ==
nullptr) {
973 auto* p = CreateMaybeMessage<::jaiabot::protobuf::GeographicCoordinate>(GetArena());
978 inline ::jaiabot::protobuf::GeographicCoordinate* LowControlAck::mutable_location() {
980 return _internal_mutable_location();
982 inline void LowControlAck::set_allocated_location(::jaiabot::protobuf::GeographicCoordinate* location) {
983 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
984 if (message_arena ==
nullptr) {
985 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location_);
988 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
989 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(location)->GetArena();
990 if (message_arena != submessage_arena) {
991 location = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
992 message_arena, location, submessage_arena);
994 _has_bits_[0] |= 0x00000001u;
996 _has_bits_[0] &= ~0x00000001u;
998 location_ = location;
1003 inline bool LowControlAck::_internal_has_range()
const {
1004 bool value = (_has_bits_[0] & 0x00000020u) != 0;
1007 inline bool LowControlAck::has_range()
const {
1008 return _internal_has_range();
1010 inline void LowControlAck::clear_range() {
1012 _has_bits_[0] &= ~0x00000020u;
1014 inline double LowControlAck::_internal_range()
const {
1017 inline double LowControlAck::range()
const {
1019 return _internal_range();
1021 inline void LowControlAck::_internal_set_range(
double value) {
1022 _has_bits_[0] |= 0x00000020u;
1025 inline void LowControlAck::set_range(
double value) {
1026 _internal_set_range(value);
1031 inline bool LowControlAck::_internal_has_speed()
const {
1032 bool value = (_has_bits_[0] & 0x00000040u) != 0;
1035 inline bool LowControlAck::has_speed()
const {
1036 return _internal_has_speed();
1038 inline void LowControlAck::clear_speed() {
1040 _has_bits_[0] &= ~0x00000040u;
1042 inline double LowControlAck::_internal_speed()
const {
1045 inline double LowControlAck::speed()
const {
1047 return _internal_speed();
1049 inline void LowControlAck::_internal_set_speed(
double value) {
1050 _has_bits_[0] |= 0x00000040u;
1053 inline void LowControlAck::set_speed(
double value) {
1054 _internal_set_speed(value);
1059 inline bool LowControlAck::_internal_has_eps()
const {
1060 bool value = (_has_bits_[0] & 0x00000080u) != 0;
1063 inline bool LowControlAck::has_eps()
const {
1064 return _internal_has_eps();
1066 inline void LowControlAck::clear_eps() {
1068 _has_bits_[0] &= ~0x00000080u;
1070 inline double LowControlAck::_internal_eps()
const {
1073 inline double LowControlAck::eps()
const {
1075 return _internal_eps();
1077 inline void LowControlAck::_internal_set_eps(
double value) {
1078 _has_bits_[0] |= 0x00000080u;
1081 inline void LowControlAck::set_eps(
double value) {
1082 _internal_set_eps(value);
1087 #pragma GCC diagnostic pop
1099 #include <google/protobuf/port_undef.inc>
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type speed_dimension
void CopyFrom(const LowControl &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
LowControl & operator=(LowControl &&from) noexcept
void unsafe_arena_set_allocated_control_surfaces(::jaiabot::protobuf::ControlSurfaces *control_surfaces)
bool has_command_time() const
void set_time_with_units(Quantity value_w_units)
::jaiabot::protobuf::GeographicCoordinate * mutable_location()
static const LowControl * internal_default_instance()
LowControlAck(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const LowControlAck & default_instance()
void set_allocated_control_surfaces(::jaiabot::protobuf::ControlSurfaces *control_surfaces)
boost::units::derived_dimension< boost::units::length_base_dimension, 1 >::type range_dimension
boost::mpl::divides< boost::units::length_dimension, boost::units::time_dimension >::type eps_dimension
LowControlAck(LowControlAck &&from) noexcept
boost::units::quantity< eps_unit, double > eps_with_units() const
void set_eps_with_units(Quantity value_w_units)
boost::units::unit< range_dimension, boost::units::si::system > range_unit
LowControl(const LowControl &from)
boost::units::time_dimension time_dimension
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
LowControl * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
void UnsafeArenaSwap(LowControl *other)
void Swap(LowControlAck *other)
LowControlAck & operator=(LowControlAck &&from) noexcept
void MergeFrom(const LowControlAck &from)
void UnsafeArenaSwap(LowControlAck *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_speed(double value)
const ::jaiabot::protobuf::GeographicCoordinate & location() const
::jaiabot::protobuf::GeographicCoordinate * release_location()
friend void swap(LowControlAck &a, LowControlAck &b)
Quantity speed_with_units() const
void Swap(LowControl *other)
LowControl * New() const final
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
Quantity command_time_with_units() const
LowControl & operator=(const LowControl &from)
void set_command_time_with_units(Quantity value_w_units)
LowControlAck * New() const final
void CopyFrom(const LowControlAck &from)
void clear_control_surfaces()
void unsafe_arena_set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
::jaiabot::protobuf::GeographicCoordinate * unsafe_arena_release_location()
::jaiabot::protobuf::ControlSurfaces * release_control_surfaces()
::jaiabot::protobuf::ControlSurfaces * unsafe_arena_release_control_surfaces()
LowControlAck(const LowControlAck &from)
::PROTOBUF_NAMESPACE_ID::uint32 vehicle() const
static const LowControl & default_instance()
bool has_control_surfaces() const
::PROTOBUF_NAMESPACE_ID::uint64 time() const
void set_command_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
void clear_command_time()
void set_range(double value)
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::PROTOBUF_NAMESPACE_ID::uint32 id() const
void set_range_with_units(Quantity value_w_units)
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
Quantity range_with_units() const
void set_eps(double value)
boost::units::quantity< range_unit, double > range_with_units() const
boost::units::unit< eps_dimension, boost::units::si::system > eps_unit
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_time(::PROTOBUF_NAMESPACE_ID::uint64 value)
LowControl(LowControl &&from) noexcept
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
LowControl(::PROTOBUF_NAMESPACE_ID::Arena *arena)
boost::units::make_scaled_unit< boost::units::unit< command_time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type command_time_unit
static void InitAsDefaultInstance()
LowControlAck * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
boost::units::time_dimension command_time_dimension
LowControlAck & operator=(const LowControlAck &from)
boost::units::quantity< time_unit, google::protobuf::uint64 > time_with_units() const
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
boost::units::quantity< command_time_unit, google::protobuf::uint64 > command_time_with_units() const
friend void swap(LowControl &a, LowControl &b)
static const LowControlAck * internal_default_instance()
boost::units::unit< speed_dimension, boost::units::si::system > speed_unit
bool has_location() const
const ::jaiabot::protobuf::ControlSurfaces & control_surfaces() const
Quantity time_with_units() const
::jaiabot::protobuf::ControlSurfaces * mutable_control_surfaces()
void set_speed_with_units(Quantity value_w_units)
void set_allocated_location(::jaiabot::protobuf::GeographicCoordinate *location)
Quantity eps_with_units() const
boost::units::make_scaled_unit< boost::units::unit< time_dimension, boost::units::si::system >, boost::units::scale< 10, boost::units::static_rational<-6 > > >::type time_unit
::PROTOBUF_NAMESPACE_ID::uint64 command_time() const
void MergeFrom(const LowControl &from)
boost::units::quantity< speed_unit, double > speed_with_units() const
void set_vehicle(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2flow_5fcontrol_2eproto
LowControlDefaultTypeInternal _LowControl_default_instance_
LowControlAckDefaultTypeInternal _LowControlAck_default_instance_
ControlSurfacesDefaultTypeInternal _ControlSurfaces_default_instance_
GeographicCoordinateDefaultTypeInternal _GeographicCoordinate_default_instance_
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)