Ignition Msgs

API Reference

5.8.1
wrench.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/wrench.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwrench_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwrench_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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>
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_2fwrench_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_2fwrench_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[1]
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
67 };
68 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fwrench_2eproto;
69 namespace ignition {
70 namespace msgs {
71 class Wrench;
72 class WrenchDefaultTypeInternal;
73 IGNITION_MSGS_VISIBLE extern WrenchDefaultTypeInternal _Wrench_default_instance_;
74 } // namespace msgs
75 } // namespace ignition
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Wrench* Arena::CreateMaybeMessage<::ignition::msgs::Wrench>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Wrench PROTOBUF_FINAL :
85  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Wrench) */ {
86  public:
87  inline Wrench() : Wrench(nullptr) {}
88  virtual ~Wrench();
89 
90  Wrench(const Wrench& from);
91  Wrench(Wrench&& from) noexcept
92  : Wrench() {
93  *this = ::std::move(from);
94  }
95 
96  inline Wrench& operator=(const Wrench& from) {
97  CopyFrom(from);
98  return *this;
99  }
100  inline Wrench& operator=(Wrench&& from) noexcept {
101  if (GetArena() == from.GetArena()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108 
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
110  return GetDescriptor();
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
113  return GetMetadataStatic().descriptor;
114  }
115  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
116  return GetMetadataStatic().reflection;
117  }
118  static const Wrench& default_instance();
119 
120  static inline const Wrench* internal_default_instance() {
121  return reinterpret_cast<const Wrench*>(
123  }
124  static constexpr int kIndexInFileMessages =
125  0;
126 
127  friend void swap(Wrench& a, Wrench& b) {
128  a.Swap(&b);
129  }
130  inline void Swap(Wrench* other) {
131  if (other == this) return;
132  if (GetArena() == other->GetArena()) {
133  InternalSwap(other);
134  } else {
135  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
136  }
137  }
138  void UnsafeArenaSwap(Wrench* other) {
139  if (other == this) return;
140  GOOGLE_DCHECK(GetArena() == other->GetArena());
141  InternalSwap(other);
142  }
143 
144  // implements Message ----------------------------------------------
145 
146  inline Wrench* New() const final {
147  return CreateMaybeMessage<Wrench>(nullptr);
148  }
149 
150  Wrench* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
151  return CreateMaybeMessage<Wrench>(arena);
152  }
153  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
154  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
155  void CopyFrom(const Wrench& from);
156  void MergeFrom(const Wrench& from);
157  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
158  bool IsInitialized() const final;
159 
160  size_t ByteSizeLong() const final;
161  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
162  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164  int GetCachedSize() const final { return _cached_size_.Get(); }
165 
166  private:
167  inline void SharedCtor();
168  inline void SharedDtor();
169  void SetCachedSize(int size) const final;
170  void InternalSwap(Wrench* other);
171  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173  return "ignition.msgs.Wrench";
174  }
175  protected:
176  explicit Wrench(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177  private:
178  static void ArenaDtor(void* object);
179  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  public:
181 
182  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
183  private:
184  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
185  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fwrench_2eproto);
186  return ::descriptor_table_ignition_2fmsgs_2fwrench_2eproto.file_level_metadata[kIndexInFileMessages];
187  }
188 
189  public:
190 
191  // nested types ----------------------------------------------------
192 
193  // accessors -------------------------------------------------------
194 
195  enum : int {
196  kHeaderFieldNumber = 1,
197  kForceFieldNumber = 2,
198  kTorqueFieldNumber = 3,
199  kForceOffsetFieldNumber = 4,
200  };
201  // .ignition.msgs.Header header = 1;
202  bool has_header() const;
203  private:
204  bool _internal_has_header() const;
205  public:
206  void clear_header();
207  const ::ignition::msgs::Header& header() const;
208  ::ignition::msgs::Header* release_header();
209  ::ignition::msgs::Header* mutable_header();
210  void set_allocated_header(::ignition::msgs::Header* header);
211  private:
212  const ::ignition::msgs::Header& _internal_header() const;
213  ::ignition::msgs::Header* _internal_mutable_header();
214  public:
216  ::ignition::msgs::Header* header);
217  ::ignition::msgs::Header* unsafe_arena_release_header();
218 
219  // .ignition.msgs.Vector3d force = 2;
220  bool has_force() const;
221  private:
222  bool _internal_has_force() const;
223  public:
224  void clear_force();
225  const ::ignition::msgs::Vector3d& force() const;
226  ::ignition::msgs::Vector3d* release_force();
227  ::ignition::msgs::Vector3d* mutable_force();
228  void set_allocated_force(::ignition::msgs::Vector3d* force);
229  private:
230  const ::ignition::msgs::Vector3d& _internal_force() const;
231  ::ignition::msgs::Vector3d* _internal_mutable_force();
232  public:
234  ::ignition::msgs::Vector3d* force);
235  ::ignition::msgs::Vector3d* unsafe_arena_release_force();
236 
237  // .ignition.msgs.Vector3d torque = 3;
238  bool has_torque() const;
239  private:
240  bool _internal_has_torque() const;
241  public:
242  void clear_torque();
243  const ::ignition::msgs::Vector3d& torque() const;
244  ::ignition::msgs::Vector3d* release_torque();
245  ::ignition::msgs::Vector3d* mutable_torque();
246  void set_allocated_torque(::ignition::msgs::Vector3d* torque);
247  private:
248  const ::ignition::msgs::Vector3d& _internal_torque() const;
249  ::ignition::msgs::Vector3d* _internal_mutable_torque();
250  public:
252  ::ignition::msgs::Vector3d* torque);
253  ::ignition::msgs::Vector3d* unsafe_arena_release_torque();
254 
255  // .ignition.msgs.Vector3d force_offset = 4;
256  bool has_force_offset() const;
257  private:
258  bool _internal_has_force_offset() const;
259  public:
261  const ::ignition::msgs::Vector3d& force_offset() const;
262  ::ignition::msgs::Vector3d* release_force_offset();
263  ::ignition::msgs::Vector3d* mutable_force_offset();
264  void set_allocated_force_offset(::ignition::msgs::Vector3d* force_offset);
265  private:
266  const ::ignition::msgs::Vector3d& _internal_force_offset() const;
267  ::ignition::msgs::Vector3d* _internal_mutable_force_offset();
268  public:
270  ::ignition::msgs::Vector3d* force_offset);
271  ::ignition::msgs::Vector3d* unsafe_arena_release_force_offset();
272 
273  // @@protoc_insertion_point(class_scope:ignition.msgs.Wrench)
274  private:
275  class _Internal;
276 
277  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
278  typedef void InternalArenaConstructable_;
279  typedef void DestructorSkippable_;
280  ::ignition::msgs::Header* header_;
281  ::ignition::msgs::Vector3d* force_;
282  ::ignition::msgs::Vector3d* torque_;
283  ::ignition::msgs::Vector3d* force_offset_;
284  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
285  friend struct ::TableStruct_ignition_2fmsgs_2fwrench_2eproto;
286 };
287 // ===================================================================
288 
289 
290 // ===================================================================
291 
292 #ifdef __GNUC__
293  #pragma GCC diagnostic push
294  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
295 #endif // __GNUC__
296 // Wrench
297 
298 // .ignition.msgs.Header header = 1;
299 inline bool Wrench::_internal_has_header() const {
300  return this != internal_default_instance() && header_ != nullptr;
301 }
302 inline bool Wrench::has_header() const {
303  return _internal_has_header();
304 }
305 inline const ::ignition::msgs::Header& Wrench::_internal_header() const {
306  const ::ignition::msgs::Header* p = header_;
307  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
309 }
310 inline const ::ignition::msgs::Header& Wrench::header() const {
311  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.header)
312  return _internal_header();
313 }
314 inline void Wrench::unsafe_arena_set_allocated_header(
315  ::ignition::msgs::Header* header) {
316  if (GetArena() == nullptr) {
317  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
318  }
319  header_ = header;
320  if (header) {
321 
322  } else {
323 
324  }
325  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.header)
326 }
327 inline ::ignition::msgs::Header* Wrench::release_header() {
328 
329  ::ignition::msgs::Header* temp = header_;
330  header_ = nullptr;
331  if (GetArena() != nullptr) {
332  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
333  }
334  return temp;
335 }
336 inline ::ignition::msgs::Header* Wrench::unsafe_arena_release_header() {
337  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.header)
338 
339  ::ignition::msgs::Header* temp = header_;
340  header_ = nullptr;
341  return temp;
342 }
343 inline ::ignition::msgs::Header* Wrench::_internal_mutable_header() {
344 
345  if (header_ == nullptr) {
346  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
347  header_ = p;
348  }
349  return header_;
350 }
351 inline ::ignition::msgs::Header* Wrench::mutable_header() {
352  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.header)
353  return _internal_mutable_header();
354 }
355 inline void Wrench::set_allocated_header(::ignition::msgs::Header* header) {
356  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
357  if (message_arena == nullptr) {
358  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
359  }
360  if (header) {
361  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
362  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
363  if (message_arena != submessage_arena) {
364  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
365  message_arena, header, submessage_arena);
366  }
367 
368  } else {
369 
370  }
371  header_ = header;
372  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.header)
373 }
374 
375 // .ignition.msgs.Vector3d force = 2;
376 inline bool Wrench::_internal_has_force() const {
377  return this != internal_default_instance() && force_ != nullptr;
378 }
379 inline bool Wrench::has_force() const {
380  return _internal_has_force();
381 }
382 inline const ::ignition::msgs::Vector3d& Wrench::_internal_force() const {
383  const ::ignition::msgs::Vector3d* p = force_;
384  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
386 }
387 inline const ::ignition::msgs::Vector3d& Wrench::force() const {
388  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.force)
389  return _internal_force();
390 }
391 inline void Wrench::unsafe_arena_set_allocated_force(
392  ::ignition::msgs::Vector3d* force) {
393  if (GetArena() == nullptr) {
394  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_);
395  }
396  force_ = force;
397  if (force) {
398 
399  } else {
400 
401  }
402  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.force)
403 }
404 inline ::ignition::msgs::Vector3d* Wrench::release_force() {
405 
406  ::ignition::msgs::Vector3d* temp = force_;
407  force_ = nullptr;
408  if (GetArena() != nullptr) {
409  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
410  }
411  return temp;
412 }
413 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_force() {
414  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.force)
415 
416  ::ignition::msgs::Vector3d* temp = force_;
417  force_ = nullptr;
418  return temp;
419 }
420 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_force() {
421 
422  if (force_ == nullptr) {
423  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
424  force_ = p;
425  }
426  return force_;
427 }
428 inline ::ignition::msgs::Vector3d* Wrench::mutable_force() {
429  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.force)
430  return _internal_mutable_force();
431 }
432 inline void Wrench::set_allocated_force(::ignition::msgs::Vector3d* force) {
433  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
434  if (message_arena == nullptr) {
435  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_);
436  }
437  if (force) {
438  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
439  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force)->GetArena();
440  if (message_arena != submessage_arena) {
441  force = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
442  message_arena, force, submessage_arena);
443  }
444 
445  } else {
446 
447  }
448  force_ = force;
449  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.force)
450 }
451 
452 // .ignition.msgs.Vector3d torque = 3;
453 inline bool Wrench::_internal_has_torque() const {
454  return this != internal_default_instance() && torque_ != nullptr;
455 }
456 inline bool Wrench::has_torque() const {
457  return _internal_has_torque();
458 }
459 inline const ::ignition::msgs::Vector3d& Wrench::_internal_torque() const {
460  const ::ignition::msgs::Vector3d* p = torque_;
461  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
463 }
464 inline const ::ignition::msgs::Vector3d& Wrench::torque() const {
465  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.torque)
466  return _internal_torque();
467 }
468 inline void Wrench::unsafe_arena_set_allocated_torque(
469  ::ignition::msgs::Vector3d* torque) {
470  if (GetArena() == nullptr) {
471  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque_);
472  }
473  torque_ = torque;
474  if (torque) {
475 
476  } else {
477 
478  }
479  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.torque)
480 }
481 inline ::ignition::msgs::Vector3d* Wrench::release_torque() {
482 
483  ::ignition::msgs::Vector3d* temp = torque_;
484  torque_ = nullptr;
485  if (GetArena() != nullptr) {
486  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
487  }
488  return temp;
489 }
490 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_torque() {
491  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.torque)
492 
493  ::ignition::msgs::Vector3d* temp = torque_;
494  torque_ = nullptr;
495  return temp;
496 }
497 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_torque() {
498 
499  if (torque_ == nullptr) {
500  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
501  torque_ = p;
502  }
503  return torque_;
504 }
505 inline ::ignition::msgs::Vector3d* Wrench::mutable_torque() {
506  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.torque)
507  return _internal_mutable_torque();
508 }
509 inline void Wrench::set_allocated_torque(::ignition::msgs::Vector3d* torque) {
510  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
511  if (message_arena == nullptr) {
512  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque_);
513  }
514  if (torque) {
515  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
516  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque)->GetArena();
517  if (message_arena != submessage_arena) {
518  torque = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
519  message_arena, torque, submessage_arena);
520  }
521 
522  } else {
523 
524  }
525  torque_ = torque;
526  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.torque)
527 }
528 
529 // .ignition.msgs.Vector3d force_offset = 4;
530 inline bool Wrench::_internal_has_force_offset() const {
531  return this != internal_default_instance() && force_offset_ != nullptr;
532 }
533 inline bool Wrench::has_force_offset() const {
534  return _internal_has_force_offset();
535 }
536 inline const ::ignition::msgs::Vector3d& Wrench::_internal_force_offset() const {
537  const ::ignition::msgs::Vector3d* p = force_offset_;
538  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
540 }
541 inline const ::ignition::msgs::Vector3d& Wrench::force_offset() const {
542  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.force_offset)
543  return _internal_force_offset();
544 }
545 inline void Wrench::unsafe_arena_set_allocated_force_offset(
546  ::ignition::msgs::Vector3d* force_offset) {
547  if (GetArena() == nullptr) {
548  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset_);
549  }
550  force_offset_ = force_offset;
551  if (force_offset) {
552 
553  } else {
554 
555  }
556  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.force_offset)
557 }
558 inline ::ignition::msgs::Vector3d* Wrench::release_force_offset() {
559 
560  ::ignition::msgs::Vector3d* temp = force_offset_;
561  force_offset_ = nullptr;
562  if (GetArena() != nullptr) {
563  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
564  }
565  return temp;
566 }
567 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_force_offset() {
568  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.force_offset)
569 
570  ::ignition::msgs::Vector3d* temp = force_offset_;
571  force_offset_ = nullptr;
572  return temp;
573 }
574 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_force_offset() {
575 
576  if (force_offset_ == nullptr) {
577  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
578  force_offset_ = p;
579  }
580  return force_offset_;
581 }
582 inline ::ignition::msgs::Vector3d* Wrench::mutable_force_offset() {
583  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.force_offset)
584  return _internal_mutable_force_offset();
585 }
586 inline void Wrench::set_allocated_force_offset(::ignition::msgs::Vector3d* force_offset) {
587  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
588  if (message_arena == nullptr) {
589  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset_);
590  }
591  if (force_offset) {
592  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
593  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset)->GetArena();
594  if (message_arena != submessage_arena) {
595  force_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
596  message_arena, force_offset, submessage_arena);
597  }
598 
599  } else {
600 
601  }
602  force_offset_ = force_offset;
603  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.force_offset)
604 }
605 
606 #ifdef __GNUC__
607  #pragma GCC diagnostic pop
608 #endif // __GNUC__
609 
614 // @@protoc_insertion_point(namespace_scope)
615 
616 } // namespace msgs
617 } // namespace ignition
618 
619 #ifdef _MSC_VER
620 #pragma warning(pop)
621 #endif
622 // @@protoc_insertion_point(global_scope)
623 
624 #include <google/protobuf/port_undef.inc>
625 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwrench_2eproto
const ::ignition::msgs::Vector3d & torque() const
void unsafe_arena_set_allocated_torque(::ignition::msgs::Vector3d *torque)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: wrench.pb.h:115
Wrench(Wrench &&from) noexcept
Definition: wrench.pb.h:91
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void unsafe_arena_set_allocated_force(::ignition::msgs::Vector3d *force)
::ignition::msgs::Header * mutable_header()
::ignition::msgs::Vector3d * release_torque()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: wrench.pb.h:109
static const Wrench * internal_default_instance()
Definition: wrench.pb.h:120
Wrench(const Wrench &from)
static const Wrench & default_instance()
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
::ignition::msgs::Vector3d * release_force_offset()
void Swap(Wrench *other)
Definition: wrench.pb.h:130
void set_allocated_torque(::ignition::msgs::Vector3d *torque)
::ignition::msgs::Vector3d * mutable_torque()
Wrench()
Definition: wrench.pb.h:87
void set_allocated_force(::ignition::msgs::Vector3d *force)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Vector3d & force_offset() const
void UnsafeArenaSwap(Wrench *other)
Definition: wrench.pb.h:138
friend void swap(Wrench &a, Wrench &b)
Definition: wrench.pb.h:127
Wrench & operator=(const Wrench &from)
Definition: wrench.pb.h:96
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Wrench & operator=(Wrench &&from) noexcept
Definition: wrench.pb.h:100
void set_allocated_header(::ignition::msgs::Header *header)
void unsafe_arena_set_allocated_force_offset(::ignition::msgs::Vector3d *force_offset)
::ignition::msgs::Vector3d * unsafe_arena_release_force()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::ignition::msgs::Vector3d * mutable_force_offset()
::ignition::msgs::Vector3d * mutable_force()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: wrench.pb.h:112
void CopyFrom(const Wrench &from)
::ignition::msgs::Vector3d * unsafe_arena_release_force_offset()
Wrench * New() const final
Definition: wrench.pb.h:146
const ::ignition::msgs::Vector3d & force() const
void MergeFrom(const Wrench &from)
void set_allocated_force_offset(::ignition::msgs::Vector3d *force_offset)
::ignition::msgs::Vector3d * release_force()
::ignition::msgs::Vector3d * unsafe_arena_release_torque()
const ::ignition::msgs::Header & header() const
Wrench * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: wrench.pb.h:150
Wrench(::PROTOBUF_NAMESPACE_ID::Arena *arena)
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< Wrench > WrenchUniquePtr
Definition: wrench.pb.h:610
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Wrench > WrenchSharedPtr
Definition: wrench.pb.h:612
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
std::shared_ptr< const Wrench > ConstWrenchSharedPtr
Definition: wrench.pb.h:613
std::unique_ptr< const Wrench > ConstWrenchUniquePtr
Definition: wrench.pb.h:611
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[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fwrench_2eproto