Gazebo Msgs

API Reference

8.7.1
build/ignition-msgs8/include/ignition/msgs/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 < 3012000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3012004 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
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/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/generated_message_reflection.h>
31 #include <google/protobuf/message.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/unknown_field_set.h>
37 #ifndef _MSC_VER
38 #pragma GCC system_header
39 #else
40 #pragma warning(push)
41 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #endif
43 #ifdef __linux__
44 #include <sys/sysmacros.h>
45 #endif
46 #include <memory>
47 #include <ignition/msgs/Export.hh>
48 // @@protoc_insertion_point(includes)
49 #include <google/protobuf/port_def.inc>
50 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fwrench_2eproto IGNITION_MSGS_VISIBLE
51 PROTOBUF_NAMESPACE_OPEN
52 namespace internal {
53 class AnyMetadata;
54 } // namespace internal
55 PROTOBUF_NAMESPACE_CLOSE
56 
57 // Internal implementation detail -- do not use these members.
58 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2fwrench_2eproto {
59  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
61  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
66  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
67  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
68 };
69 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fwrench_2eproto;
70 namespace ignition {
71 namespace msgs {
72 class Wrench;
73 class WrenchDefaultTypeInternal;
74 IGNITION_MSGS_VISIBLE extern WrenchDefaultTypeInternal _Wrench_default_instance_;
75 } // namespace msgs
76 } // namespace ignition
77 PROTOBUF_NAMESPACE_OPEN
78 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Wrench* Arena::CreateMaybeMessage<::ignition::msgs::Wrench>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 namespace ignition {
81 namespace msgs {
82 
83 // ===================================================================
84 
85 class IGNITION_MSGS_VISIBLE Wrench PROTOBUF_FINAL :
86  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Wrench) */ {
87  public:
88  inline Wrench() : Wrench(nullptr) {};
89  virtual ~Wrench();
90 
91  Wrench(const Wrench& from);
92  Wrench(Wrench&& from) noexcept
93  : Wrench() {
94  *this = ::std::move(from);
95  }
96 
97  inline Wrench& operator=(const Wrench& from) {
98  CopyFrom(from);
99  return *this;
100  }
101  inline Wrench& operator=(Wrench&& from) noexcept {
102  if (GetArena() == from.GetArena()) {
103  if (this != &from) InternalSwap(&from);
104  } else {
105  CopyFrom(from);
106  }
107  return *this;
108  }
109 
110  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
111  return GetDescriptor();
112  }
113  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
114  return GetMetadataStatic().descriptor;
115  }
116  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
117  return GetMetadataStatic().reflection;
118  }
119  static const Wrench& default_instance();
120 
121  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
122  static inline const Wrench* internal_default_instance() {
123  return reinterpret_cast<const Wrench*>(
125  }
126  static constexpr int kIndexInFileMessages =
127  0;
128 
129  friend void swap(Wrench& a, Wrench& b) {
130  a.Swap(&b);
131  }
132  inline void Swap(Wrench* other) {
133  if (other == this) return;
134  if (GetArena() == other->GetArena()) {
135  InternalSwap(other);
136  } else {
137  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
138  }
139  }
140  void UnsafeArenaSwap(Wrench* other) {
141  if (other == this) return;
142  GOOGLE_DCHECK(GetArena() == other->GetArena());
143  InternalSwap(other);
144  }
145 
146  // implements Message ----------------------------------------------
147 
148  inline Wrench* New() const final {
149  return CreateMaybeMessage<Wrench>(nullptr);
150  }
151 
152  Wrench* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
153  return CreateMaybeMessage<Wrench>(arena);
154  }
155  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
156  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void CopyFrom(const Wrench& from);
158  void MergeFrom(const Wrench& from);
159  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
160  bool IsInitialized() const final;
161 
162  size_t ByteSizeLong() const final;
163  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
164  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
165  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
166  int GetCachedSize() const final { return _cached_size_.Get(); }
167 
168  private:
169  inline void SharedCtor();
170  inline void SharedDtor();
171  void SetCachedSize(int size) const final;
172  void InternalSwap(Wrench* other);
173  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
174  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
175  return "ignition.msgs.Wrench";
176  }
177  protected:
178  explicit Wrench(::PROTOBUF_NAMESPACE_ID::Arena* arena);
179  private:
180  static void ArenaDtor(void* object);
181  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
182  public:
183 
184  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
185  private:
186  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
187  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2fwrench_2eproto);
188  return ::descriptor_table_ignition_2fmsgs_2fwrench_2eproto.file_level_metadata[kIndexInFileMessages];
189  }
190 
191  public:
192 
193  // nested types ----------------------------------------------------
194 
195  // accessors -------------------------------------------------------
196 
197  enum : int {
198  kHeaderFieldNumber = 1,
199  kForceFieldNumber = 2,
200  kTorqueFieldNumber = 3,
201  kForceOffsetFieldNumber = 4,
202  };
203  // .ignition.msgs.Header header = 1;
204  bool has_header() const;
205  private:
206  bool _internal_has_header() const;
207  public:
208  void clear_header();
209  const ::ignition::msgs::Header& header() const;
210  ::ignition::msgs::Header* release_header();
211  ::ignition::msgs::Header* mutable_header();
212  void set_allocated_header(::ignition::msgs::Header* header);
213  private:
214  const ::ignition::msgs::Header& _internal_header() const;
215  ::ignition::msgs::Header* _internal_mutable_header();
216  public:
218  ::ignition::msgs::Header* header);
219  ::ignition::msgs::Header* unsafe_arena_release_header();
220 
221  // .ignition.msgs.Vector3d force = 2;
222  bool has_force() const;
223  private:
224  bool _internal_has_force() const;
225  public:
226  void clear_force();
227  const ::ignition::msgs::Vector3d& force() const;
228  ::ignition::msgs::Vector3d* release_force();
229  ::ignition::msgs::Vector3d* mutable_force();
230  void set_allocated_force(::ignition::msgs::Vector3d* force);
231  private:
232  const ::ignition::msgs::Vector3d& _internal_force() const;
233  ::ignition::msgs::Vector3d* _internal_mutable_force();
234  public:
236  ::ignition::msgs::Vector3d* force);
237  ::ignition::msgs::Vector3d* unsafe_arena_release_force();
238 
239  // .ignition.msgs.Vector3d torque = 3;
240  bool has_torque() const;
241  private:
242  bool _internal_has_torque() const;
243  public:
244  void clear_torque();
245  const ::ignition::msgs::Vector3d& torque() const;
246  ::ignition::msgs::Vector3d* release_torque();
247  ::ignition::msgs::Vector3d* mutable_torque();
248  void set_allocated_torque(::ignition::msgs::Vector3d* torque);
249  private:
250  const ::ignition::msgs::Vector3d& _internal_torque() const;
251  ::ignition::msgs::Vector3d* _internal_mutable_torque();
252  public:
254  ::ignition::msgs::Vector3d* torque);
255  ::ignition::msgs::Vector3d* unsafe_arena_release_torque();
256 
257  // .ignition.msgs.Vector3d force_offset = 4;
258  bool has_force_offset() const;
259  private:
260  bool _internal_has_force_offset() const;
261  public:
263  const ::ignition::msgs::Vector3d& force_offset() const;
264  ::ignition::msgs::Vector3d* release_force_offset();
265  ::ignition::msgs::Vector3d* mutable_force_offset();
266  void set_allocated_force_offset(::ignition::msgs::Vector3d* force_offset);
267  private:
268  const ::ignition::msgs::Vector3d& _internal_force_offset() const;
269  ::ignition::msgs::Vector3d* _internal_mutable_force_offset();
270  public:
272  ::ignition::msgs::Vector3d* force_offset);
273  ::ignition::msgs::Vector3d* unsafe_arena_release_force_offset();
274 
275  // @@protoc_insertion_point(class_scope:ignition.msgs.Wrench)
276  private:
277  class _Internal;
278 
279  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
280  typedef void InternalArenaConstructable_;
281  typedef void DestructorSkippable_;
282  ::ignition::msgs::Header* header_;
283  ::ignition::msgs::Vector3d* force_;
284  ::ignition::msgs::Vector3d* torque_;
285  ::ignition::msgs::Vector3d* force_offset_;
286  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
287  friend struct ::TableStruct_ignition_2fmsgs_2fwrench_2eproto;
288 };
289 // ===================================================================
290 
291 
292 // ===================================================================
293 
294 #ifdef __GNUC__
295  #pragma GCC diagnostic push
296  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
297 #endif // __GNUC__
298 // Wrench
299 
300 // .ignition.msgs.Header header = 1;
301 inline bool Wrench::_internal_has_header() const {
302  return this != internal_default_instance() && header_ != nullptr;
303 }
304 inline bool Wrench::has_header() const {
305  return _internal_has_header();
306 }
307 inline const ::ignition::msgs::Header& Wrench::_internal_header() const {
308  const ::ignition::msgs::Header* p = header_;
309  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
311 }
312 inline const ::ignition::msgs::Header& Wrench::header() const {
313  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.header)
314  return _internal_header();
315 }
316 inline void Wrench::unsafe_arena_set_allocated_header(
317  ::ignition::msgs::Header* header) {
318  if (GetArena() == nullptr) {
319  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
320  }
321  header_ = header;
322  if (header) {
323 
324  } else {
325 
326  }
327  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.header)
328 }
329 inline ::ignition::msgs::Header* Wrench::release_header() {
330  auto temp = unsafe_arena_release_header();
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  auto temp = unsafe_arena_release_force();
406  if (GetArena() != nullptr) {
407  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
408  }
409  return temp;
410 }
411 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_force() {
412  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.force)
413 
414  ::ignition::msgs::Vector3d* temp = force_;
415  force_ = nullptr;
416  return temp;
417 }
418 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_force() {
419 
420  if (force_ == nullptr) {
421  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
422  force_ = p;
423  }
424  return force_;
425 }
426 inline ::ignition::msgs::Vector3d* Wrench::mutable_force() {
427  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.force)
428  return _internal_mutable_force();
429 }
430 inline void Wrench::set_allocated_force(::ignition::msgs::Vector3d* force) {
431  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
432  if (message_arena == nullptr) {
433  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_);
434  }
435  if (force) {
436  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
437  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force)->GetArena();
438  if (message_arena != submessage_arena) {
439  force = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
440  message_arena, force, submessage_arena);
441  }
442 
443  } else {
444 
445  }
446  force_ = force;
447  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.force)
448 }
449 
450 // .ignition.msgs.Vector3d torque = 3;
451 inline bool Wrench::_internal_has_torque() const {
452  return this != internal_default_instance() && torque_ != nullptr;
453 }
454 inline bool Wrench::has_torque() const {
455  return _internal_has_torque();
456 }
457 inline const ::ignition::msgs::Vector3d& Wrench::_internal_torque() const {
458  const ::ignition::msgs::Vector3d* p = torque_;
459  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
461 }
462 inline const ::ignition::msgs::Vector3d& Wrench::torque() const {
463  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.torque)
464  return _internal_torque();
465 }
466 inline void Wrench::unsafe_arena_set_allocated_torque(
467  ::ignition::msgs::Vector3d* torque) {
468  if (GetArena() == nullptr) {
469  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque_);
470  }
471  torque_ = torque;
472  if (torque) {
473 
474  } else {
475 
476  }
477  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.torque)
478 }
479 inline ::ignition::msgs::Vector3d* Wrench::release_torque() {
480  auto temp = unsafe_arena_release_torque();
481  if (GetArena() != nullptr) {
482  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
483  }
484  return temp;
485 }
486 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_torque() {
487  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.torque)
488 
489  ::ignition::msgs::Vector3d* temp = torque_;
490  torque_ = nullptr;
491  return temp;
492 }
493 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_torque() {
494 
495  if (torque_ == nullptr) {
496  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
497  torque_ = p;
498  }
499  return torque_;
500 }
501 inline ::ignition::msgs::Vector3d* Wrench::mutable_torque() {
502  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.torque)
503  return _internal_mutable_torque();
504 }
505 inline void Wrench::set_allocated_torque(::ignition::msgs::Vector3d* torque) {
506  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
507  if (message_arena == nullptr) {
508  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque_);
509  }
510  if (torque) {
511  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
512  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(torque)->GetArena();
513  if (message_arena != submessage_arena) {
514  torque = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
515  message_arena, torque, submessage_arena);
516  }
517 
518  } else {
519 
520  }
521  torque_ = torque;
522  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.torque)
523 }
524 
525 // .ignition.msgs.Vector3d force_offset = 4;
526 inline bool Wrench::_internal_has_force_offset() const {
527  return this != internal_default_instance() && force_offset_ != nullptr;
528 }
529 inline bool Wrench::has_force_offset() const {
530  return _internal_has_force_offset();
531 }
532 inline const ::ignition::msgs::Vector3d& Wrench::_internal_force_offset() const {
533  const ::ignition::msgs::Vector3d* p = force_offset_;
534  return p != nullptr ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
536 }
537 inline const ::ignition::msgs::Vector3d& Wrench::force_offset() const {
538  // @@protoc_insertion_point(field_get:ignition.msgs.Wrench.force_offset)
539  return _internal_force_offset();
540 }
541 inline void Wrench::unsafe_arena_set_allocated_force_offset(
542  ::ignition::msgs::Vector3d* force_offset) {
543  if (GetArena() == nullptr) {
544  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset_);
545  }
546  force_offset_ = force_offset;
547  if (force_offset) {
548 
549  } else {
550 
551  }
552  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Wrench.force_offset)
553 }
554 inline ::ignition::msgs::Vector3d* Wrench::release_force_offset() {
555  auto temp = unsafe_arena_release_force_offset();
556  if (GetArena() != nullptr) {
557  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
558  }
559  return temp;
560 }
561 inline ::ignition::msgs::Vector3d* Wrench::unsafe_arena_release_force_offset() {
562  // @@protoc_insertion_point(field_release:ignition.msgs.Wrench.force_offset)
563 
564  ::ignition::msgs::Vector3d* temp = force_offset_;
565  force_offset_ = nullptr;
566  return temp;
567 }
568 inline ::ignition::msgs::Vector3d* Wrench::_internal_mutable_force_offset() {
569 
570  if (force_offset_ == nullptr) {
571  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
572  force_offset_ = p;
573  }
574  return force_offset_;
575 }
576 inline ::ignition::msgs::Vector3d* Wrench::mutable_force_offset() {
577  // @@protoc_insertion_point(field_mutable:ignition.msgs.Wrench.force_offset)
578  return _internal_mutable_force_offset();
579 }
580 inline void Wrench::set_allocated_force_offset(::ignition::msgs::Vector3d* force_offset) {
581  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
582  if (message_arena == nullptr) {
583  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset_);
584  }
585  if (force_offset) {
586  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
587  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(force_offset)->GetArena();
588  if (message_arena != submessage_arena) {
589  force_offset = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
590  message_arena, force_offset, submessage_arena);
591  }
592 
593  } else {
594 
595  }
596  force_offset_ = force_offset;
597  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Wrench.force_offset)
598 }
599 
600 #ifdef __GNUC__
601  #pragma GCC diagnostic pop
602 #endif // __GNUC__
603 
608 // @@protoc_insertion_point(namespace_scope)
609 
610 } // namespace msgs
611 } // namespace ignition
612 
613 #ifdef _MSC_VER
614 #pragma warning(pop)
615 #endif
616 // @@protoc_insertion_point(global_scope)
617 
618 #include <google/protobuf/port_undef.inc>
619 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fwrench_2eproto
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:116
Wrench(Wrench &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:92
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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:110
static const Wrench * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:122
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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:132
void set_allocated_torque(::ignition::msgs::Vector3d *torque)
::ignition::msgs::Vector3d * mutable_torque()
Wrench()
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:88
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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:140
friend void swap(Wrench &a, Wrench &b)
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:129
Wrench & operator=(const Wrench &from)
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:97
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Wrench & operator=(Wrench &&from) noexcept
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:101
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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:113
void CopyFrom(const Wrench &from)
::ignition::msgs::Vector3d * unsafe_arena_release_force_offset()
Wrench * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:148
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: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:152
Wrench(::PROTOBUF_NAMESPACE_ID::Arena *arena)
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< Wrench > WrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:604
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< Wrench > WrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:606
IGNITION_MSGS_VISIBLE WrenchDefaultTypeInternal _Wrench_default_instance_
std::shared_ptr< const Wrench > ConstWrenchSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:607
std::unique_ptr< const Wrench > ConstWrenchUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:605
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:53
Definition: build/ignition-msgs8/include/ignition/msgs/wrench.pb.h:58
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)
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)