Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/include/ignition/msgs/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 PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
6 
7 #include <string>
8 
9 #include <google/protobuf/stubs/common.h>
10 
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
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 3006001 < GOOGLE_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/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.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>
33 #include "ignition/msgs/pose.pb.h"
35 #ifndef _MSC_VER
36 #pragma GCC system_header
37 #else
38 #pragma warning(push)
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
40 #endif
41 #ifdef __linux__
42 #include <sys/sysmacros.h>
43 #endif
44 #include <memory>
45 #include <ignition/msgs/Export.hh>
46 // @@protoc_insertion_point(includes)
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fhydra_2eproto IGNITION_MSGS_VISIBLE
48 
50 // Internal implementation detail -- do not use these members.
51 struct IGNITION_MSGS_VISIBLE TableStruct {
52  static const ::google::protobuf::internal::ParseTableField entries[];
53  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54  static const ::google::protobuf::internal::ParseTable schema[2];
55  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56  static const ::google::protobuf::internal::SerializationTable serialization_table[];
57  static const ::google::protobuf::uint32 offsets[];
58 };
59 void IGNITION_MSGS_VISIBLE AddDescriptors();
60 } // namespace protobuf_ignition_2fmsgs_2fhydra_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Hydra;
64 class HydraDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern HydraDefaultTypeInternal _Hydra_default_instance_;
66 class Hydra_Paddle;
67 class Hydra_PaddleDefaultTypeInternal;
68 IGNITION_MSGS_VISIBLE extern Hydra_PaddleDefaultTypeInternal _Hydra_Paddle_default_instance_;
69 } // namespace msgs
70 } // namespace ignition
71 namespace google {
72 namespace protobuf {
73 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Hydra* Arena::CreateMaybeMessage<::ignition::msgs::Hydra>(Arena*);
74 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Hydra_Paddle* Arena::CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(Arena*);
75 } // namespace protobuf
76 } // namespace google
77 namespace ignition {
78 namespace msgs {
79 
80 // ===================================================================
81 
82 class IGNITION_MSGS_VISIBLE Hydra_Paddle : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Hydra.Paddle) */ {
83  public:
84  Hydra_Paddle();
85  virtual ~Hydra_Paddle();
86 
87  Hydra_Paddle(const Hydra_Paddle& from);
88 
89  inline Hydra_Paddle& operator=(const Hydra_Paddle& from) {
90  CopyFrom(from);
91  return *this;
92  }
93  #if LANG_CXX11
94  Hydra_Paddle(Hydra_Paddle&& from) noexcept
95  : Hydra_Paddle() {
96  *this = ::std::move(from);
97  }
98 
99  inline Hydra_Paddle& operator=(Hydra_Paddle&& from) noexcept {
100  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
101  if (this != &from) InternalSwap(&from);
102  } else {
103  CopyFrom(from);
104  }
105  return *this;
106  }
107  #endif
108  static const ::google::protobuf::Descriptor* descriptor();
109  static const Hydra_Paddle& default_instance();
110 
111  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
112  static inline const Hydra_Paddle* internal_default_instance() {
113  return reinterpret_cast<const Hydra_Paddle*>(
115  }
116  static constexpr int kIndexInFileMessages =
117  0;
118 
119  void Swap(Hydra_Paddle* other);
120  friend void swap(Hydra_Paddle& a, Hydra_Paddle& b) {
121  a.Swap(&b);
122  }
123 
124  // implements Message ----------------------------------------------
125 
126  inline Hydra_Paddle* New() const final {
127  return CreateMaybeMessage<Hydra_Paddle>(NULL);
128  }
129 
130  Hydra_Paddle* New(::google::protobuf::Arena* arena) const final {
131  return CreateMaybeMessage<Hydra_Paddle>(arena);
132  }
133  void CopyFrom(const ::google::protobuf::Message& from) final;
134  void MergeFrom(const ::google::protobuf::Message& from) final;
135  void CopyFrom(const Hydra_Paddle& from);
136  void MergeFrom(const Hydra_Paddle& from);
137  void Clear() final;
138  bool IsInitialized() const final;
139 
140  size_t ByteSizeLong() const final;
141  bool MergePartialFromCodedStream(
142  ::google::protobuf::io::CodedInputStream* input) final;
143  void SerializeWithCachedSizes(
144  ::google::protobuf::io::CodedOutputStream* output) const final;
145  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
146  bool deterministic, ::google::protobuf::uint8* target) const final;
147  int GetCachedSize() const final { return _cached_size_.Get(); }
148 
149  private:
150  void SharedCtor();
151  void SharedDtor();
152  void SetCachedSize(int size) const final;
153  void InternalSwap(Hydra_Paddle* other);
154  private:
155  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
156  return NULL;
157  }
158  inline void* MaybeArenaPtr() const {
159  return NULL;
160  }
161  public:
162 
163  ::google::protobuf::Metadata GetMetadata() const final;
164 
165  // nested types ----------------------------------------------------
166 
167  // accessors -------------------------------------------------------
168 
169  // .ignition.msgs.Pose pose = 1;
170  bool has_pose() const;
171  void clear_pose();
172  static const int kPoseFieldNumber = 1;
173  private:
174  const ::ignition::msgs::Pose& _internal_pose() const;
175  public:
176  const ::ignition::msgs::Pose& pose() const;
177  ::ignition::msgs::Pose* release_pose();
178  ::ignition::msgs::Pose* mutable_pose();
179  void set_allocated_pose(::ignition::msgs::Pose* pose);
180 
181  // bool button_bumper = 2;
182  void clear_button_bumper();
183  static const int kButtonBumperFieldNumber = 2;
184  bool button_bumper() const;
185  void set_button_bumper(bool value);
186 
187  // bool button_1 = 3;
188  void clear_button_1();
189  static const int kButton1FieldNumber = 3;
190  bool button_1() const;
191  void set_button_1(bool value);
192 
193  // bool button_2 = 4;
194  void clear_button_2();
195  static const int kButton2FieldNumber = 4;
196  bool button_2() const;
197  void set_button_2(bool value);
198 
199  // bool button_3 = 5;
200  void clear_button_3();
201  static const int kButton3FieldNumber = 5;
202  bool button_3() const;
203  void set_button_3(bool value);
204 
205  // bool button_4 = 6;
206  void clear_button_4();
207  static const int kButton4FieldNumber = 6;
208  bool button_4() const;
209  void set_button_4(bool value);
210 
211  // bool button_joy = 7;
212  void clear_button_joy();
213  static const int kButtonJoyFieldNumber = 7;
214  bool button_joy() const;
215  void set_button_joy(bool value);
216 
217  // bool button_center = 8;
218  void clear_button_center();
219  static const int kButtonCenterFieldNumber = 8;
220  bool button_center() const;
221  void set_button_center(bool value);
222 
223  // double joy_x = 9;
224  void clear_joy_x();
225  static const int kJoyXFieldNumber = 9;
226  double joy_x() const;
227  void set_joy_x(double value);
228 
229  // double joy_y = 10;
230  void clear_joy_y();
231  static const int kJoyYFieldNumber = 10;
232  double joy_y() const;
233  void set_joy_y(double value);
234 
235  // double trigger = 11;
236  void clear_trigger();
237  static const int kTriggerFieldNumber = 11;
238  double trigger() const;
239  void set_trigger(double value);
240 
241  // @@protoc_insertion_point(class_scope:ignition.msgs.Hydra.Paddle)
242  private:
243 
244  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
245  ::ignition::msgs::Pose* pose_;
246  bool button_bumper_;
247  bool button_1_;
248  bool button_2_;
249  bool button_3_;
250  bool button_4_;
251  bool button_joy_;
252  bool button_center_;
253  double joy_x_;
254  double joy_y_;
255  double trigger_;
256  mutable ::google::protobuf::internal::CachedSize _cached_size_;
257  friend struct ::protobuf_ignition_2fmsgs_2fhydra_2eproto::TableStruct;
258 };
259 // -------------------------------------------------------------------
260 
261 class IGNITION_MSGS_VISIBLE Hydra : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Hydra) */ {
262  public:
263  Hydra();
264  virtual ~Hydra();
265 
266  Hydra(const Hydra& from);
267 
268  inline Hydra& operator=(const Hydra& from) {
269  CopyFrom(from);
270  return *this;
271  }
272  #if LANG_CXX11
273  Hydra(Hydra&& from) noexcept
274  : Hydra() {
275  *this = ::std::move(from);
276  }
277 
278  inline Hydra& operator=(Hydra&& from) noexcept {
279  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
280  if (this != &from) InternalSwap(&from);
281  } else {
282  CopyFrom(from);
283  }
284  return *this;
285  }
286  #endif
287  static const ::google::protobuf::Descriptor* descriptor();
288  static const Hydra& default_instance();
289 
290  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
291  static inline const Hydra* internal_default_instance() {
292  return reinterpret_cast<const Hydra*>(
294  }
295  static constexpr int kIndexInFileMessages =
296  1;
297 
298  void Swap(Hydra* other);
299  friend void swap(Hydra& a, Hydra& b) {
300  a.Swap(&b);
301  }
302 
303  // implements Message ----------------------------------------------
304 
305  inline Hydra* New() const final {
306  return CreateMaybeMessage<Hydra>(NULL);
307  }
308 
309  Hydra* New(::google::protobuf::Arena* arena) const final {
310  return CreateMaybeMessage<Hydra>(arena);
311  }
312  void CopyFrom(const ::google::protobuf::Message& from) final;
313  void MergeFrom(const ::google::protobuf::Message& from) final;
314  void CopyFrom(const Hydra& from);
315  void MergeFrom(const Hydra& from);
316  void Clear() final;
317  bool IsInitialized() const final;
318 
319  size_t ByteSizeLong() const final;
320  bool MergePartialFromCodedStream(
321  ::google::protobuf::io::CodedInputStream* input) final;
322  void SerializeWithCachedSizes(
323  ::google::protobuf::io::CodedOutputStream* output) const final;
324  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
325  bool deterministic, ::google::protobuf::uint8* target) const final;
326  int GetCachedSize() const final { return _cached_size_.Get(); }
327 
328  private:
329  void SharedCtor();
330  void SharedDtor();
331  void SetCachedSize(int size) const final;
332  void InternalSwap(Hydra* other);
333  private:
334  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
335  return NULL;
336  }
337  inline void* MaybeArenaPtr() const {
338  return NULL;
339  }
340  public:
341 
342  ::google::protobuf::Metadata GetMetadata() const final;
343 
344  // nested types ----------------------------------------------------
345 
347 
348  // accessors -------------------------------------------------------
349 
350  // .ignition.msgs.Header header = 1;
351  bool has_header() const;
352  void clear_header();
353  static const int kHeaderFieldNumber = 1;
354  private:
355  const ::ignition::msgs::Header& _internal_header() const;
356  public:
357  const ::ignition::msgs::Header& header() const;
358  ::ignition::msgs::Header* release_header();
359  ::ignition::msgs::Header* mutable_header();
360  void set_allocated_header(::ignition::msgs::Header* header);
361 
362  // .ignition.msgs.Hydra.Paddle right = 2;
363  bool has_right() const;
364  void clear_right();
365  static const int kRightFieldNumber = 2;
366  private:
367  const ::ignition::msgs::Hydra_Paddle& _internal_right() const;
368  public:
369  const ::ignition::msgs::Hydra_Paddle& right() const;
370  ::ignition::msgs::Hydra_Paddle* release_right();
371  ::ignition::msgs::Hydra_Paddle* mutable_right();
372  void set_allocated_right(::ignition::msgs::Hydra_Paddle* right);
373 
374  // .ignition.msgs.Hydra.Paddle left = 3;
375  bool has_left() const;
376  void clear_left();
377  static const int kLeftFieldNumber = 3;
378  private:
379  const ::ignition::msgs::Hydra_Paddle& _internal_left() const;
380  public:
381  const ::ignition::msgs::Hydra_Paddle& left() const;
382  ::ignition::msgs::Hydra_Paddle* release_left();
383  ::ignition::msgs::Hydra_Paddle* mutable_left();
384  void set_allocated_left(::ignition::msgs::Hydra_Paddle* left);
385 
386  // @@protoc_insertion_point(class_scope:ignition.msgs.Hydra)
387  private:
388 
389  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
390  ::ignition::msgs::Header* header_;
391  ::ignition::msgs::Hydra_Paddle* right_;
392  ::ignition::msgs::Hydra_Paddle* left_;
393  mutable ::google::protobuf::internal::CachedSize _cached_size_;
394  friend struct ::protobuf_ignition_2fmsgs_2fhydra_2eproto::TableStruct;
395 };
396 // ===================================================================
397 
398 
399 // ===================================================================
400 
401 #ifdef __GNUC__
402  #pragma GCC diagnostic push
403  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
404 #endif // __GNUC__
405 // Hydra_Paddle
406 
407 // .ignition.msgs.Pose pose = 1;
408 inline bool Hydra_Paddle::has_pose() const {
409  return this != internal_default_instance() && pose_ != NULL;
410 }
411 inline const ::ignition::msgs::Pose& Hydra_Paddle::_internal_pose() const {
412  return *pose_;
413 }
414 inline const ::ignition::msgs::Pose& Hydra_Paddle::pose() const {
415  const ::ignition::msgs::Pose* p = pose_;
416  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.pose)
417  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Pose*>(
419 }
420 inline ::ignition::msgs::Pose* Hydra_Paddle::release_pose() {
421  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.Paddle.pose)
422 
423  ::ignition::msgs::Pose* temp = pose_;
424  pose_ = NULL;
425  return temp;
426 }
427 inline ::ignition::msgs::Pose* Hydra_Paddle::mutable_pose() {
428 
429  if (pose_ == NULL) {
430  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaNoVirtual());
431  pose_ = p;
432  }
433  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.Paddle.pose)
434  return pose_;
435 }
437  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
438  if (message_arena == NULL) {
439  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
440  }
441  if (pose) {
442  ::google::protobuf::Arena* submessage_arena = NULL;
443  if (message_arena != submessage_arena) {
444  pose = ::google::protobuf::internal::GetOwnedMessage(
445  message_arena, pose, submessage_arena);
446  }
447 
448  } else {
449 
450  }
451  pose_ = pose;
452  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.Paddle.pose)
453 }
454 
455 // bool button_bumper = 2;
457  button_bumper_ = false;
458 }
459 inline bool Hydra_Paddle::button_bumper() const {
460  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_bumper)
461  return button_bumper_;
462 }
463 inline void Hydra_Paddle::set_button_bumper(bool value) {
464 
465  button_bumper_ = value;
466  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_bumper)
467 }
468 
469 // bool button_1 = 3;
471  button_1_ = false;
472 }
473 inline bool Hydra_Paddle::button_1() const {
474  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_1)
475  return button_1_;
476 }
477 inline void Hydra_Paddle::set_button_1(bool value) {
478 
479  button_1_ = value;
480  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_1)
481 }
482 
483 // bool button_2 = 4;
485  button_2_ = false;
486 }
487 inline bool Hydra_Paddle::button_2() const {
488  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_2)
489  return button_2_;
490 }
491 inline void Hydra_Paddle::set_button_2(bool value) {
492 
493  button_2_ = value;
494  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_2)
495 }
496 
497 // bool button_3 = 5;
499  button_3_ = false;
500 }
501 inline bool Hydra_Paddle::button_3() const {
502  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_3)
503  return button_3_;
504 }
505 inline void Hydra_Paddle::set_button_3(bool value) {
506 
507  button_3_ = value;
508  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_3)
509 }
510 
511 // bool button_4 = 6;
513  button_4_ = false;
514 }
515 inline bool Hydra_Paddle::button_4() const {
516  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_4)
517  return button_4_;
518 }
519 inline void Hydra_Paddle::set_button_4(bool value) {
520 
521  button_4_ = value;
522  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_4)
523 }
524 
525 // bool button_joy = 7;
527  button_joy_ = false;
528 }
529 inline bool Hydra_Paddle::button_joy() const {
530  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_joy)
531  return button_joy_;
532 }
533 inline void Hydra_Paddle::set_button_joy(bool value) {
534 
535  button_joy_ = value;
536  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_joy)
537 }
538 
539 // bool button_center = 8;
541  button_center_ = false;
542 }
543 inline bool Hydra_Paddle::button_center() const {
544  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.button_center)
545  return button_center_;
546 }
547 inline void Hydra_Paddle::set_button_center(bool value) {
548 
549  button_center_ = value;
550  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.button_center)
551 }
552 
553 // double joy_x = 9;
555  joy_x_ = 0;
556 }
557 inline double Hydra_Paddle::joy_x() const {
558  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.joy_x)
559  return joy_x_;
560 }
561 inline void Hydra_Paddle::set_joy_x(double value) {
562 
563  joy_x_ = value;
564  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.joy_x)
565 }
566 
567 // double joy_y = 10;
569  joy_y_ = 0;
570 }
571 inline double Hydra_Paddle::joy_y() const {
572  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.joy_y)
573  return joy_y_;
574 }
575 inline void Hydra_Paddle::set_joy_y(double value) {
576 
577  joy_y_ = value;
578  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.joy_y)
579 }
580 
581 // double trigger = 11;
583  trigger_ = 0;
584 }
585 inline double Hydra_Paddle::trigger() const {
586  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.Paddle.trigger)
587  return trigger_;
588 }
589 inline void Hydra_Paddle::set_trigger(double value) {
590 
591  trigger_ = value;
592  // @@protoc_insertion_point(field_set:ignition.msgs.Hydra.Paddle.trigger)
593 }
594 
595 // -------------------------------------------------------------------
596 
597 // Hydra
598 
599 // .ignition.msgs.Header header = 1;
600 inline bool Hydra::has_header() const {
601  return this != internal_default_instance() && header_ != NULL;
602 }
603 inline const ::ignition::msgs::Header& Hydra::_internal_header() const {
604  return *header_;
605 }
606 inline const ::ignition::msgs::Header& Hydra::header() const {
607  const ::ignition::msgs::Header* p = header_;
608  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.header)
609  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
611 }
612 inline ::ignition::msgs::Header* Hydra::release_header() {
613  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.header)
614 
615  ::ignition::msgs::Header* temp = header_;
616  header_ = NULL;
617  return temp;
618 }
619 inline ::ignition::msgs::Header* Hydra::mutable_header() {
620 
621  if (header_ == NULL) {
622  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
623  header_ = p;
624  }
625  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.header)
626  return header_;
627 }
629  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
630  if (message_arena == NULL) {
631  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
632  }
633  if (header) {
634  ::google::protobuf::Arena* submessage_arena = NULL;
635  if (message_arena != submessage_arena) {
636  header = ::google::protobuf::internal::GetOwnedMessage(
637  message_arena, header, submessage_arena);
638  }
639 
640  } else {
641 
642  }
643  header_ = header;
644  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.header)
645 }
646 
647 // .ignition.msgs.Hydra.Paddle right = 2;
648 inline bool Hydra::has_right() const {
649  return this != internal_default_instance() && right_ != NULL;
650 }
651 inline void Hydra::clear_right() {
652  if (GetArenaNoVirtual() == NULL && right_ != NULL) {
653  delete right_;
654  }
655  right_ = NULL;
656 }
657 inline const ::ignition::msgs::Hydra_Paddle& Hydra::_internal_right() const {
658  return *right_;
659 }
660 inline const ::ignition::msgs::Hydra_Paddle& Hydra::right() const {
661  const ::ignition::msgs::Hydra_Paddle* p = right_;
662  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.right)
663  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Hydra_Paddle*>(
665 }
666 inline ::ignition::msgs::Hydra_Paddle* Hydra::release_right() {
667  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.right)
668 
669  ::ignition::msgs::Hydra_Paddle* temp = right_;
670  right_ = NULL;
671  return temp;
672 }
673 inline ::ignition::msgs::Hydra_Paddle* Hydra::mutable_right() {
674 
675  if (right_ == NULL) {
676  auto* p = CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(GetArenaNoVirtual());
677  right_ = p;
678  }
679  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.right)
680  return right_;
681 }
683  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
684  if (message_arena == NULL) {
685  delete right_;
686  }
687  if (right) {
688  ::google::protobuf::Arena* submessage_arena = NULL;
689  if (message_arena != submessage_arena) {
690  right = ::google::protobuf::internal::GetOwnedMessage(
691  message_arena, right, submessage_arena);
692  }
693 
694  } else {
695 
696  }
697  right_ = right;
698  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.right)
699 }
700 
701 // .ignition.msgs.Hydra.Paddle left = 3;
702 inline bool Hydra::has_left() const {
703  return this != internal_default_instance() && left_ != NULL;
704 }
705 inline void Hydra::clear_left() {
706  if (GetArenaNoVirtual() == NULL && left_ != NULL) {
707  delete left_;
708  }
709  left_ = NULL;
710 }
711 inline const ::ignition::msgs::Hydra_Paddle& Hydra::_internal_left() const {
712  return *left_;
713 }
714 inline const ::ignition::msgs::Hydra_Paddle& Hydra::left() const {
715  const ::ignition::msgs::Hydra_Paddle* p = left_;
716  // @@protoc_insertion_point(field_get:ignition.msgs.Hydra.left)
717  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Hydra_Paddle*>(
719 }
720 inline ::ignition::msgs::Hydra_Paddle* Hydra::release_left() {
721  // @@protoc_insertion_point(field_release:ignition.msgs.Hydra.left)
722 
723  ::ignition::msgs::Hydra_Paddle* temp = left_;
724  left_ = NULL;
725  return temp;
726 }
727 inline ::ignition::msgs::Hydra_Paddle* Hydra::mutable_left() {
728 
729  if (left_ == NULL) {
730  auto* p = CreateMaybeMessage<::ignition::msgs::Hydra_Paddle>(GetArenaNoVirtual());
731  left_ = p;
732  }
733  // @@protoc_insertion_point(field_mutable:ignition.msgs.Hydra.left)
734  return left_;
735 }
737  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
738  if (message_arena == NULL) {
739  delete left_;
740  }
741  if (left) {
742  ::google::protobuf::Arena* submessage_arena = NULL;
743  if (message_arena != submessage_arena) {
744  left = ::google::protobuf::internal::GetOwnedMessage(
745  message_arena, left, submessage_arena);
746  }
747 
748  } else {
749 
750  }
751  left_ = left;
752  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Hydra.left)
753 }
754 
755 #ifdef __GNUC__
756  #pragma GCC diagnostic pop
757 #endif // __GNUC__
758 // -------------------------------------------------------------------
759 
760 
765 // @@protoc_insertion_point(namespace_scope)
766 
767 } // namespace msgs
768 } // namespace ignition
769 
770 #ifdef _MSC_VER
771 #pragma warning(pop)
772 #endif
773 // @@protoc_insertion_point(global_scope)
774 
775 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fhydra_2eproto
bool has_pose() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:408
void set_button_3(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:505
void set_button_joy(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:533
bool button_1() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:473
double trigger() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:585
bool has_left() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:702
::ignition::msgs::Pose * mutable_pose()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:427
::ignition::msgs::Hydra_Paddle * mutable_left()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:727
void set_button_2(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:491
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:600
STL class.
Hydra & operator=(const Hydra &from)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:268
static const Hydra_Paddle * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:112
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::ignition::msgs::Pose & pose() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:414
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:82
IGNITION_MSGS_VISIBLE HydraDefaultTypeInternal _Hydra_default_instance_
friend void swap(Hydra_Paddle &a, Hydra_Paddle &b)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:120
Definition: build/ignition-msgs8/include/ignition/msgs/pose.pb.h:79
static const Hydra * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:291
void set_joy_x(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:561
void clear_trigger()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:582
IGNITION_MSGS_VISIBLE Hydra_PaddleDefaultTypeInternal _Hydra_Paddle_default_instance_
::ignition::msgs::Hydra_Paddle * release_right()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:666
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:606
void clear_left()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:705
std::unique_ptr< const Hydra > ConstHydraUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:762
void clear_button_2()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:484
void clear_button_4()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:512
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:619
const ::ignition::msgs::Hydra_Paddle & right() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:660
void clear_right()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:651
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
void set_joy_y(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:575
bool button_bumper() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:459
std::shared_ptr< const Hydra > ConstHydraSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:764
::ignition::msgs::Hydra_Paddle * mutable_right()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:673
bool button_3() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:501
void set_trigger(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:589
void set_button_1(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:477
void set_button_bumper(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:463
void clear_button_joy()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:526
Hydra_Paddle * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:126
Hydra * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:309
bool button_2() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:487
void clear_button_bumper()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:456
const ::ignition::msgs::Hydra_Paddle & left() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:714
std::unique_ptr< Hydra > HydraUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:761
::ignition::msgs::Pose * release_pose()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:420
::ignition::msgs::Hydra_Paddle * release_left()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:720
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:49
bool button_center() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:543
bool has_right() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:648
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:628
void set_button_4(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:519
std::shared_ptr< Hydra > HydraSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:763
void set_allocated_left(::ignition::msgs::Hydra_Paddle *left)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:736
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void clear_button_1()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:470
bool button_joy() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:529
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:612
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
bool button_4() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:515
void clear_button_3()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:498
Hydra_Paddle & operator=(const Hydra_Paddle &from)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:89
friend void swap(Hydra &a, Hydra &b)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:299
void clear_button_center()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:540
Hydra_Paddle * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:130
void clear_joy_y()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:568
void clear_joy_x()
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:554
void Swap(Hydra *other)
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:436
Hydra * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:305
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:261
void set_allocated_right(::ignition::msgs::Hydra_Paddle *right)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:682
STL class.
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:51
double joy_y() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:571
void Swap(Hydra_Paddle *other)
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
double joy_x() const
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:557
void set_button_center(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/hydra.pb.h:547