Ignition Msgs

API Reference

5.8.1
hydra.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/hydra.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
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 3019000 < 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_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/unknown_field_set.h>
34 #include "ignition/msgs/pose.pb.h"
36 #ifndef _MSC_VER
37 #pragma GCC system_header
38 #else
39 #pragma warning(push)
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #endif
42 #ifdef __linux__
43 #include <sys/sysmacros.h>
44 #endif
45 #include <memory>
46 #include <ignition/msgs/Export.hh>
47 // @@protoc_insertion_point(includes)
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fhydra_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
51 namespace internal {
52 class AnyMetadata;
53 } // namespace internal
54 PROTOBUF_NAMESPACE_CLOSE
55 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fhydra_2eproto {
58  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
60  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
62  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
63  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
64  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66  static const uint32_t offsets[];
67 };
68 IGNITION_MSGS_VISIBLE extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fhydra_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Hydra;
72 struct HydraDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern HydraDefaultTypeInternal _Hydra_default_instance_;
74 class Hydra_Paddle;
75 struct Hydra_PaddleDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern Hydra_PaddleDefaultTypeInternal _Hydra_Paddle_default_instance_;
77 } // namespace msgs
78 } // namespace ignition
79 PROTOBUF_NAMESPACE_OPEN
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Hydra* Arena::CreateMaybeMessage<::ignition::msgs::Hydra>(Arena*);
81 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Hydra_Paddle* Arena::CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(Arena*);
82 PROTOBUF_NAMESPACE_CLOSE
83 namespace ignition {
84 namespace msgs {
85 
86 // ===================================================================
87 
88 class IGNITION_MSGS_VISIBLE Hydra_Paddle final :
89  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Hydra.Paddle) */ {
90  public:
91  inline Hydra_Paddle() : Hydra_Paddle(nullptr) {}
92  ~Hydra_Paddle() override;
93  explicit constexpr Hydra_Paddle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 
95  Hydra_Paddle(const Hydra_Paddle& from);
96  Hydra_Paddle(Hydra_Paddle&& from) noexcept
97  : Hydra_Paddle() {
98  *this = ::std::move(from);
99  }
100 
101  inline Hydra_Paddle& operator=(const Hydra_Paddle& from) {
102  CopyFrom(from);
103  return *this;
104  }
105  inline Hydra_Paddle& operator=(Hydra_Paddle&& from) noexcept {
106  if (this == &from) return *this;
107  if (GetOwningArena() == from.GetOwningArena()
108  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
109  && GetOwningArena() != nullptr
110  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
111  ) {
112  InternalSwap(&from);
113  } else {
114  CopyFrom(from);
115  }
116  return *this;
117  }
118 
119  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
120  return GetDescriptor();
121  }
122  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
123  return default_instance().GetMetadata().descriptor;
124  }
125  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
126  return default_instance().GetMetadata().reflection;
127  }
128  static const Hydra_Paddle& default_instance() {
129  return *internal_default_instance();
130  }
131  static inline const Hydra_Paddle* internal_default_instance() {
132  return reinterpret_cast<const Hydra_Paddle*>(
134  }
135  static constexpr int kIndexInFileMessages =
136  0;
137 
138  friend void swap(Hydra_Paddle& a, Hydra_Paddle& b) {
139  a.Swap(&b);
140  }
141  inline void Swap(Hydra_Paddle* other) {
142  if (other == this) return;
143  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
144  if (GetOwningArena() != nullptr &&
145  GetOwningArena() == other->GetOwningArena()) {
146  #else // PROTOBUF_FORCE_COPY_IN_SWAP
147  if (GetOwningArena() == other->GetOwningArena()) {
148  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
149  InternalSwap(other);
150  } else {
151  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
152  }
153  }
155  if (other == this) return;
156  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157  InternalSwap(other);
158  }
159 
160  // implements Message ----------------------------------------------
161 
162  Hydra_Paddle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
163  return CreateMaybeMessage<Hydra_Paddle>(arena);
164  }
165  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
166  void CopyFrom(const Hydra_Paddle& from);
167  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
168  void MergeFrom(const Hydra_Paddle& from);
169  private:
170  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
171  public:
172  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
173  bool IsInitialized() const final;
174 
175  size_t ByteSizeLong() const final;
176  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
177  uint8_t* _InternalSerialize(
178  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
179  int GetCachedSize() const final { return _cached_size_.Get(); }
180 
181  private:
182  void SharedCtor();
183  void SharedDtor();
184  void SetCachedSize(int size) const final;
185  void InternalSwap(Hydra_Paddle* other);
186 
187  private:
188  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
189  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
190  return "ignition.msgs.Hydra.Paddle";
191  }
192  protected:
193  explicit Hydra_Paddle(::PROTOBUF_NAMESPACE_ID::Arena* arena,
194  bool is_message_owned = false);
195  private:
196  static void ArenaDtor(void* object);
197  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
198  public:
199 
200  static const ClassData _class_data_;
201  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
202 
203  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
204 
205  // nested types ----------------------------------------------------
206 
207  // accessors -------------------------------------------------------
208 
209  enum : int {
210  kPoseFieldNumber = 1,
211  kButtonBumperFieldNumber = 2,
212  kButton1FieldNumber = 3,
213  kButton2FieldNumber = 4,
214  kButton3FieldNumber = 5,
215  kButton4FieldNumber = 6,
216  kButtonJoyFieldNumber = 7,
217  kButtonCenterFieldNumber = 8,
218  kJoyXFieldNumber = 9,
219  kJoyYFieldNumber = 10,
220  kTriggerFieldNumber = 11,
221  };
222  // .ignition.msgs.Pose pose = 1;
223  bool has_pose() const;
224  private:
225  bool _internal_has_pose() const;
226  public:
227  void clear_pose();
228  const ::ignition::msgs::Pose& pose() const;
229  PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
230  ::ignition::msgs::Pose* mutable_pose();
231  void set_allocated_pose(::ignition::msgs::Pose* pose);
232  private:
233  const ::ignition::msgs::Pose& _internal_pose() const;
234  ::ignition::msgs::Pose* _internal_mutable_pose();
235  public:
236  void unsafe_arena_set_allocated_pose(
237  ::ignition::msgs::Pose* pose);
238  ::ignition::msgs::Pose* unsafe_arena_release_pose();
239 
240  // bool button_bumper = 2;
241  void clear_button_bumper();
242  bool button_bumper() const;
243  void set_button_bumper(bool value);
244  private:
245  bool _internal_button_bumper() const;
246  void _internal_set_button_bumper(bool value);
247  public:
248 
249  // bool button_1 = 3;
250  void clear_button_1();
251  bool button_1() const;
252  void set_button_1(bool value);
253  private:
254  bool _internal_button_1() const;
255  void _internal_set_button_1(bool value);
256  public:
257 
258  // bool button_2 = 4;
259  void clear_button_2();
260  bool button_2() const;
261  void set_button_2(bool value);
262  private:
263  bool _internal_button_2() const;
264  void _internal_set_button_2(bool value);
265  public:
266 
267  // bool button_3 = 5;
268  void clear_button_3();
269  bool button_3() const;
270  void set_button_3(bool value);
271  private:
272  bool _internal_button_3() const;
273  void _internal_set_button_3(bool value);
274  public:
275 
276  // bool button_4 = 6;
277  void clear_button_4();
278  bool button_4() const;
279  void set_button_4(bool value);
280  private:
281  bool _internal_button_4() const;
282  void _internal_set_button_4(bool value);
283  public:
284 
285  // bool button_joy = 7;
286  void clear_button_joy();
287  bool button_joy() const;
288  void set_button_joy(bool value);
289  private:
290  bool _internal_button_joy() const;
291  void _internal_set_button_joy(bool value);
292  public:
293 
294  // bool button_center = 8;
295  void clear_button_center();
296  bool button_center() const;
297  void set_button_center(bool value);
298  private:
299  bool _internal_button_center() const;
300  void _internal_set_button_center(bool value);
301  public:
302 
303  // double joy_x = 9;
304  void clear_joy_x();
305  double joy_x() const;
306  void set_joy_x(double value);
307  private:
308  double _internal_joy_x() const;
309  void _internal_set_joy_x(double value);
310  public:
311 
312  // double joy_y = 10;
313  void clear_joy_y();
314  double joy_y() const;
315  void set_joy_y(double value);
316  private:
317  double _internal_joy_y() const;
318  void _internal_set_joy_y(double value);
319  public:
320 
321  // double trigger = 11;
322  void clear_trigger();
323  double trigger() const;
324  void set_trigger(double value);
325  private:
326  double _internal_trigger() const;
327  void _internal_set_trigger(double value);
328  public:
329 
330  // @@protoc_insertion_point(class_scope:ignition.msgs.Hydra.Paddle)
331  private:
332  class _Internal;
333 
334  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
335  typedef void InternalArenaConstructable_;
336  typedef void DestructorSkippable_;
337  ::ignition::msgs::Pose* pose_;
338  bool button_bumper_;
339  bool button_1_;
340  bool button_2_;
341  bool button_3_;
342  bool button_4_;
343  bool button_joy_;
344  bool button_center_;
345  double joy_x_;
346  double joy_y_;
347  double trigger_;
348  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
349  friend struct ::TableStruct_ignition_2fmsgs_2fhydra_2eproto;
350 };
351 // -------------------------------------------------------------------
352 
353 class IGNITION_MSGS_VISIBLE Hydra final :
354  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Hydra) */ {
355  public:
356  inline Hydra() : Hydra(nullptr) {}
357  ~Hydra() override;
358  explicit constexpr Hydra(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
359 
360  Hydra(const Hydra& from);
361  Hydra(Hydra&& from) noexcept
362  : Hydra() {
363  *this = ::std::move(from);
364  }
365 
366  inline Hydra& operator=(const Hydra& from) {
367  CopyFrom(from);
368  return *this;
369  }
370  inline Hydra& operator=(Hydra&& from) noexcept {
371  if (this == &from) return *this;
372  if (GetOwningArena() == from.GetOwningArena()
373  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
374  && GetOwningArena() != nullptr
375  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
376  ) {
377  InternalSwap(&from);
378  } else {
379  CopyFrom(from);
380  }
381  return *this;
382  }
383 
384  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
385  return GetDescriptor();
386  }
387  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
388  return default_instance().GetMetadata().descriptor;
389  }
390  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
391  return default_instance().GetMetadata().reflection;
392  }
393  static const Hydra& default_instance() {
394  return *internal_default_instance();
395  }
396  static inline const Hydra* internal_default_instance() {
397  return reinterpret_cast<const Hydra*>(
399  }
400  static constexpr int kIndexInFileMessages =
401  1;
402 
403  friend void swap(Hydra& a, Hydra& b) {
404  a.Swap(&b);
405  }
406  inline void Swap(Hydra* other) {
407  if (other == this) return;
408  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
409  if (GetOwningArena() != nullptr &&
410  GetOwningArena() == other->GetOwningArena()) {
411  #else // PROTOBUF_FORCE_COPY_IN_SWAP
412  if (GetOwningArena() == other->GetOwningArena()) {
413  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
414  InternalSwap(other);
415  } else {
416  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
417  }
418  }
419  void UnsafeArenaSwap(Hydra* other) {
420  if (other == this) return;
421  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
422  InternalSwap(other);
423  }
424 
425  // implements Message ----------------------------------------------
426 
427  Hydra* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
428  return CreateMaybeMessage<Hydra>(arena);
429  }
430  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
431  void CopyFrom(const Hydra& from);
432  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
433  void MergeFrom(const Hydra& from);
434  private:
435  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
436  public:
437  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
438  bool IsInitialized() const final;
439 
440  size_t ByteSizeLong() const final;
441  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
442  uint8_t* _InternalSerialize(
443  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
444  int GetCachedSize() const final { return _cached_size_.Get(); }
445 
446  private:
447  void SharedCtor();
448  void SharedDtor();
449  void SetCachedSize(int size) const final;
450  void InternalSwap(Hydra* other);
451 
452  private:
453  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
454  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
455  return "ignition.msgs.Hydra";
456  }
457  protected:
458  explicit Hydra(::PROTOBUF_NAMESPACE_ID::Arena* arena,
459  bool is_message_owned = false);
460  private:
461  static void ArenaDtor(void* object);
462  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
463  public:
464 
465  static const ClassData _class_data_;
466  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
467 
468  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
469 
470  // nested types ----------------------------------------------------
471 
473 
474  // accessors -------------------------------------------------------
475 
476  enum : int {
477  kHeaderFieldNumber = 1,
478  kRightFieldNumber = 2,
479  kLeftFieldNumber = 3,
480  };
481  // .ignition.msgs.Header header = 1;
482  bool has_header() const;
483  private:
484  bool _internal_has_header() const;
485  public:
486  void clear_header();
487  const ::ignition::msgs::Header& header() const;
488  PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
489  ::ignition::msgs::Header* mutable_header();
490  void set_allocated_header(::ignition::msgs::Header* header);
491  private:
492  const ::ignition::msgs::Header& _internal_header() const;
493  ::ignition::msgs::Header* _internal_mutable_header();
494  public:
495  void unsafe_arena_set_allocated_header(
496  ::ignition::msgs::Header* header);
497  ::ignition::msgs::Header* unsafe_arena_release_header();
498 
499  // .ignition.msgs.Hydra.Paddle right = 2;
500  bool has_right() const;
501  private:
502  bool _internal_has_right() const;
503  public:
504  void clear_right();
505  const ::ignition::msgs::Hydra_Paddle& right() const;
506  PROTOBUF_NODISCARD ::ignition::msgs::Hydra_Paddle* release_right();
507  ::ignition::msgs::Hydra_Paddle* mutable_right();
508  void set_allocated_right(::ignition::msgs::Hydra_Paddle* right);
509  private:
510  const ::ignition::msgs::Hydra_Paddle& _internal_right() const;
511  ::ignition::msgs::Hydra_Paddle* _internal_mutable_right();
512  public:
513  void unsafe_arena_set_allocated_right(
515  ::ignition::msgs::Hydra_Paddle* unsafe_arena_release_right();
516 
517  // .ignition.msgs.Hydra.Paddle left = 3;
518  bool has_left() const;
519  private:
520  bool _internal_has_left() const;
521  public:
522  void clear_left();
523  const ::ignition::msgs::Hydra_Paddle& left() const;
524  PROTOBUF_NODISCARD ::ignition::msgs::Hydra_Paddle* release_left();
525  ::ignition::msgs::Hydra_Paddle* mutable_left();
526  void set_allocated_left(::ignition::msgs::Hydra_Paddle* left);
527  private:
528  const ::ignition::msgs::Hydra_Paddle& _internal_left() const;
529  ::ignition::msgs::Hydra_Paddle* _internal_mutable_left();
530  public:
531  void unsafe_arena_set_allocated_left(
533  ::ignition::msgs::Hydra_Paddle* unsafe_arena_release_left();
534 
535  // @@protoc_insertion_point(class_scope:ignition.msgs.Hydra)
536  private:
537  class _Internal;
538 
539  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
540  typedef void InternalArenaConstructable_;
541  typedef void DestructorSkippable_;
542  ::ignition::msgs::Header* header_;
545  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
546  friend struct ::TableStruct_ignition_2fmsgs_2fhydra_2eproto;
547 };
548 // ===================================================================
549 
550 
551 // ===================================================================
552 
553 #ifdef __GNUC__
554  #pragma GCC diagnostic push
555  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
556 #endif // __GNUC__
557 // Hydra_Paddle
558 
559 // .ignition.msgs.Pose pose = 1;
560 inline bool Hydra_Paddle::_internal_has_pose() const {
561  return this != internal_default_instance() && pose_ != nullptr;
562 }
563 inline bool Hydra_Paddle::has_pose() const {
564  return _internal_has_pose();
565 }
566 inline const ::ignition::msgs::Pose& Hydra_Paddle::_internal_pose() const {
567  const ::ignition::msgs::Pose* p = pose_;
568  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
570 }
571 inline const ::ignition::msgs::Pose& Hydra_Paddle::pose() const {
572  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.pose)
573  return _internal_pose();
574 }
576  ::ignition::msgs::Pose* pose) {
577  if (GetArenaForAllocation() == nullptr) {
578  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
579  }
580  pose_ = pose;
581  if (pose) {
582 
583  } else {
584 
585  }
586  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Hydra.Paddle.pose)
587 }
588 inline ::ignition::msgs::Pose* Hydra_Paddle::release_pose() {
589 
590  ::ignition::msgs::Pose* temp = pose_;
591  pose_ = nullptr;
592 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
593  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
594  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
595  if (GetArenaForAllocation() == nullptr) { delete old; }
596 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
597  if (GetArenaForAllocation() != nullptr) {
598  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
599  }
600 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
601  return temp;
602 }
603 inline ::ignition::msgs::Pose* Hydra_Paddle::unsafe_arena_release_pose() {
604  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.Paddle.pose)
605 
606  ::ignition::msgs::Pose* temp = pose_;
607  pose_ = nullptr;
608  return temp;
609 }
610 inline ::ignition::msgs::Pose* Hydra_Paddle::_internal_mutable_pose() {
611 
612  if (pose_ == nullptr) {
613  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
614  pose_ = p;
615  }
616  return pose_;
617 }
618 inline ::ignition::msgs::Pose* Hydra_Paddle::mutable_pose() {
619  ::ignition::msgs::Pose* _msg = _internal_mutable_pose();
620  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.Paddle.pose)
621  return _msg;
622 }
624  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
625  if (message_arena == nullptr) {
626  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
627  }
628  if (pose) {
629  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
630  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
631  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
632  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose));
633  if (message_arena != submessage_arena) {
634  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
635  message_arena, pose, submessage_arena);
636  }
637 
638  } else {
639 
640  }
641  pose_ = pose;
642  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.Paddle.pose)
643 }
644 
645 // bool button_bumper = 2;
647  button_bumper_ = false;
648 }
649 inline bool Hydra_Paddle::_internal_button_bumper() const {
650  return button_bumper_;
651 }
652 inline bool Hydra_Paddle::button_bumper() const {
653  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_bumper)
654  return _internal_button_bumper();
655 }
656 inline void Hydra_Paddle::_internal_set_button_bumper(bool value) {
657 
658  button_bumper_ = value;
659 }
660 inline void Hydra_Paddle::set_button_bumper(bool value) {
661  _internal_set_button_bumper(value);
662  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_bumper)
663 }
664 
665 // bool button_1 = 3;
667  button_1_ = false;
668 }
669 inline bool Hydra_Paddle::_internal_button_1() const {
670  return button_1_;
671 }
672 inline bool Hydra_Paddle::button_1() const {
673  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_1)
674  return _internal_button_1();
675 }
676 inline void Hydra_Paddle::_internal_set_button_1(bool value) {
677 
678  button_1_ = value;
679 }
680 inline void Hydra_Paddle::set_button_1(bool value) {
681  _internal_set_button_1(value);
682  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_1)
683 }
684 
685 // bool button_2 = 4;
687  button_2_ = false;
688 }
689 inline bool Hydra_Paddle::_internal_button_2() const {
690  return button_2_;
691 }
692 inline bool Hydra_Paddle::button_2() const {
693  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_2)
694  return _internal_button_2();
695 }
696 inline void Hydra_Paddle::_internal_set_button_2(bool value) {
697 
698  button_2_ = value;
699 }
700 inline void Hydra_Paddle::set_button_2(bool value) {
701  _internal_set_button_2(value);
702  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_2)
703 }
704 
705 // bool button_3 = 5;
707  button_3_ = false;
708 }
709 inline bool Hydra_Paddle::_internal_button_3() const {
710  return button_3_;
711 }
712 inline bool Hydra_Paddle::button_3() const {
713  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_3)
714  return _internal_button_3();
715 }
716 inline void Hydra_Paddle::_internal_set_button_3(bool value) {
717 
718  button_3_ = value;
719 }
720 inline void Hydra_Paddle::set_button_3(bool value) {
721  _internal_set_button_3(value);
722  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_3)
723 }
724 
725 // bool button_4 = 6;
727  button_4_ = false;
728 }
729 inline bool Hydra_Paddle::_internal_button_4() const {
730  return button_4_;
731 }
732 inline bool Hydra_Paddle::button_4() const {
733  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_4)
734  return _internal_button_4();
735 }
736 inline void Hydra_Paddle::_internal_set_button_4(bool value) {
737 
738  button_4_ = value;
739 }
740 inline void Hydra_Paddle::set_button_4(bool value) {
741  _internal_set_button_4(value);
742  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_4)
743 }
744 
745 // bool button_joy = 7;
747  button_joy_ = false;
748 }
749 inline bool Hydra_Paddle::_internal_button_joy() const {
750  return button_joy_;
751 }
752 inline bool Hydra_Paddle::button_joy() const {
753  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_joy)
754  return _internal_button_joy();
755 }
756 inline void Hydra_Paddle::_internal_set_button_joy(bool value) {
757 
758  button_joy_ = value;
759 }
760 inline void Hydra_Paddle::set_button_joy(bool value) {
761  _internal_set_button_joy(value);
762  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_joy)
763 }
764 
765 // bool button_center = 8;
767  button_center_ = false;
768 }
769 inline bool Hydra_Paddle::_internal_button_center() const {
770  return button_center_;
771 }
772 inline bool Hydra_Paddle::button_center() const {
773  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_center)
774  return _internal_button_center();
775 }
776 inline void Hydra_Paddle::_internal_set_button_center(bool value) {
777 
778  button_center_ = value;
779 }
780 inline void Hydra_Paddle::set_button_center(bool value) {
781  _internal_set_button_center(value);
782  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_center)
783 }
784 
785 // double joy_x = 9;
787  joy_x_ = 0;
788 }
789 inline double Hydra_Paddle::_internal_joy_x() const {
790  return joy_x_;
791 }
792 inline double Hydra_Paddle::joy_x() const {
793  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.joy_x)
794  return _internal_joy_x();
795 }
796 inline void Hydra_Paddle::_internal_set_joy_x(double value) {
797 
798  joy_x_ = value;
799 }
800 inline void Hydra_Paddle::set_joy_x(double value) {
801  _internal_set_joy_x(value);
802  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.joy_x)
803 }
804 
805 // double joy_y = 10;
807  joy_y_ = 0;
808 }
809 inline double Hydra_Paddle::_internal_joy_y() const {
810  return joy_y_;
811 }
812 inline double Hydra_Paddle::joy_y() const {
813  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.joy_y)
814  return _internal_joy_y();
815 }
816 inline void Hydra_Paddle::_internal_set_joy_y(double value) {
817 
818  joy_y_ = value;
819 }
820 inline void Hydra_Paddle::set_joy_y(double value) {
821  _internal_set_joy_y(value);
822  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.joy_y)
823 }
824 
825 // double trigger = 11;
827  trigger_ = 0;
828 }
829 inline double Hydra_Paddle::_internal_trigger() const {
830  return trigger_;
831 }
832 inline double Hydra_Paddle::trigger() const {
833  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.trigger)
834  return _internal_trigger();
835 }
836 inline void Hydra_Paddle::_internal_set_trigger(double value) {
837 
838  trigger_ = value;
839 }
840 inline void Hydra_Paddle::set_trigger(double value) {
841  _internal_set_trigger(value);
842  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.trigger)
843 }
844 
845 // -------------------------------------------------------------------
846 
847 // Hydra
848 
849 // .ignition.msgs.Header header = 1;
850 inline bool Hydra::_internal_has_header() const {
851  return this != internal_default_instance() && header_ != nullptr;
852 }
853 inline bool Hydra::has_header() const {
854  return _internal_has_header();
855 }
856 inline const ::ignition::msgs::Header& Hydra::_internal_header() const {
857  const ::ignition::msgs::Header* p = header_;
858  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
860 }
861 inline const ::ignition::msgs::Header& Hydra::header() const {
862  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.header)
863  return _internal_header();
864 }
866  ::ignition::msgs::Header* header) {
867  if (GetArenaForAllocation() == nullptr) {
868  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
869  }
870  header_ = header;
871  if (header) {
872 
873  } else {
874 
875  }
876  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Hydra.header)
877 }
878 inline ::ignition::msgs::Header* Hydra::release_header() {
879 
880  ::ignition::msgs::Header* temp = header_;
881  header_ = nullptr;
882 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
883  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
884  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
885  if (GetArenaForAllocation() == nullptr) { delete old; }
886 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
887  if (GetArenaForAllocation() != nullptr) {
888  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
889  }
890 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
891  return temp;
892 }
893 inline ::ignition::msgs::Header* Hydra::unsafe_arena_release_header() {
894  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.header)
895 
896  ::ignition::msgs::Header* temp = header_;
897  header_ = nullptr;
898  return temp;
899 }
900 inline ::ignition::msgs::Header* Hydra::_internal_mutable_header() {
901 
902  if (header_ == nullptr) {
903  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
904  header_ = p;
905  }
906  return header_;
907 }
908 inline ::ignition::msgs::Header* Hydra::mutable_header() {
909  ::ignition::msgs::Header* _msg = _internal_mutable_header();
910  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.header)
911  return _msg;
912 }
914  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
915  if (message_arena == nullptr) {
916  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
917  }
918  if (header) {
919  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
920  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
921  ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
922  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header));
923  if (message_arena != submessage_arena) {
924  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
925  message_arena, header, submessage_arena);
926  }
927 
928  } else {
929 
930  }
931  header_ = header;
932  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.header)
933 }
934 
935 // .ignition.msgs.Hydra.Paddle right = 2;
936 inline bool Hydra::_internal_has_right() const {
937  return this != internal_default_instance() && right_ != nullptr;
938 }
939 inline bool Hydra::has_right() const {
940  return _internal_has_right();
941 }
942 inline void Hydra::clear_right() {
943  if (GetArenaForAllocation() == nullptr && right_ != nullptr) {
944  delete right_;
945  }
946  right_ = nullptr;
947 }
948 inline const ::ignition::msgs::Hydra_Paddle& Hydra::_internal_right() const {
949  const ::ignition::msgs::Hydra_Paddle* p = right_;
950  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Hydra_Paddle&>(
952 }
953 inline const ::ignition::msgs::Hydra_Paddle& Hydra::right() const {
954  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.right)
955  return _internal_right();
956 }
958  ::ignition::msgs::Hydra_Paddle* right) {
959  if (GetArenaForAllocation() == nullptr) {
960  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(right_);
961  }
962  right_ = right;
963  if (right) {
964 
965  } else {
966 
967  }
968  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Hydra.right)
969 }
970 inline ::ignition::msgs::Hydra_Paddle* Hydra::release_right() {
971 
972  ::ignition::msgs::Hydra_Paddle* temp = right_;
973  right_ = nullptr;
974 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
975  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
976  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
977  if (GetArenaForAllocation() == nullptr) { delete old; }
978 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
979  if (GetArenaForAllocation() != nullptr) {
980  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
981  }
982 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
983  return temp;
984 }
985 inline ::ignition::msgs::Hydra_Paddle* Hydra::unsafe_arena_release_right() {
986  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.right)
987 
988  ::ignition::msgs::Hydra_Paddle* temp = right_;
989  right_ = nullptr;
990  return temp;
991 }
992 inline ::ignition::msgs::Hydra_Paddle* Hydra::_internal_mutable_right() {
993 
994  if (right_ == nullptr) {
995  auto* p = CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(GetArenaForAllocation());
996  right_ = p;
997  }
998  return right_;
999 }
1000 inline ::ignition::msgs::Hydra_Paddle* Hydra::mutable_right() {
1001  ::ignition::msgs::Hydra_Paddle* _msg = _internal_mutable_right();
1002  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.right)
1003  return _msg;
1004 }
1006  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1007  if (message_arena == nullptr) {
1008  delete right_;
1009  }
1010  if (right) {
1011  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1012  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::Hydra_Paddle>::GetOwningArena(right);
1013  if (message_arena != submessage_arena) {
1014  right = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1015  message_arena, right, submessage_arena);
1016  }
1017 
1018  } else {
1019 
1020  }
1021  right_ = right;
1022  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.right)
1023 }
1024 
1025 // .ignition.msgs.Hydra.Paddle left = 3;
1026 inline bool Hydra::_internal_has_left() const {
1027  return this != internal_default_instance() && left_ != nullptr;
1028 }
1029 inline bool Hydra::has_left() const {
1030  return _internal_has_left();
1031 }
1032 inline void Hydra::clear_left() {
1033  if (GetArenaForAllocation() == nullptr && left_ != nullptr) {
1034  delete left_;
1035  }
1036  left_ = nullptr;
1037 }
1038 inline const ::ignition::msgs::Hydra_Paddle& Hydra::_internal_left() const {
1039  const ::ignition::msgs::Hydra_Paddle* p = left_;
1040  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Hydra_Paddle&>(
1042 }
1043 inline const ::ignition::msgs::Hydra_Paddle& Hydra::left() const {
1044  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.left)
1045  return _internal_left();
1046 }
1048  ::ignition::msgs::Hydra_Paddle* left) {
1049  if (GetArenaForAllocation() == nullptr) {
1050  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(left_);
1051  }
1052  left_ = left;
1053  if (left) {
1054 
1055  } else {
1056 
1057  }
1058  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Hydra.left)
1059 }
1060 inline ::ignition::msgs::Hydra_Paddle* Hydra::release_left() {
1061 
1062  ::ignition::msgs::Hydra_Paddle* temp = left_;
1063  left_ = nullptr;
1064 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1065  auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1066  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1067  if (GetArenaForAllocation() == nullptr) { delete old; }
1068 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
1069  if (GetArenaForAllocation() != nullptr) {
1070  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1071  }
1072 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
1073  return temp;
1074 }
1075 inline ::ignition::msgs::Hydra_Paddle* Hydra::unsafe_arena_release_left() {
1076  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.left)
1077 
1078  ::ignition::msgs::Hydra_Paddle* temp = left_;
1079  left_ = nullptr;
1080  return temp;
1081 }
1082 inline ::ignition::msgs::Hydra_Paddle* Hydra::_internal_mutable_left() {
1083 
1084  if (left_ == nullptr) {
1085  auto* p = CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(GetArenaForAllocation());
1086  left_ = p;
1087  }
1088  return left_;
1089 }
1090 inline ::ignition::msgs::Hydra_Paddle* Hydra::mutable_left() {
1091  ::ignition::msgs::Hydra_Paddle* _msg = _internal_mutable_left();
1092  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.left)
1093  return _msg;
1094 }
1096  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1097  if (message_arena == nullptr) {
1098  delete left_;
1099  }
1100  if (left) {
1101  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1102  ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::ignition::msgs::Hydra_Paddle>::GetOwningArena(left);
1103  if (message_arena != submessage_arena) {
1104  left = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1105  message_arena, left, submessage_arena);
1106  }
1107 
1108  } else {
1109 
1110  }
1111  left_ = left;
1112  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.left)
1113 }
1114 
1115 #ifdef __GNUC__
1116  #pragma GCC diagnostic pop
1117 #endif // __GNUC__
1118 // -------------------------------------------------------------------
1119 
1120 
1125 // @@protoc_insertion_point(namespace_scope)
1126 
1127 } // namespace msgs
1128 } // namespace ignition
1129 
1130 #ifdef _MSC_VER
1131 #pragma warning(pop)
1132 #endif
1133 // @@protoc_insertion_point(global_scope)
1134 
1135 #include <google/protobuf/port_undef.inc>
1136 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
Definition: header.pb.h:265
Definition: hydra.pb.h:89
double joy_y() const
Definition: hydra.pb.h:812
const ::ignition::msgs::Pose & pose() const
Definition: hydra.pb.h:571
Hydra_Paddle(Hydra_Paddle &&from) noexcept
Definition: hydra.pb.h:96
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: hydra.pb.h:125
bool button_joy() const
Definition: hydra.pb.h:752
void set_button_2(bool value)
Definition: hydra.pb.h:700
void clear_joy_x()
Definition: hydra.pb.h:786
static const Hydra_Paddle * internal_default_instance()
Definition: hydra.pb.h:131
void set_joy_x(double value)
Definition: hydra.pb.h:800
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: hydra.pb.h:603
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: hydra.pb.h:575
friend void swap(Hydra_Paddle &a, Hydra_Paddle &b)
Definition: hydra.pb.h:138
void set_button_3(bool value)
Definition: hydra.pb.h:720
void clear_button_3()
Definition: hydra.pb.h:706
void set_button_bumper(bool value)
Definition: hydra.pb.h:660
bool button_4() const
Definition: hydra.pb.h:732
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: hydra.pb.h:119
Hydra_Paddle(const Hydra_Paddle &from)
void clear_joy_y()
Definition: hydra.pb.h:806
void clear_button_joy()
Definition: hydra.pb.h:746
void clear_button_1()
Definition: hydra.pb.h:666
bool button_1() const
Definition: hydra.pb.h:672
void clear_button_2()
Definition: hydra.pb.h:686
void set_joy_y(double value)
Definition: hydra.pb.h:820
bool button_bumper() const
Definition: hydra.pb.h:652
void set_button_center(bool value)
Definition: hydra.pb.h:780
void Swap(Hydra_Paddle *other)
Definition: hydra.pb.h:141
Hydra_Paddle & operator=(const Hydra_Paddle &from)
Definition: hydra.pb.h:101
Hydra_Paddle * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: hydra.pb.h:162
void UnsafeArenaSwap(Hydra_Paddle *other)
Definition: hydra.pb.h:154
bool has_pose() const
Definition: hydra.pb.h:563
void set_trigger(double value)
Definition: hydra.pb.h:840
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: hydra.pb.h:623
double trigger() const
Definition: hydra.pb.h:832
constexpr Hydra_Paddle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void MergeFrom(const Hydra_Paddle &from)
void clear_button_4()
Definition: hydra.pb.h:726
void clear_button_bumper()
Definition: hydra.pb.h:646
void clear_button_center()
Definition: hydra.pb.h:766
double joy_x() const
Definition: hydra.pb.h:792
bool button_2() const
Definition: hydra.pb.h:692
void set_button_1(bool value)
Definition: hydra.pb.h:680
::ignition::msgs::Pose * mutable_pose()
Definition: hydra.pb.h:618
bool button_3() const
Definition: hydra.pb.h:712
static const Hydra_Paddle & default_instance()
Definition: hydra.pb.h:128
void CopyFrom(const Hydra_Paddle &from)
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: hydra.pb.h:122
bool button_center() const
Definition: hydra.pb.h:772
void set_button_joy(bool value)
Definition: hydra.pb.h:760
Hydra_Paddle & operator=(Hydra_Paddle &&from) noexcept
Definition: hydra.pb.h:105
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: hydra.pb.h:588
Hydra_Paddle()
Definition: hydra.pb.h:91
static const ClassData _class_data_
Definition: hydra.pb.h:200
Hydra_Paddle(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void set_button_4(bool value)
Definition: hydra.pb.h:740
void clear_trigger()
Definition: hydra.pb.h:826
Definition: hydra.pb.h:354
::ignition::msgs::Hydra_Paddle * unsafe_arena_release_left()
Definition: hydra.pb.h:1075
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: hydra.pb.h:390
bool has_header() const
Definition: hydra.pb.h:853
::ignition::msgs::Header * mutable_header()
Definition: hydra.pb.h:908
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void clear_left()
Definition: hydra.pb.h:1032
void unsafe_arena_set_allocated_left(::ignition::msgs::Hydra_Paddle *left)
Definition: hydra.pb.h:1047
void set_allocated_left(::ignition::msgs::Hydra_Paddle *left)
Definition: hydra.pb.h:1095
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: hydra.pb.h:384
Hydra(const Hydra &from)
void UnsafeArenaSwap(Hydra *other)
Definition: hydra.pb.h:419
static const Hydra * internal_default_instance()
Definition: hydra.pb.h:396
::ignition::msgs::Hydra_Paddle * unsafe_arena_release_right()
Definition: hydra.pb.h:985
Hydra & operator=(const Hydra &from)
Definition: hydra.pb.h:366
bool has_left() const
Definition: hydra.pb.h:1029
constexpr Hydra(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: hydra.pb.h:865
Hydra(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
bool has_right() const
Definition: hydra.pb.h:939
::ignition::msgs::Hydra_Paddle * mutable_right()
Definition: hydra.pb.h:1000
void Swap(Hydra *other)
Definition: hydra.pb.h:406
friend void swap(Hydra &a, Hydra &b)
Definition: hydra.pb.h:403
void set_allocated_header(::ignition::msgs::Header *header)
Definition: hydra.pb.h:913
Hydra & operator=(Hydra &&from) noexcept
Definition: hydra.pb.h:370
PROTOBUF_NODISCARD ::ignition::msgs::Hydra_Paddle * release_left()
Definition: hydra.pb.h:1060
::ignition::msgs::Hydra_Paddle * mutable_left()
Definition: hydra.pb.h:1090
Hydra(Hydra &&from) noexcept
Definition: hydra.pb.h:361
void MergeFrom(const Hydra &from)
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: hydra.pb.h:878
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
Hydra * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: hydra.pb.h:427
const ::ignition::msgs::Hydra_Paddle & right() const
Definition: hydra.pb.h:953
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: hydra.pb.h:387
const ::ignition::msgs::Header & header() const
Definition: hydra.pb.h:861
PROTOBUF_NODISCARD ::ignition::msgs::Hydra_Paddle * release_right()
Definition: hydra.pb.h:970
void set_allocated_right(::ignition::msgs::Hydra_Paddle *right)
Definition: hydra.pb.h:1005
void clear_right()
Definition: hydra.pb.h:942
static const ClassData _class_data_
Definition: hydra.pb.h:465
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: hydra.pb.h:893
void unsafe_arena_set_allocated_right(::ignition::msgs::Hydra_Paddle *right)
Definition: hydra.pb.h:957
const ::ignition::msgs::Hydra_Paddle & left() const
Definition: hydra.pb.h:1043
static const Hydra & default_instance()
Definition: hydra.pb.h:393
void CopyFrom(const Hydra &from)
Hydra()
Definition: hydra.pb.h:356
Definition: pose.pb.h:86
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fhydra_2eproto
IGNITION_MSGS_VISIBLE Hydra_PaddleDefaultTypeInternal _Hydra_Paddle_default_instance_
std::shared_ptr< Hydra > HydraSharedPtr
Definition: hydra.pb.h:1123
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE HydraDefaultTypeInternal _Hydra_default_instance_
std::shared_ptr< const Hydra > ConstHydraSharedPtr
Definition: hydra.pb.h:1124
std::unique_ptr< const Hydra > ConstHydraUniquePtr
Definition: hydra.pb.h:1122
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< Hydra > HydraUniquePtr
Definition: hydra.pb.h:1121
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
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)