JaiaBot 3.0.0
JaiaBot micro-AUV software
Loading...
Searching...
No Matches
simulator.pb.h
Go to the documentation of this file.
1// Generated by the protocol buffer compiler. DO NOT EDIT!
2// source: jaiabot/messages/simulator.proto
3
4#ifndef GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsimulator_2eproto
5#define GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsimulator_2eproto
6
7#include <limits>
8#include <string>
9
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
14#error your headers.
15#endif
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.
20#endif
21
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> // IWYU pragma: export
31#include <google/protobuf/extension_set.h> // IWYU pragma: export
32#include <google/protobuf/unknown_field_set.h>
34#include <boost/units/quantity.hpp>
35#include <boost/units/absolute.hpp>
36#include <boost/units/dimensionless_type.hpp>
37#include <boost/units/make_scaled_unit.hpp>
38
39#include <boost/units/systems/temperature/celsius.hpp>
40
41#include <boost/units/systems/si.hpp>
42
43#include <boost/units/base_units/metric/bar.hpp>
44// @@protoc_insertion_point(includes)
45#include <google/protobuf/port_def.inc>
46#define PROTOBUF_INTERNAL_EXPORT_jaiabot_2fmessages_2fsimulator_2eproto
47PROTOBUF_NAMESPACE_OPEN
48namespace internal {
49class AnyMetadata;
50} // namespace internal
51PROTOBUF_NAMESPACE_CLOSE
52
53// Internal implementation detail -- do not use these members.
57extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsimulator_2eproto;
58namespace jaiabot {
59namespace protobuf {
60class SimEnvironment;
61struct SimEnvironmentDefaultTypeInternal;
62extern SimEnvironmentDefaultTypeInternal _SimEnvironment_default_instance_;
63class SimulatorCommand;
64struct SimulatorCommandDefaultTypeInternal;
65extern SimulatorCommandDefaultTypeInternal _SimulatorCommand_default_instance_;
66class SimulatorCommand_GPSDropOut;
67struct SimulatorCommand_GPSDropOutDefaultTypeInternal;
68extern SimulatorCommand_GPSDropOutDefaultTypeInternal _SimulatorCommand_GPSDropOut_default_instance_;
69class SimulatorCommand_StopForwardProgress;
70struct SimulatorCommand_StopForwardProgressDefaultTypeInternal;
71extern SimulatorCommand_StopForwardProgressDefaultTypeInternal _SimulatorCommand_StopForwardProgress_default_instance_;
72} // namespace protobuf
73} // namespace jaiabot
74PROTOBUF_NAMESPACE_OPEN
75template<> ::jaiabot::protobuf::SimEnvironment* Arena::CreateMaybeMessage<::jaiabot::protobuf::SimEnvironment>(Arena*);
76template<> ::jaiabot::protobuf::SimulatorCommand* Arena::CreateMaybeMessage<::jaiabot::protobuf::SimulatorCommand>(Arena*);
77template<> ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* Arena::CreateMaybeMessage<::jaiabot::protobuf::SimulatorCommand_GPSDropOut>(Arena*);
78template<> ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* Arena::CreateMaybeMessage<::jaiabot::protobuf::SimulatorCommand_StopForwardProgress>(Arena*);
79PROTOBUF_NAMESPACE_CLOSE
80namespace jaiabot {
81namespace protobuf {
82
83// ===================================================================
84
86 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.SimulatorCommand.GPSDropOut) */ {
87 public:
90 explicit PROTOBUF_CONSTEXPR SimulatorCommand_GPSDropOut(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
91
95 *this = ::std::move(from);
96 }
97
99 CopyFrom(from);
100 return *this;
101 }
103 if (this == &from) return *this;
104 if (GetOwningArena() == from.GetOwningArena()
105 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
106 && GetOwningArena() != nullptr
107 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
108 ) {
109 InternalSwap(&from);
110 } else {
111 CopyFrom(from);
112 }
113 return *this;
114 }
115
116 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
117 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
118 }
119 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
120 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
121 }
122
123 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
124 return GetDescriptor();
125 }
126 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
127 return default_instance().GetMetadata().descriptor;
128 }
129 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
130 return default_instance().GetMetadata().reflection;
131 }
139 static constexpr int kIndexInFileMessages =
140 0;
141
143 a.Swap(&b);
144 }
145 inline void Swap(SimulatorCommand_GPSDropOut* other) {
146 if (other == this) return;
147 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
148 if (GetOwningArena() != nullptr &&
149 GetOwningArena() == other->GetOwningArena()) {
150 #else // PROTOBUF_FORCE_COPY_IN_SWAP
151 if (GetOwningArena() == other->GetOwningArena()) {
152 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
153 InternalSwap(other);
154 } else {
155 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
156 }
157 }
159 if (other == this) return;
160 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
161 InternalSwap(other);
162 }
163
164 // implements Message ----------------------------------------------
165
166 SimulatorCommand_GPSDropOut* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
167 return CreateMaybeMessage<SimulatorCommand_GPSDropOut>(arena);
168 }
169 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
171 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
173 SimulatorCommand_GPSDropOut::MergeImpl(*this, from);
174 }
175 private:
176 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
177 public:
178 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
179 bool IsInitialized() const final;
180
181 size_t ByteSizeLong() const final;
182 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
184 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
185 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
186
187 private:
188 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
189 void SharedDtor();
190 void SetCachedSize(int size) const final;
191 void InternalSwap(SimulatorCommand_GPSDropOut* other);
192
193 private:
194 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
195 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
196 return "jaiabot.protobuf.SimulatorCommand.GPSDropOut";
197 }
198 protected:
199 explicit SimulatorCommand_GPSDropOut(::PROTOBUF_NAMESPACE_ID::Arena* arena,
200 bool is_message_owned = false);
201 public:
202
203 static const ClassData _class_data_;
204 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
205
206 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
207
208 // nested types ----------------------------------------------------
209
210 // accessors -------------------------------------------------------
211
212 enum : int {
214 };
215 // required double dropout_duration = 2 [(.dccl.field) = {
216 bool has_dropout_duration() const;
217 private:
218 bool _internal_has_dropout_duration() const;
219 public:
221 double dropout_duration() const;
222 void set_dropout_duration(double value);
223 private:
224 double _internal_dropout_duration() const;
225 void _internal_set_dropout_duration(double value);
226 public:
227
228 typedef boost::units::time_dimension dropout_duration_dimension;
229
230 typedef boost::units::unit<dropout_duration_dimension,boost::units::si::system> dropout_duration_unit;
231
232 template<typename Quantity >
233 void set_dropout_duration_with_units(Quantity value_w_units)
234 { set_dropout_duration(boost::units::quantity<dropout_duration_unit,double >(value_w_units).value() ); };
235
236 template<typename Quantity >
238 { return Quantity(dropout_duration() * dropout_duration_unit()); };
239
240 boost::units::quantity< dropout_duration_unit,double > dropout_duration_with_units() const
242
243 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.SimulatorCommand.GPSDropOut)
244 private:
245 class _Internal;
246
247 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
248 typedef void InternalArenaConstructable_;
249 typedef void DestructorSkippable_;
250 struct Impl_ {
251 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
252 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
253 double dropout_duration_;
254 };
255 union { Impl_ _impl_; };
256 friend struct ::TableStruct_jaiabot_2fmessages_2fsimulator_2eproto;
257};
258// -------------------------------------------------------------------
259
261 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.SimulatorCommand.StopForwardProgress) */ {
262 public:
265 explicit PROTOBUF_CONSTEXPR SimulatorCommand_StopForwardProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
266
272
274 CopyFrom(from);
275 return *this;
276 }
278 if (this == &from) return *this;
279 if (GetOwningArena() == from.GetOwningArena()
280 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
281 && GetOwningArena() != nullptr
282 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
283 ) {
284 InternalSwap(&from);
285 } else {
286 CopyFrom(from);
287 }
288 return *this;
289 }
290
291 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
292 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
293 }
294 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
295 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
296 }
297
298 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
299 return GetDescriptor();
300 }
301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
302 return default_instance().GetMetadata().descriptor;
303 }
304 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
305 return default_instance().GetMetadata().reflection;
306 }
314 static constexpr int kIndexInFileMessages =
315 1;
316
321 if (other == this) return;
322 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
323 if (GetOwningArena() != nullptr &&
324 GetOwningArena() == other->GetOwningArena()) {
325 #else // PROTOBUF_FORCE_COPY_IN_SWAP
326 if (GetOwningArena() == other->GetOwningArena()) {
327 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
328 InternalSwap(other);
329 } else {
330 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
331 }
332 }
334 if (other == this) return;
335 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
336 InternalSwap(other);
337 }
338
339 // implements Message ----------------------------------------------
340
341 SimulatorCommand_StopForwardProgress* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
342 return CreateMaybeMessage<SimulatorCommand_StopForwardProgress>(arena);
343 }
344 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
346 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
348 SimulatorCommand_StopForwardProgress::MergeImpl(*this, from);
349 }
350 private:
351 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
352 public:
353 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
354 bool IsInitialized() const final;
355
356 size_t ByteSizeLong() const final;
357 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
359 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
360 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
361
362 private:
363 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
364 void SharedDtor();
365 void SetCachedSize(int size) const final;
366 void InternalSwap(SimulatorCommand_StopForwardProgress* other);
367
368 private:
369 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
370 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
371 return "jaiabot.protobuf.SimulatorCommand.StopForwardProgress";
372 }
373 protected:
374 explicit SimulatorCommand_StopForwardProgress(::PROTOBUF_NAMESPACE_ID::Arena* arena,
375 bool is_message_owned = false);
376 public:
377
378 static const ClassData _class_data_;
379 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
380
381 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
382
383 // nested types ----------------------------------------------------
384
385 // accessors -------------------------------------------------------
386
387 enum : int {
389 };
390 // required double duration = 2 [(.dccl.field) = {
391 bool has_duration() const;
392 private:
393 bool _internal_has_duration() const;
394 public:
395 void clear_duration();
396 double duration() const;
397 void set_duration(double value);
398 private:
399 double _internal_duration() const;
400 void _internal_set_duration(double value);
401 public:
402
403 typedef boost::units::time_dimension duration_dimension;
404
405 typedef boost::units::unit<duration_dimension,boost::units::si::system> duration_unit;
406
407 template<typename Quantity >
408 void set_duration_with_units(Quantity value_w_units)
409 { set_duration(boost::units::quantity<duration_unit,double >(value_w_units).value() ); };
410
411 template<typename Quantity >
412 Quantity duration_with_units() const
413 { return Quantity(duration() * duration_unit()); };
414
415 boost::units::quantity< duration_unit,double > duration_with_units() const
417
418 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.SimulatorCommand.StopForwardProgress)
419 private:
420 class _Internal;
421
422 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
423 typedef void InternalArenaConstructable_;
424 typedef void DestructorSkippable_;
425 struct Impl_ {
426 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
427 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
428 double duration_;
429 };
430 union { Impl_ _impl_; };
431 friend struct ::TableStruct_jaiabot_2fmessages_2fsimulator_2eproto;
432};
433// -------------------------------------------------------------------
434
435class SimulatorCommand final :
436 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.SimulatorCommand) */ {
437 public:
438 inline SimulatorCommand() : SimulatorCommand(nullptr) {}
440 explicit PROTOBUF_CONSTEXPR SimulatorCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
441
444 : SimulatorCommand() {
445 *this = ::std::move(from);
446 }
447
449 CopyFrom(from);
450 return *this;
451 }
452 inline SimulatorCommand& operator=(SimulatorCommand&& from) noexcept {
453 if (this == &from) return *this;
454 if (GetOwningArena() == from.GetOwningArena()
455 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
456 && GetOwningArena() != nullptr
457 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
458 ) {
459 InternalSwap(&from);
460 } else {
461 CopyFrom(from);
462 }
463 return *this;
464 }
465
466 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
467 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
468 }
469 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
470 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
471 }
472
473 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
474 return GetDescriptor();
475 }
476 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
477 return default_instance().GetMetadata().descriptor;
478 }
479 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
480 return default_instance().GetMetadata().reflection;
481 }
484 }
490
492 return reinterpret_cast<const SimulatorCommand*>(
494 }
495 static constexpr int kIndexInFileMessages =
496 2;
497
499 a.Swap(&b);
500 }
501 inline void Swap(SimulatorCommand* other) {
502 if (other == this) return;
503 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
504 if (GetOwningArena() != nullptr &&
505 GetOwningArena() == other->GetOwningArena()) {
506 #else // PROTOBUF_FORCE_COPY_IN_SWAP
507 if (GetOwningArena() == other->GetOwningArena()) {
508 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
509 InternalSwap(other);
510 } else {
511 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
512 }
513 }
515 if (other == this) return;
516 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
517 InternalSwap(other);
518 }
519
520 // implements Message ----------------------------------------------
521
522 SimulatorCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
523 return CreateMaybeMessage<SimulatorCommand>(arena);
524 }
525 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
526 void CopyFrom(const SimulatorCommand& from);
527 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
528 void MergeFrom( const SimulatorCommand& from) {
529 SimulatorCommand::MergeImpl(*this, from);
530 }
531 private:
532 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
533 public:
534 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
535 bool IsInitialized() const final;
536
537 size_t ByteSizeLong() const final;
538 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
540 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
541 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
542
543 private:
544 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
545 void SharedDtor();
546 void SetCachedSize(int size) const final;
547 void InternalSwap(SimulatorCommand* other);
548
549 private:
550 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
551 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
552 return "jaiabot.protobuf.SimulatorCommand";
553 }
554 protected:
555 explicit SimulatorCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
556 bool is_message_owned = false);
557 public:
558
559 static const ClassData _class_data_;
560 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
561
562 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
563
564 // nested types ----------------------------------------------------
565
568
569 // accessors -------------------------------------------------------
570
571 enum : int {
574 };
575 // .jaiabot.protobuf.SimulatorCommand.GPSDropOut gps_dropout = 1;
576 bool has_gps_dropout() const;
577 private:
578 bool _internal_has_gps_dropout() const;
579 public:
580 void clear_gps_dropout();
581 const ::jaiabot::protobuf::SimulatorCommand_GPSDropOut& gps_dropout() const;
582 PROTOBUF_NODISCARD ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* release_gps_dropout();
585 private:
586 const ::jaiabot::protobuf::SimulatorCommand_GPSDropOut& _internal_gps_dropout() const;
587 ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* _internal_mutable_gps_dropout();
588 public:
592
593 // .jaiabot.protobuf.SimulatorCommand.StopForwardProgress stop_forward_progress = 2;
594 bool has_stop_forward_progress() const;
595 private:
596 bool _internal_has_stop_forward_progress() const;
597 public:
599 const ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress& stop_forward_progress() const;
600 PROTOBUF_NODISCARD ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* release_stop_forward_progress();
603 private:
604 const ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress& _internal_stop_forward_progress() const;
605 ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* _internal_mutable_stop_forward_progress();
606 public:
610
613 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.SimulatorCommand)
614 private:
615 class _Internal;
616 void set_has_gps_dropout();
617 void set_has_stop_forward_progress();
618
619 inline bool has_command() const;
620 inline void clear_has_command();
621
622 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
623 typedef void InternalArenaConstructable_;
624 typedef void DestructorSkippable_;
625 struct Impl_ {
632 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
633 uint32_t _oneof_case_[1];
634
635 };
636 union { Impl_ _impl_; };
637 friend struct ::TableStruct_jaiabot_2fmessages_2fsimulator_2eproto;
638};
639// -------------------------------------------------------------------
640
641class SimEnvironment final :
642 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:jaiabot.protobuf.SimEnvironment) */ {
643 public:
644 inline SimEnvironment() : SimEnvironment(nullptr) {}
645 ~SimEnvironment() override;
646 explicit PROTOBUF_CONSTEXPR SimEnvironment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
647
650 : SimEnvironment() {
651 *this = ::std::move(from);
652 }
653
655 CopyFrom(from);
656 return *this;
657 }
658 inline SimEnvironment& operator=(SimEnvironment&& from) noexcept {
659 if (this == &from) return *this;
660 if (GetOwningArena() == from.GetOwningArena()
661 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
662 && GetOwningArena() != nullptr
663 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
664 ) {
665 InternalSwap(&from);
666 } else {
667 CopyFrom(from);
668 }
669 return *this;
670 }
671
672 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
673 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
674 }
675 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
676 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
677 }
678
679 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
680 return GetDescriptor();
681 }
682 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
683 return default_instance().GetMetadata().descriptor;
684 }
685 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
686 return default_instance().GetMetadata().reflection;
687 }
690 }
692 return reinterpret_cast<const SimEnvironment*>(
694 }
695 static constexpr int kIndexInFileMessages =
696 3;
697
698 friend void swap(SimEnvironment& a, SimEnvironment& b) {
699 a.Swap(&b);
700 }
701 inline void Swap(SimEnvironment* other) {
702 if (other == this) return;
703 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
704 if (GetOwningArena() != nullptr &&
705 GetOwningArena() == other->GetOwningArena()) {
706 #else // PROTOBUF_FORCE_COPY_IN_SWAP
707 if (GetOwningArena() == other->GetOwningArena()) {
708 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
709 InternalSwap(other);
710 } else {
711 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
712 }
713 }
715 if (other == this) return;
716 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
717 InternalSwap(other);
718 }
719
720 // implements Message ----------------------------------------------
721
722 SimEnvironment* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
723 return CreateMaybeMessage<SimEnvironment>(arena);
724 }
725 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
726 void CopyFrom(const SimEnvironment& from);
727 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
728 void MergeFrom( const SimEnvironment& from) {
729 SimEnvironment::MergeImpl(*this, from);
730 }
731 private:
732 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
733 public:
734 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
735 bool IsInitialized() const final;
736
737 size_t ByteSizeLong() const final;
738 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
740 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
741 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
742
743 private:
744 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
745 void SharedDtor();
746 void SetCachedSize(int size) const final;
747 void InternalSwap(SimEnvironment* other);
748
749 private:
750 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
751 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
752 return "jaiabot.protobuf.SimEnvironment";
753 }
754 protected:
755 explicit SimEnvironment(::PROTOBUF_NAMESPACE_ID::Arena* arena,
756 bool is_message_owned = false);
757 public:
758
759 static const ClassData _class_data_;
760 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
761
762 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
763
764 // nested types ----------------------------------------------------
765
766 // accessors -------------------------------------------------------
767
768 enum : int {
776 };
777 // optional double depth = 1 [(.dccl.field) = {
778 bool has_depth() const;
779 private:
780 bool _internal_has_depth() const;
781 public:
782 void clear_depth();
783 double depth() const;
784 void set_depth(double value);
785 private:
786 double _internal_depth() const;
787 void _internal_set_depth(double value);
788 public:
789
790 // optional double temperature = 2 [(.dccl.field) = {
791 bool has_temperature() const;
792 private:
793 bool _internal_has_temperature() const;
794 public:
795 void clear_temperature();
796 double temperature() const;
797 void set_temperature(double value);
798 private:
799 double _internal_temperature() const;
800 void _internal_set_temperature(double value);
801 public:
802
803 // optional double salinity = 3;
804 bool has_salinity() const;
805 private:
806 bool _internal_has_salinity() const;
807 public:
808 void clear_salinity();
809 double salinity() const;
810 void set_salinity(double value);
811 private:
812 double _internal_salinity() const;
813 void _internal_set_salinity(double value);
814 public:
815
816 // optional double pressure = 4 [(.dccl.field) = {
817 bool has_pressure() const;
818 private:
819 bool _internal_has_pressure() const;
820 public:
821 void clear_pressure();
822 double pressure() const;
823 void set_pressure(double value);
824 private:
825 double _internal_pressure() const;
826 void _internal_set_pressure(double value);
827 public:
828
829 // optional double pitch = 5 [(.dccl.field) = {
830 bool has_pitch() const;
831 private:
832 bool _internal_has_pitch() const;
833 public:
834 void clear_pitch();
835 double pitch() const;
836 void set_pitch(double value);
837 private:
838 double _internal_pitch() const;
839 void _internal_set_pitch(double value);
840 public:
841
842 // optional double roll = 6 [(.dccl.field) = {
843 bool has_roll() const;
844 private:
845 bool _internal_has_roll() const;
846 public:
847 void clear_roll();
848 double roll() const;
849 void set_roll(double value);
850 private:
851 double _internal_roll() const;
852 void _internal_set_roll(double value);
853 public:
854
855 // optional double conductivity = 7;
856 bool has_conductivity() const;
857 private:
858 bool _internal_has_conductivity() const;
859 public:
860 void clear_conductivity();
861 double conductivity() const;
862 void set_conductivity(double value);
863 private:
864 double _internal_conductivity() const;
865 void _internal_set_conductivity(double value);
866 public:
867
868 typedef boost::units::length_dimension depth_dimension;
869
870 typedef boost::units::unit<depth_dimension,boost::units::si::system> depth_unit;
871
872 template<typename Quantity >
873 void set_depth_with_units(Quantity value_w_units)
874 { set_depth(boost::units::quantity<depth_unit,double >(value_w_units).value() ); };
875
876 template<typename Quantity >
877 Quantity depth_with_units() const
878 { return Quantity(depth() * depth_unit()); };
879
880 boost::units::quantity< depth_unit,double > depth_with_units() const
882
883 typedef boost::units::temperature_dimension temperature_dimension;
884
885 typedef boost::units::absolute<boost::units::unit<temperature_dimension,boost::units::celsius::system> > temperature_unit;
886
887 template<typename Quantity >
888 void set_temperature_with_units(Quantity value_w_units)
889 { set_temperature(boost::units::quantity<temperature_unit,double >(value_w_units).value() ); };
890
891 template<typename Quantity >
892 Quantity temperature_with_units() const
893 { return Quantity(temperature() * temperature_unit()); };
894
895 boost::units::quantity< temperature_unit,double > temperature_with_units() const
897
898 typedef boost::units::make_scaled_unit<boost::units::metric::bar_base_unit::unit_type , boost::units::scale<10, boost::units::static_rational<-1> > >::type pressure_unit;
899
900 template<typename Quantity >
901 void set_pressure_with_units(Quantity value_w_units)
902 { set_pressure(boost::units::quantity<pressure_unit,double >(value_w_units).value() ); };
903
904 template<typename Quantity >
905 Quantity pressure_with_units() const
906 { return Quantity(pressure() * pressure_unit()); };
907
908 boost::units::quantity< pressure_unit,double > pressure_with_units() const
910
911 typedef boost::units::plane_angle_dimension pitch_dimension;
912
913 typedef boost::units::unit<pitch_dimension,boost::units::si::system> pitch_unit;
914
915 template<typename Quantity >
916 void set_pitch_with_units(Quantity value_w_units)
917 { set_pitch(boost::units::quantity<pitch_unit,double >(value_w_units).value() ); };
918
919 template<typename Quantity >
920 Quantity pitch_with_units() const
921 { return Quantity(pitch() * pitch_unit()); };
922
923 boost::units::quantity< pitch_unit,double > pitch_with_units() const
925
926 typedef boost::units::plane_angle_dimension roll_dimension;
927
928 typedef boost::units::unit<roll_dimension,boost::units::si::system> roll_unit;
929
930 template<typename Quantity >
931 void set_roll_with_units(Quantity value_w_units)
932 { set_roll(boost::units::quantity<roll_unit,double >(value_w_units).value() ); };
933
934 template<typename Quantity >
935 Quantity roll_with_units() const
936 { return Quantity(roll() * roll_unit()); };
937
938 boost::units::quantity< roll_unit,double > roll_with_units() const
940
941 // @@protoc_insertion_point(class_scope:jaiabot.protobuf.SimEnvironment)
942 private:
943 class _Internal;
944
945 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
946 typedef void InternalArenaConstructable_;
947 typedef void DestructorSkippable_;
948 struct Impl_ {
949 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
950 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
951 double depth_;
952 double temperature_;
953 double salinity_;
954 double pressure_;
955 double pitch_;
956 double roll_;
957 double conductivity_;
958 };
959 union { Impl_ _impl_; };
960 friend struct ::TableStruct_jaiabot_2fmessages_2fsimulator_2eproto;
961};
962// ===================================================================
963
964
965// ===================================================================
966
967#ifdef __GNUC__
968 #pragma GCC diagnostic push
969 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
970#endif // __GNUC__
971// SimulatorCommand_GPSDropOut
972
973// required double dropout_duration = 2 [(.dccl.field) = {
974inline bool SimulatorCommand_GPSDropOut::_internal_has_dropout_duration() const {
975 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
976 return value;
977}
979 return _internal_has_dropout_duration();
980}
982 _impl_.dropout_duration_ = 0;
983 _impl_._has_bits_[0] &= ~0x00000001u;
984}
985inline double SimulatorCommand_GPSDropOut::_internal_dropout_duration() const {
986 return _impl_.dropout_duration_;
987}
989 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimulatorCommand.GPSDropOut.dropout_duration)
990 return _internal_dropout_duration();
991}
992inline void SimulatorCommand_GPSDropOut::_internal_set_dropout_duration(double value) {
993 _impl_._has_bits_[0] |= 0x00000001u;
994 _impl_.dropout_duration_ = value;
995}
997 _internal_set_dropout_duration(value);
998 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimulatorCommand.GPSDropOut.dropout_duration)
999}
1000
1001// -------------------------------------------------------------------
1002
1003// SimulatorCommand_StopForwardProgress
1004
1005// required double duration = 2 [(.dccl.field) = {
1006inline bool SimulatorCommand_StopForwardProgress::_internal_has_duration() const {
1007 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1008 return value;
1009}
1011 return _internal_has_duration();
1012}
1014 _impl_.duration_ = 0;
1015 _impl_._has_bits_[0] &= ~0x00000001u;
1016}
1017inline double SimulatorCommand_StopForwardProgress::_internal_duration() const {
1018 return _impl_.duration_;
1019}
1021 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimulatorCommand.StopForwardProgress.duration)
1022 return _internal_duration();
1023}
1024inline void SimulatorCommand_StopForwardProgress::_internal_set_duration(double value) {
1025 _impl_._has_bits_[0] |= 0x00000001u;
1026 _impl_.duration_ = value;
1027}
1029 _internal_set_duration(value);
1030 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimulatorCommand.StopForwardProgress.duration)
1031}
1032
1033// -------------------------------------------------------------------
1034
1035// SimulatorCommand
1036
1037// .jaiabot.protobuf.SimulatorCommand.GPSDropOut gps_dropout = 1;
1038inline bool SimulatorCommand::_internal_has_gps_dropout() const {
1039 return command_case() == kGpsDropout;
1040}
1042 return _internal_has_gps_dropout();
1043}
1044inline void SimulatorCommand::set_has_gps_dropout() {
1045 _impl_._oneof_case_[0] = kGpsDropout;
1046}
1048 if (_internal_has_gps_dropout()) {
1049 if (GetArenaForAllocation() == nullptr) {
1050 delete _impl_.command_.gps_dropout_;
1051 }
1052 clear_has_command();
1053 }
1054}
1055inline ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* SimulatorCommand::release_gps_dropout() {
1056 // @@protoc_insertion_point(field_release:jaiabot.protobuf.SimulatorCommand.gps_dropout)
1057 if (_internal_has_gps_dropout()) {
1058 clear_has_command();
1059 ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* temp = _impl_.command_.gps_dropout_;
1060 if (GetArenaForAllocation() != nullptr) {
1061 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1062 }
1063 _impl_.command_.gps_dropout_ = nullptr;
1064 return temp;
1065 } else {
1066 return nullptr;
1067 }
1068}
1069inline const ::jaiabot::protobuf::SimulatorCommand_GPSDropOut& SimulatorCommand::_internal_gps_dropout() const {
1070 return _internal_has_gps_dropout()
1071 ? *_impl_.command_.gps_dropout_
1073}
1074inline const ::jaiabot::protobuf::SimulatorCommand_GPSDropOut& SimulatorCommand::gps_dropout() const {
1075 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimulatorCommand.gps_dropout)
1076 return _internal_gps_dropout();
1077}
1078inline ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* SimulatorCommand::unsafe_arena_release_gps_dropout() {
1079 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.SimulatorCommand.gps_dropout)
1080 if (_internal_has_gps_dropout()) {
1081 clear_has_command();
1082 ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* temp = _impl_.command_.gps_dropout_;
1083 _impl_.command_.gps_dropout_ = nullptr;
1084 return temp;
1085 } else {
1086 return nullptr;
1087 }
1088}
1090 clear_command();
1091 if (gps_dropout) {
1092 set_has_gps_dropout();
1093 _impl_.command_.gps_dropout_ = gps_dropout;
1094 }
1095 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.SimulatorCommand.gps_dropout)
1096}
1097inline ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* SimulatorCommand::_internal_mutable_gps_dropout() {
1098 if (!_internal_has_gps_dropout()) {
1099 clear_command();
1100 set_has_gps_dropout();
1101 _impl_.command_.gps_dropout_ = CreateMaybeMessage< ::jaiabot::protobuf::SimulatorCommand_GPSDropOut >(GetArenaForAllocation());
1102 }
1103 return _impl_.command_.gps_dropout_;
1104}
1105inline ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* SimulatorCommand::mutable_gps_dropout() {
1106 ::jaiabot::protobuf::SimulatorCommand_GPSDropOut* _msg = _internal_mutable_gps_dropout();
1107 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.SimulatorCommand.gps_dropout)
1108 return _msg;
1109}
1110
1111// .jaiabot.protobuf.SimulatorCommand.StopForwardProgress stop_forward_progress = 2;
1112inline bool SimulatorCommand::_internal_has_stop_forward_progress() const {
1113 return command_case() == kStopForwardProgress;
1114}
1116 return _internal_has_stop_forward_progress();
1117}
1118inline void SimulatorCommand::set_has_stop_forward_progress() {
1119 _impl_._oneof_case_[0] = kStopForwardProgress;
1120}
1122 if (_internal_has_stop_forward_progress()) {
1123 if (GetArenaForAllocation() == nullptr) {
1124 delete _impl_.command_.stop_forward_progress_;
1125 }
1126 clear_has_command();
1127 }
1128}
1129inline ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* SimulatorCommand::release_stop_forward_progress() {
1130 // @@protoc_insertion_point(field_release:jaiabot.protobuf.SimulatorCommand.stop_forward_progress)
1131 if (_internal_has_stop_forward_progress()) {
1132 clear_has_command();
1133 ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* temp = _impl_.command_.stop_forward_progress_;
1134 if (GetArenaForAllocation() != nullptr) {
1135 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1136 }
1137 _impl_.command_.stop_forward_progress_ = nullptr;
1138 return temp;
1139 } else {
1140 return nullptr;
1141 }
1142}
1143inline const ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress& SimulatorCommand::_internal_stop_forward_progress() const {
1144 return _internal_has_stop_forward_progress()
1145 ? *_impl_.command_.stop_forward_progress_
1147}
1148inline const ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress& SimulatorCommand::stop_forward_progress() const {
1149 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimulatorCommand.stop_forward_progress)
1150 return _internal_stop_forward_progress();
1151}
1152inline ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* SimulatorCommand::unsafe_arena_release_stop_forward_progress() {
1153 // @@protoc_insertion_point(field_unsafe_arena_release:jaiabot.protobuf.SimulatorCommand.stop_forward_progress)
1154 if (_internal_has_stop_forward_progress()) {
1155 clear_has_command();
1156 ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* temp = _impl_.command_.stop_forward_progress_;
1157 _impl_.command_.stop_forward_progress_ = nullptr;
1158 return temp;
1159 } else {
1160 return nullptr;
1161 }
1162}
1164 clear_command();
1166 set_has_stop_forward_progress();
1167 _impl_.command_.stop_forward_progress_ = stop_forward_progress;
1168 }
1169 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:jaiabot.protobuf.SimulatorCommand.stop_forward_progress)
1170}
1171inline ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* SimulatorCommand::_internal_mutable_stop_forward_progress() {
1172 if (!_internal_has_stop_forward_progress()) {
1173 clear_command();
1174 set_has_stop_forward_progress();
1175 _impl_.command_.stop_forward_progress_ = CreateMaybeMessage< ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress >(GetArenaForAllocation());
1176 }
1177 return _impl_.command_.stop_forward_progress_;
1178}
1179inline ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* SimulatorCommand::mutable_stop_forward_progress() {
1180 ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress* _msg = _internal_mutable_stop_forward_progress();
1181 // @@protoc_insertion_point(field_mutable:jaiabot.protobuf.SimulatorCommand.stop_forward_progress)
1182 return _msg;
1183}
1184
1185inline bool SimulatorCommand::has_command() const {
1186 return command_case() != COMMAND_NOT_SET;
1187}
1188inline void SimulatorCommand::clear_has_command() {
1189 _impl_._oneof_case_[0] = COMMAND_NOT_SET;
1190}
1194// -------------------------------------------------------------------
1195
1196// SimEnvironment
1197
1198// optional double depth = 1 [(.dccl.field) = {
1199inline bool SimEnvironment::_internal_has_depth() const {
1200 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1201 return value;
1202}
1203inline bool SimEnvironment::has_depth() const {
1204 return _internal_has_depth();
1205}
1207 _impl_.depth_ = 0;
1208 _impl_._has_bits_[0] &= ~0x00000001u;
1209}
1210inline double SimEnvironment::_internal_depth() const {
1211 return _impl_.depth_;
1212}
1213inline double SimEnvironment::depth() const {
1214 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.depth)
1215 return _internal_depth();
1216}
1217inline void SimEnvironment::_internal_set_depth(double value) {
1218 _impl_._has_bits_[0] |= 0x00000001u;
1219 _impl_.depth_ = value;
1220}
1221inline void SimEnvironment::set_depth(double value) {
1222 _internal_set_depth(value);
1223 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.depth)
1224}
1225
1226// optional double temperature = 2 [(.dccl.field) = {
1227inline bool SimEnvironment::_internal_has_temperature() const {
1228 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1229 return value;
1230}
1232 return _internal_has_temperature();
1233}
1235 _impl_.temperature_ = 0;
1236 _impl_._has_bits_[0] &= ~0x00000002u;
1237}
1238inline double SimEnvironment::_internal_temperature() const {
1239 return _impl_.temperature_;
1240}
1241inline double SimEnvironment::temperature() const {
1242 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.temperature)
1243 return _internal_temperature();
1244}
1245inline void SimEnvironment::_internal_set_temperature(double value) {
1246 _impl_._has_bits_[0] |= 0x00000002u;
1247 _impl_.temperature_ = value;
1248}
1249inline void SimEnvironment::set_temperature(double value) {
1250 _internal_set_temperature(value);
1251 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.temperature)
1252}
1253
1254// optional double salinity = 3;
1255inline bool SimEnvironment::_internal_has_salinity() const {
1256 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1257 return value;
1258}
1259inline bool SimEnvironment::has_salinity() const {
1260 return _internal_has_salinity();
1261}
1263 _impl_.salinity_ = 0;
1264 _impl_._has_bits_[0] &= ~0x00000004u;
1265}
1266inline double SimEnvironment::_internal_salinity() const {
1267 return _impl_.salinity_;
1268}
1269inline double SimEnvironment::salinity() const {
1270 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.salinity)
1271 return _internal_salinity();
1272}
1273inline void SimEnvironment::_internal_set_salinity(double value) {
1274 _impl_._has_bits_[0] |= 0x00000004u;
1275 _impl_.salinity_ = value;
1276}
1277inline void SimEnvironment::set_salinity(double value) {
1278 _internal_set_salinity(value);
1279 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.salinity)
1280}
1281
1282// optional double pressure = 4 [(.dccl.field) = {
1283inline bool SimEnvironment::_internal_has_pressure() const {
1284 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1285 return value;
1286}
1287inline bool SimEnvironment::has_pressure() const {
1288 return _internal_has_pressure();
1289}
1291 _impl_.pressure_ = 0;
1292 _impl_._has_bits_[0] &= ~0x00000008u;
1293}
1294inline double SimEnvironment::_internal_pressure() const {
1295 return _impl_.pressure_;
1296}
1297inline double SimEnvironment::pressure() const {
1298 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.pressure)
1299 return _internal_pressure();
1300}
1301inline void SimEnvironment::_internal_set_pressure(double value) {
1302 _impl_._has_bits_[0] |= 0x00000008u;
1303 _impl_.pressure_ = value;
1304}
1305inline void SimEnvironment::set_pressure(double value) {
1306 _internal_set_pressure(value);
1307 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.pressure)
1308}
1309
1310// optional double pitch = 5 [(.dccl.field) = {
1311inline bool SimEnvironment::_internal_has_pitch() const {
1312 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1313 return value;
1314}
1315inline bool SimEnvironment::has_pitch() const {
1316 return _internal_has_pitch();
1317}
1319 _impl_.pitch_ = 0;
1320 _impl_._has_bits_[0] &= ~0x00000010u;
1321}
1322inline double SimEnvironment::_internal_pitch() const {
1323 return _impl_.pitch_;
1324}
1325inline double SimEnvironment::pitch() const {
1326 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.pitch)
1327 return _internal_pitch();
1328}
1329inline void SimEnvironment::_internal_set_pitch(double value) {
1330 _impl_._has_bits_[0] |= 0x00000010u;
1331 _impl_.pitch_ = value;
1332}
1333inline void SimEnvironment::set_pitch(double value) {
1334 _internal_set_pitch(value);
1335 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.pitch)
1336}
1337
1338// optional double roll = 6 [(.dccl.field) = {
1339inline bool SimEnvironment::_internal_has_roll() const {
1340 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1341 return value;
1342}
1343inline bool SimEnvironment::has_roll() const {
1344 return _internal_has_roll();
1345}
1347 _impl_.roll_ = 0;
1348 _impl_._has_bits_[0] &= ~0x00000020u;
1349}
1350inline double SimEnvironment::_internal_roll() const {
1351 return _impl_.roll_;
1352}
1353inline double SimEnvironment::roll() const {
1354 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.roll)
1355 return _internal_roll();
1356}
1357inline void SimEnvironment::_internal_set_roll(double value) {
1358 _impl_._has_bits_[0] |= 0x00000020u;
1359 _impl_.roll_ = value;
1360}
1361inline void SimEnvironment::set_roll(double value) {
1362 _internal_set_roll(value);
1363 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.roll)
1364}
1365
1366// optional double conductivity = 7;
1367inline bool SimEnvironment::_internal_has_conductivity() const {
1368 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1369 return value;
1370}
1372 return _internal_has_conductivity();
1373}
1375 _impl_.conductivity_ = 0;
1376 _impl_._has_bits_[0] &= ~0x00000040u;
1377}
1378inline double SimEnvironment::_internal_conductivity() const {
1379 return _impl_.conductivity_;
1380}
1381inline double SimEnvironment::conductivity() const {
1382 // @@protoc_insertion_point(field_get:jaiabot.protobuf.SimEnvironment.conductivity)
1383 return _internal_conductivity();
1384}
1385inline void SimEnvironment::_internal_set_conductivity(double value) {
1386 _impl_._has_bits_[0] |= 0x00000040u;
1387 _impl_.conductivity_ = value;
1388}
1389inline void SimEnvironment::set_conductivity(double value) {
1390 _internal_set_conductivity(value);
1391 // @@protoc_insertion_point(field_set:jaiabot.protobuf.SimEnvironment.conductivity)
1392}
1393
1394#ifdef __GNUC__
1395 #pragma GCC diagnostic pop
1396#endif // __GNUC__
1397// -------------------------------------------------------------------
1398
1399// -------------------------------------------------------------------
1400
1401// -------------------------------------------------------------------
1402
1403
1404// @@protoc_insertion_point(namespace_scope)
1405
1406} // namespace protobuf
1407} // namespace jaiabot
1408
1409// @@protoc_insertion_point(global_scope)
1410
1411#include <google/protobuf/port_undef.inc>
1412#endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_jaiabot_2fmessages_2fsimulator_2eproto
boost::units::make_scaled_unit< boost::units::metric::bar_base_unit::unit_type, boost::units::scale< 10, boost::units::static_rational<-1 > > >::type pressure_unit
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void Swap(SimEnvironment *other)
static const SimEnvironment * internal_default_instance()
boost::units::unit< roll_dimension, boost::units::si::system > roll_unit
boost::units::unit< pitch_dimension, boost::units::si::system > pitch_unit
SimEnvironment & operator=(const SimEnvironment &from)
boost::units::quantity< depth_unit, double > depth_with_units() const
boost::units::quantity< pressure_unit, double > pressure_with_units() const
boost::units::quantity< pitch_unit, double > pitch_with_units() const
friend void swap(SimEnvironment &a, SimEnvironment &b)
void set_temperature_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
boost::units::quantity< roll_unit, double > roll_with_units() const
void MergeFrom(const SimEnvironment &from)
bool IsInitialized() const final
boost::units::plane_angle_dimension pitch_dimension
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
boost::units::length_dimension depth_dimension
PROTOBUF_CONSTEXPR SimEnvironment(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_depth_with_units(Quantity value_w_units)
void UnsafeArenaSwap(SimEnvironment *other)
static const SimEnvironment & default_instance()
Quantity temperature_with_units() const
SimEnvironment & operator=(SimEnvironment &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
void CopyFrom(const SimEnvironment &from)
SimEnvironment(SimEnvironment &&from) noexcept
SimEnvironment(const SimEnvironment &from)
void set_roll_with_units(Quantity value_w_units)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
boost::units::plane_angle_dimension roll_dimension
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void set_pitch_with_units(Quantity value_w_units)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
SimEnvironment(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static constexpr int kIndexInFileMessages
static const ClassData _class_data_
boost::units::absolute< boost::units::unit< temperature_dimension, boost::units::celsius::system > > temperature_unit
boost::units::quantity< temperature_unit, double > temperature_with_units() const
size_t ByteSizeLong() const final
void set_pressure_with_units(Quantity value_w_units)
SimEnvironment * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::unit< depth_dimension, boost::units::si::system > depth_unit
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::temperature_dimension temperature_dimension
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
boost::units::quantity< dropout_duration_unit, double > dropout_duration_with_units() const
SimulatorCommand_GPSDropOut(SimulatorCommand_GPSDropOut &&from) noexcept
static const SimulatorCommand_GPSDropOut * internal_default_instance()
friend void swap(SimulatorCommand_GPSDropOut &a, SimulatorCommand_GPSDropOut &b)
SimulatorCommand_GPSDropOut & operator=(SimulatorCommand_GPSDropOut &&from) noexcept
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
void UnsafeArenaSwap(SimulatorCommand_GPSDropOut *other)
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
static const SimulatorCommand_GPSDropOut & default_instance()
void Swap(SimulatorCommand_GPSDropOut *other)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
PROTOBUF_CONSTEXPR SimulatorCommand_GPSDropOut(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
SimulatorCommand_GPSDropOut(const SimulatorCommand_GPSDropOut &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
void set_dropout_duration_with_units(Quantity value_w_units)
boost::units::unit< dropout_duration_dimension, boost::units::si::system > dropout_duration_unit
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
SimulatorCommand_GPSDropOut & operator=(const SimulatorCommand_GPSDropOut &from)
void CopyFrom(const SimulatorCommand_GPSDropOut &from)
SimulatorCommand_GPSDropOut * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
boost::units::time_dimension dropout_duration_dimension
void MergeFrom(const SimulatorCommand_GPSDropOut &from)
SimulatorCommand_GPSDropOut(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
SimulatorCommand_StopForwardProgress(const SimulatorCommand_StopForwardProgress &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
static const SimulatorCommand_StopForwardProgress * internal_default_instance()
SimulatorCommand_StopForwardProgress & operator=(const SimulatorCommand_StopForwardProgress &from)
boost::units::unit< duration_dimension, boost::units::si::system > duration_unit
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
void UnsafeArenaSwap(SimulatorCommand_StopForwardProgress *other)
SimulatorCommand_StopForwardProgress(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
static const SimulatorCommand_StopForwardProgress & default_instance()
SimulatorCommand_StopForwardProgress & operator=(SimulatorCommand_StopForwardProgress &&from) noexcept
void CopyFrom(const SimulatorCommand_StopForwardProgress &from)
PROTOBUF_CONSTEXPR SimulatorCommand_StopForwardProgress(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
SimulatorCommand_StopForwardProgress * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
friend void swap(SimulatorCommand_StopForwardProgress &a, SimulatorCommand_StopForwardProgress &b)
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
void Swap(SimulatorCommand_StopForwardProgress *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void MergeFrom(const SimulatorCommand_StopForwardProgress &from)
SimulatorCommand_StopForwardProgress(SimulatorCommand_StopForwardProgress &&from) noexcept
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
boost::units::quantity< duration_unit, double > duration_with_units() const
static constexpr int kIndexInFileMessages
void set_allocated_stop_forward_progress(::jaiabot::protobuf::SimulatorCommand_StopForwardProgress *stop_forward_progress)
PROTOBUF_NODISCARD::jaiabot::protobuf::SimulatorCommand_GPSDropOut * release_gps_dropout()
SimulatorCommand * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
void UnsafeArenaSwap(SimulatorCommand *other)
PROTOBUF_NODISCARD::jaiabot::protobuf::SimulatorCommand_StopForwardProgress * release_stop_forward_progress()
SimulatorCommand_StopForwardProgress StopForwardProgress
inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet * mutable_unknown_fields()
::jaiabot::protobuf::SimulatorCommand_StopForwardProgress * unsafe_arena_release_stop_forward_progress()
uint8_t * _InternalSerialize(uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
const ::jaiabot::protobuf::SimulatorCommand_GPSDropOut & gps_dropout() const
void CopyFrom(const SimulatorCommand &from)
SimulatorCommand_GPSDropOut GPSDropOut
SimulatorCommand & operator=(SimulatorCommand &&from) noexcept
const char * _InternalParse(const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
::jaiabot::protobuf::SimulatorCommand_GPSDropOut * unsafe_arena_release_gps_dropout()
size_t ByteSizeLong() const final
SimulatorCommand(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
::jaiabot::protobuf::SimulatorCommand_StopForwardProgress * mutable_stop_forward_progress()
::jaiabot::protobuf::SimulatorCommand_GPSDropOut * mutable_gps_dropout()
SimulatorCommand & operator=(const SimulatorCommand &from)
SimulatorCommand(SimulatorCommand &&from) noexcept
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const SimulatorCommand & default_instance()
SimulatorCommand(const SimulatorCommand &from)
const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet & unknown_fields() const
PROTOBUF_CONSTEXPR SimulatorCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
const ::jaiabot::protobuf::SimulatorCommand_StopForwardProgress & stop_forward_progress() const
friend void swap(SimulatorCommand &a, SimulatorCommand &b)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
void MergeFrom(const SimulatorCommand &from)
void unsafe_arena_set_allocated_stop_forward_progress(::jaiabot::protobuf::SimulatorCommand_StopForwardProgress *stop_forward_progress)
static const SimulatorCommand * internal_default_instance()
void Swap(SimulatorCommand *other)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
void set_allocated_gps_dropout(::jaiabot::protobuf::SimulatorCommand_GPSDropOut *gps_dropout)
static const ClassData _class_data_
void unsafe_arena_set_allocated_gps_dropout(::jaiabot::protobuf::SimulatorCommand_GPSDropOut *gps_dropout)
SimulatorCommand_StopForwardProgressDefaultTypeInternal _SimulatorCommand_StopForwardProgress_default_instance_
SimulatorCommandDefaultTypeInternal _SimulatorCommand_default_instance_
SimulatorCommand_GPSDropOutDefaultTypeInternal _SimulatorCommand_GPSDropOut_default_instance_
SimEnvironmentDefaultTypeInternal _SimEnvironment_default_instance_
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_jaiabot_2fmessages_2fsimulator_2eproto
::jaiabot::protobuf::SimulatorCommand_GPSDropOut * gps_dropout_
::jaiabot::protobuf::SimulatorCommand_StopForwardProgress * stop_forward_progress_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_