Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/inertial.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/inertial.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2finertial_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2finertial_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_2finertial_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[1];
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_2finertial_2eproto
61 namespace ignition {
62 namespace msgs {
63 class Inertial;
64 class InertialDefaultTypeInternal;
65 IGNITION_MSGS_VISIBLE extern InertialDefaultTypeInternal _Inertial_default_instance_;
66 } // namespace msgs
67 } // namespace ignition
68 namespace google {
69 namespace protobuf {
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Inertial* Arena::CreateMaybeMessage<::ignition::msgs::Inertial>(Arena*);
71 } // namespace protobuf
72 } // namespace google
73 namespace ignition {
74 namespace msgs {
75 
76 // ===================================================================
77 
78 class IGNITION_MSGS_VISIBLE Inertial : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Inertial) */ {
79  public:
80  Inertial();
81  virtual ~Inertial();
82 
83  Inertial(const Inertial& from);
84 
85  inline Inertial& operator=(const Inertial& from) {
86  CopyFrom(from);
87  return *this;
88  }
89  #if LANG_CXX11
90  Inertial(Inertial&& from) noexcept
91  : Inertial() {
92  *this = ::std::move(from);
93  }
94 
95  inline Inertial& operator=(Inertial&& from) noexcept {
96  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
97  if (this != &from) InternalSwap(&from);
98  } else {
99  CopyFrom(from);
100  }
101  return *this;
102  }
103  #endif
104  static const ::google::protobuf::Descriptor* descriptor();
105  static const Inertial& default_instance();
106 
107  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
108  static inline const Inertial* internal_default_instance() {
109  return reinterpret_cast<const Inertial*>(
111  }
112  static constexpr int kIndexInFileMessages =
113  0;
114 
115  void Swap(Inertial* other);
116  friend void swap(Inertial& a, Inertial& b) {
117  a.Swap(&b);
118  }
119 
120  // implements Message ----------------------------------------------
121 
122  inline Inertial* New() const final {
123  return CreateMaybeMessage<Inertial>(NULL);
124  }
125 
126  Inertial* New(::google::protobuf::Arena* arena) const final {
127  return CreateMaybeMessage<Inertial>(arena);
128  }
129  void CopyFrom(const ::google::protobuf::Message& from) final;
130  void MergeFrom(const ::google::protobuf::Message& from) final;
131  void CopyFrom(const Inertial& from);
132  void MergeFrom(const Inertial& from);
133  void Clear() final;
134  bool IsInitialized() const final;
135 
136  size_t ByteSizeLong() const final;
137  bool MergePartialFromCodedStream(
138  ::google::protobuf::io::CodedInputStream* input) final;
139  void SerializeWithCachedSizes(
140  ::google::protobuf::io::CodedOutputStream* output) const final;
141  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
142  bool deterministic, ::google::protobuf::uint8* target) const final;
143  int GetCachedSize() const final { return _cached_size_.Get(); }
144 
145  private:
146  void SharedCtor();
147  void SharedDtor();
148  void SetCachedSize(int size) const final;
149  void InternalSwap(Inertial* other);
150  private:
151  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
152  return NULL;
153  }
154  inline void* MaybeArenaPtr() const {
155  return NULL;
156  }
157  public:
158 
159  ::google::protobuf::Metadata GetMetadata() const final;
160 
161  // nested types ----------------------------------------------------
162 
163  // accessors -------------------------------------------------------
164 
165  // .ignition.msgs.Header header = 1;
166  bool has_header() const;
167  void clear_header();
168  static const int kHeaderFieldNumber = 1;
169  private:
170  const ::ignition::msgs::Header& _internal_header() const;
171  public:
172  const ::ignition::msgs::Header& header() const;
173  ::ignition::msgs::Header* release_header();
174  ::ignition::msgs::Header* mutable_header();
175  void set_allocated_header(::ignition::msgs::Header* header);
176 
177  // .ignition.msgs.Pose pose = 3;
178  bool has_pose() const;
179  void clear_pose();
180  static const int kPoseFieldNumber = 3;
181  private:
182  const ::ignition::msgs::Pose& _internal_pose() const;
183  public:
184  const ::ignition::msgs::Pose& pose() const;
185  ::ignition::msgs::Pose* release_pose();
186  ::ignition::msgs::Pose* mutable_pose();
187  void set_allocated_pose(::ignition::msgs::Pose* pose);
188 
189  // double mass = 2;
190  void clear_mass();
191  static const int kMassFieldNumber = 2;
192  double mass() const;
193  void set_mass(double value);
194 
195  // double ixx = 4;
196  void clear_ixx();
197  static const int kIxxFieldNumber = 4;
198  double ixx() const;
199  void set_ixx(double value);
200 
201  // double ixy = 5;
202  void clear_ixy();
203  static const int kIxyFieldNumber = 5;
204  double ixy() const;
205  void set_ixy(double value);
206 
207  // double ixz = 6;
208  void clear_ixz();
209  static const int kIxzFieldNumber = 6;
210  double ixz() const;
211  void set_ixz(double value);
212 
213  // double iyy = 7;
214  void clear_iyy();
215  static const int kIyyFieldNumber = 7;
216  double iyy() const;
217  void set_iyy(double value);
218 
219  // double iyz = 8;
220  void clear_iyz();
221  static const int kIyzFieldNumber = 8;
222  double iyz() const;
223  void set_iyz(double value);
224 
225  // double izz = 9;
226  void clear_izz();
227  static const int kIzzFieldNumber = 9;
228  double izz() const;
229  void set_izz(double value);
230 
231  // @@protoc_insertion_point(class_scope:ignition.msgs.Inertial)
232  private:
233 
234  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
235  ::ignition::msgs::Header* header_;
236  ::ignition::msgs::Pose* pose_;
237  double mass_;
238  double ixx_;
239  double ixy_;
240  double ixz_;
241  double iyy_;
242  double iyz_;
243  double izz_;
244  mutable ::google::protobuf::internal::CachedSize _cached_size_;
245  friend struct ::protobuf_ignition_2fmsgs_2finertial_2eproto::TableStruct;
246 };
247 // ===================================================================
248 
249 
250 // ===================================================================
251 
252 #ifdef __GNUC__
253  #pragma GCC diagnostic push
254  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
255 #endif // __GNUC__
256 // Inertial
257 
258 // .ignition.msgs.Header header = 1;
259 inline bool Inertial::has_header() const {
260  return this != internal_default_instance() && header_ != NULL;
261 }
262 inline const ::ignition::msgs::Header& Inertial::_internal_header() const {
263  return *header_;
264 }
265 inline const ::ignition::msgs::Header& Inertial::header() const {
266  const ::ignition::msgs::Header* p = header_;
267  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.header)
268  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
270 }
271 inline ::ignition::msgs::Header* Inertial::release_header() {
272  // @@protoc_insertion_point(field_release:ignition.msgs.Inertial.header)
273 
274  ::ignition::msgs::Header* temp = header_;
275  header_ = NULL;
276  return temp;
277 }
278 inline ::ignition::msgs::Header* Inertial::mutable_header() {
279 
280  if (header_ == NULL) {
281  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
282  header_ = p;
283  }
284  // @@protoc_insertion_point(field_mutable:ignition.msgs.Inertial.header)
285  return header_;
286 }
288  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
289  if (message_arena == NULL) {
290  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
291  }
292  if (header) {
293  ::google::protobuf::Arena* submessage_arena = NULL;
294  if (message_arena != submessage_arena) {
295  header = ::google::protobuf::internal::GetOwnedMessage(
296  message_arena, header, submessage_arena);
297  }
298 
299  } else {
300 
301  }
302  header_ = header;
303  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Inertial.header)
304 }
305 
306 // double mass = 2;
307 inline void Inertial::clear_mass() {
308  mass_ = 0;
309 }
310 inline double Inertial::mass() const {
311  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.mass)
312  return mass_;
313 }
314 inline void Inertial::set_mass(double value) {
315 
316  mass_ = value;
317  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.mass)
318 }
319 
320 // .ignition.msgs.Pose pose = 3;
321 inline bool Inertial::has_pose() const {
322  return this != internal_default_instance() && pose_ != NULL;
323 }
324 inline const ::ignition::msgs::Pose& Inertial::_internal_pose() const {
325  return *pose_;
326 }
327 inline const ::ignition::msgs::Pose& Inertial::pose() const {
328  const ::ignition::msgs::Pose* p = pose_;
329  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.pose)
330  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Pose*>(
332 }
333 inline ::ignition::msgs::Pose* Inertial::release_pose() {
334  // @@protoc_insertion_point(field_release:ignition.msgs.Inertial.pose)
335 
336  ::ignition::msgs::Pose* temp = pose_;
337  pose_ = NULL;
338  return temp;
339 }
340 inline ::ignition::msgs::Pose* Inertial::mutable_pose() {
341 
342  if (pose_ == NULL) {
343  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaNoVirtual());
344  pose_ = p;
345  }
346  // @@protoc_insertion_point(field_mutable:ignition.msgs.Inertial.pose)
347  return pose_;
348 }
350  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
351  if (message_arena == NULL) {
352  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
353  }
354  if (pose) {
355  ::google::protobuf::Arena* submessage_arena = NULL;
356  if (message_arena != submessage_arena) {
357  pose = ::google::protobuf::internal::GetOwnedMessage(
358  message_arena, pose, submessage_arena);
359  }
360 
361  } else {
362 
363  }
364  pose_ = pose;
365  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Inertial.pose)
366 }
367 
368 // double ixx = 4;
369 inline void Inertial::clear_ixx() {
370  ixx_ = 0;
371 }
372 inline double Inertial::ixx() const {
373  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.ixx)
374  return ixx_;
375 }
376 inline void Inertial::set_ixx(double value) {
377 
378  ixx_ = value;
379  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.ixx)
380 }
381 
382 // double ixy = 5;
383 inline void Inertial::clear_ixy() {
384  ixy_ = 0;
385 }
386 inline double Inertial::ixy() const {
387  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.ixy)
388  return ixy_;
389 }
390 inline void Inertial::set_ixy(double value) {
391 
392  ixy_ = value;
393  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.ixy)
394 }
395 
396 // double ixz = 6;
397 inline void Inertial::clear_ixz() {
398  ixz_ = 0;
399 }
400 inline double Inertial::ixz() const {
401  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.ixz)
402  return ixz_;
403 }
404 inline void Inertial::set_ixz(double value) {
405 
406  ixz_ = value;
407  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.ixz)
408 }
409 
410 // double iyy = 7;
411 inline void Inertial::clear_iyy() {
412  iyy_ = 0;
413 }
414 inline double Inertial::iyy() const {
415  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.iyy)
416  return iyy_;
417 }
418 inline void Inertial::set_iyy(double value) {
419 
420  iyy_ = value;
421  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.iyy)
422 }
423 
424 // double iyz = 8;
425 inline void Inertial::clear_iyz() {
426  iyz_ = 0;
427 }
428 inline double Inertial::iyz() const {
429  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.iyz)
430  return iyz_;
431 }
432 inline void Inertial::set_iyz(double value) {
433 
434  iyz_ = value;
435  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.iyz)
436 }
437 
438 // double izz = 9;
439 inline void Inertial::clear_izz() {
440  izz_ = 0;
441 }
442 inline double Inertial::izz() const {
443  // @@protoc_insertion_point(field_get:ignition.msgs.Inertial.izz)
444  return izz_;
445 }
446 inline void Inertial::set_izz(double value) {
447 
448  izz_ = value;
449  // @@protoc_insertion_point(field_set:ignition.msgs.Inertial.izz)
450 }
451 
452 #ifdef __GNUC__
453  #pragma GCC diagnostic pop
454 #endif // __GNUC__
455 
460 // @@protoc_insertion_point(namespace_scope)
461 
462 } // namespace msgs
463 } // namespace ignition
464 
465 #ifdef _MSC_VER
466 #pragma warning(pop)
467 #endif
468 // @@protoc_insertion_point(global_scope)
469 
470 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2finertial_2eproto
std::unique_ptr< const Inertial > ConstInertialUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:457
double ixy() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:386
std::shared_ptr< const Inertial > ConstInertialSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:459
IGNITION_MSGS_VISIBLE InertialDefaultTypeInternal _Inertial_default_instance_
void clear_iyy()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:411
STL class.
std::shared_ptr< Inertial > InertialSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:458
bool has_pose() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:321
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:271
Definition: build/ignition-msgs5/include/ignition/msgs/pose.pb.h:79
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:278
void Swap(Inertial *other)
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
::ignition::msgs::Pose * mutable_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:340
void set_ixx(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:376
double mass() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:310
void clear_mass()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:307
Inertial & operator=(const Inertial &from)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:85
Inertial * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:122
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:78
void IGNITION_MSGS_VISIBLE AddDescriptors()
void clear_ixy()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:383
void set_iyy(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:418
double ixx() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:372
std::unique_ptr< Inertial > InertialUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:456
static const Inertial * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:108
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:259
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:49
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:287
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:265
const ::ignition::msgs::Pose & pose() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:327
void clear_iyz()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:425
void clear_ixx()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:369
Inertial * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:126
double izz() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:442
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:51
void set_iyz(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:432
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
double iyz() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:428
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
void clear_ixz()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:397
void set_ixz(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:404
void set_izz(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:446
double iyy() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:414
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:349
void clear_izz()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:439
void set_ixy(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:390
::ignition::msgs::Pose * release_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:333
double ixz() const
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:400
STL class.
void set_mass(double value)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:314
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
friend void swap(Inertial &a, Inertial &b)
Definition: build/ignition-msgs5/include/ignition/msgs/inertial.pb.h:116