Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/model.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/model.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_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>
34 #include "ignition/msgs/joint.pb.h"
35 #include "ignition/msgs/link.pb.h"
36 #include "ignition/msgs/pose.pb.h"
40 #ifndef _MSC_VER
41 #pragma GCC system_header
42 #else
43 #pragma warning(push)
44 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
45 #endif
46 #ifdef __linux__
47 #include <sys/sysmacros.h>
48 #endif
49 #include <memory>
50 #include <ignition/msgs/Export.hh>
51 // @@protoc_insertion_point(includes)
52 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fmodel_2eproto IGNITION_MSGS_VISIBLE
53 
55 // Internal implementation detail -- do not use these members.
56 struct IGNITION_MSGS_VISIBLE TableStruct {
57  static const ::google::protobuf::internal::ParseTableField entries[];
58  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
59  static const ::google::protobuf::internal::ParseTable schema[1];
60  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
61  static const ::google::protobuf::internal::SerializationTable serialization_table[];
62  static const ::google::protobuf::uint32 offsets[];
63 };
64 void IGNITION_MSGS_VISIBLE AddDescriptors();
65 } // namespace protobuf_ignition_2fmsgs_2fmodel_2eproto
66 namespace ignition {
67 namespace msgs {
68 class Model;
69 class ModelDefaultTypeInternal;
70 IGNITION_MSGS_VISIBLE extern ModelDefaultTypeInternal _Model_default_instance_;
71 } // namespace msgs
72 } // namespace ignition
73 namespace google {
74 namespace protobuf {
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Model* Arena::CreateMaybeMessage<::ignition::msgs::Model>(Arena*);
76 } // namespace protobuf
77 } // namespace google
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Model : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Model) */ {
84  public:
85  Model();
86  virtual ~Model();
87 
88  Model(const Model& from);
89 
90  inline Model& operator=(const Model& from) {
91  CopyFrom(from);
92  return *this;
93  }
94  #if LANG_CXX11
95  Model(Model&& from) noexcept
96  : Model() {
97  *this = ::std::move(from);
98  }
99 
100  inline Model& operator=(Model&& from) noexcept {
101  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
102  if (this != &from) InternalSwap(&from);
103  } else {
104  CopyFrom(from);
105  }
106  return *this;
107  }
108  #endif
109  static const ::google::protobuf::Descriptor* descriptor();
110  static const Model& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const Model* internal_default_instance() {
114  return reinterpret_cast<const Model*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(Model* other);
121  friend void swap(Model& a, Model& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline Model* New() const final {
128  return CreateMaybeMessage<Model>(NULL);
129  }
130 
131  Model* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<Model>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const Model& from);
137  void MergeFrom(const Model& from);
138  void Clear() final;
139  bool IsInitialized() const final;
140 
141  size_t ByteSizeLong() const final;
142  bool MergePartialFromCodedStream(
143  ::google::protobuf::io::CodedInputStream* input) final;
144  void SerializeWithCachedSizes(
145  ::google::protobuf::io::CodedOutputStream* output) const final;
146  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
147  bool deterministic, ::google::protobuf::uint8* target) const final;
148  int GetCachedSize() const final { return _cached_size_.Get(); }
149 
150  private:
151  void SharedCtor();
152  void SharedDtor();
153  void SetCachedSize(int size) const final;
154  void InternalSwap(Model* other);
155  private:
156  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
157  return NULL;
158  }
159  inline void* MaybeArenaPtr() const {
160  return NULL;
161  }
162  public:
163 
164  ::google::protobuf::Metadata GetMetadata() const final;
165 
166  // nested types ----------------------------------------------------
167 
168  // accessors -------------------------------------------------------
169 
170  // repeated .ignition.msgs.Joint joint = 6;
171  int joint_size() const;
172  void clear_joint();
173  static const int kJointFieldNumber = 6;
174  ::ignition::msgs::Joint* mutable_joint(int index);
175  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
176  mutable_joint();
177  const ::ignition::msgs::Joint& joint(int index) const;
178  ::ignition::msgs::Joint* add_joint();
179  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
180  joint() const;
181 
182  // repeated .ignition.msgs.Link link = 7;
183  int link_size() const;
184  void clear_link();
185  static const int kLinkFieldNumber = 7;
186  ::ignition::msgs::Link* mutable_link(int index);
187  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >*
188  mutable_link();
189  const ::ignition::msgs::Link& link(int index) const;
190  ::ignition::msgs::Link* add_link();
191  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >&
192  link() const;
193 
194  // repeated .ignition.msgs.Visual visual = 9;
195  int visual_size() const;
196  void clear_visual();
197  static const int kVisualFieldNumber = 9;
198  ::ignition::msgs::Visual* mutable_visual(int index);
199  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >*
200  mutable_visual();
201  const ::ignition::msgs::Visual& visual(int index) const;
202  ::ignition::msgs::Visual* add_visual();
203  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >&
204  visual() const;
205 
206  // repeated .ignition.msgs.Model model = 12;
207  int model_size() const;
208  void clear_model();
209  static const int kModelFieldNumber = 12;
210  ::ignition::msgs::Model* mutable_model(int index);
211  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
212  mutable_model();
213  const ::ignition::msgs::Model& model(int index) const;
214  ::ignition::msgs::Model* add_model();
215  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
216  model() const;
217 
218  // string name = 2;
219  void clear_name();
220  static const int kNameFieldNumber = 2;
221  const ::std::string& name() const;
222  void set_name(const ::std::string& value);
223  #if LANG_CXX11
224  void set_name(::std::string&& value);
225  #endif
226  void set_name(const char* value);
227  void set_name(const char* value, size_t size);
228  ::std::string* mutable_name();
229  ::std::string* release_name();
230  void set_allocated_name(::std::string* name);
231 
232  // .ignition.msgs.Header header = 1;
233  bool has_header() const;
234  void clear_header();
235  static const int kHeaderFieldNumber = 1;
236  private:
237  const ::ignition::msgs::Header& _internal_header() const;
238  public:
239  const ::ignition::msgs::Header& header() const;
240  ::ignition::msgs::Header* release_header();
241  ::ignition::msgs::Header* mutable_header();
242  void set_allocated_header(::ignition::msgs::Header* header);
243 
244  // .ignition.msgs.Pose pose = 5;
245  bool has_pose() const;
246  void clear_pose();
247  static const int kPoseFieldNumber = 5;
248  private:
249  const ::ignition::msgs::Pose& _internal_pose() const;
250  public:
251  const ::ignition::msgs::Pose& pose() const;
252  ::ignition::msgs::Pose* release_pose();
253  ::ignition::msgs::Pose* mutable_pose();
254  void set_allocated_pose(::ignition::msgs::Pose* pose);
255 
256  // .ignition.msgs.Vector3d scale = 10;
257  bool has_scale() const;
258  void clear_scale();
259  static const int kScaleFieldNumber = 10;
260  private:
261  const ::ignition::msgs::Vector3d& _internal_scale() const;
262  public:
263  const ::ignition::msgs::Vector3d& scale() const;
264  ::ignition::msgs::Vector3d* release_scale();
265  ::ignition::msgs::Vector3d* mutable_scale();
266  void set_allocated_scale(::ignition::msgs::Vector3d* scale);
267 
268  // .ignition.msgs.AxisAlignedBox bounding_box = 13;
269  bool has_bounding_box() const;
270  void clear_bounding_box();
271  static const int kBoundingBoxFieldNumber = 13;
272  private:
273  const ::ignition::msgs::AxisAlignedBox& _internal_bounding_box() const;
274  public:
275  const ::ignition::msgs::AxisAlignedBox& bounding_box() const;
276  ::ignition::msgs::AxisAlignedBox* release_bounding_box();
277  ::ignition::msgs::AxisAlignedBox* mutable_bounding_box();
278  void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox* bounding_box);
279 
280  // uint32 id = 3;
281  void clear_id();
282  static const int kIdFieldNumber = 3;
283  ::google::protobuf::uint32 id() const;
284  void set_id(::google::protobuf::uint32 value);
285 
286  // bool is_static = 4;
287  void clear_is_static();
288  static const int kIsStaticFieldNumber = 4;
289  bool is_static() const;
290  void set_is_static(bool value);
291 
292  // bool deleted = 8;
293  void clear_deleted();
294  static const int kDeletedFieldNumber = 8;
295  bool deleted() const;
296  void set_deleted(bool value);
297 
298  // bool self_collide = 11;
299  void clear_self_collide();
300  static const int kSelfCollideFieldNumber = 11;
301  bool self_collide() const;
302  void set_self_collide(bool value);
303 
304  // @@protoc_insertion_point(class_scope:ignition.msgs.Model)
305  private:
306 
307  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
308  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > joint_;
309  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > link_;
310  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > visual_;
311  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > model_;
312  ::google::protobuf::internal::ArenaStringPtr name_;
313  ::ignition::msgs::Header* header_;
314  ::ignition::msgs::Pose* pose_;
316  ::ignition::msgs::AxisAlignedBox* bounding_box_;
317  ::google::protobuf::uint32 id_;
318  bool is_static_;
319  bool deleted_;
320  bool self_collide_;
321  mutable ::google::protobuf::internal::CachedSize _cached_size_;
322  friend struct ::protobuf_ignition_2fmsgs_2fmodel_2eproto::TableStruct;
323 };
324 // ===================================================================
325 
326 
327 // ===================================================================
328 
329 #ifdef __GNUC__
330  #pragma GCC diagnostic push
331  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
332 #endif // __GNUC__
333 // Model
334 
335 // .ignition.msgs.Header header = 1;
336 inline bool Model::has_header() const {
337  return this != internal_default_instance() && header_ != NULL;
338 }
339 inline const ::ignition::msgs::Header& Model::_internal_header() const {
340  return *header_;
341 }
342 inline const ::ignition::msgs::Header& Model::header() const {
343  const ::ignition::msgs::Header* p = header_;
344  // @@protoc_insertion_point(field_get:ignition.msgs.Model.header)
345  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
347 }
348 inline ::ignition::msgs::Header* Model::release_header() {
349  // @@protoc_insertion_point(field_release:ignition.msgs.Model.header)
350 
351  ::ignition::msgs::Header* temp = header_;
352  header_ = NULL;
353  return temp;
354 }
355 inline ::ignition::msgs::Header* Model::mutable_header() {
356 
357  if (header_ == NULL) {
358  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
359  header_ = p;
360  }
361  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.header)
362  return header_;
363 }
365  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
366  if (message_arena == NULL) {
367  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
368  }
369  if (header) {
370  ::google::protobuf::Arena* submessage_arena = NULL;
371  if (message_arena != submessage_arena) {
372  header = ::google::protobuf::internal::GetOwnedMessage(
373  message_arena, header, submessage_arena);
374  }
375 
376  } else {
377 
378  }
379  header_ = header;
380  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.header)
381 }
382 
383 // string name = 2;
384 inline void Model::clear_name() {
385  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
386 }
387 inline const ::std::string& Model::name() const {
388  // @@protoc_insertion_point(field_get:ignition.msgs.Model.name)
389  return name_.GetNoArena();
390 }
391 inline void Model::set_name(const ::std::string& value) {
392 
393  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
394  // @@protoc_insertion_point(field_set:ignition.msgs.Model.name)
395 }
396 #if LANG_CXX11
397 inline void Model::set_name(::std::string&& value) {
398 
399  name_.SetNoArena(
400  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
401  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Model.name)
402 }
403 #endif
404 inline void Model::set_name(const char* value) {
405  GOOGLE_DCHECK(value != NULL);
406 
407  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
408  // @@protoc_insertion_point(field_set_char:ignition.msgs.Model.name)
409 }
410 inline void Model::set_name(const char* value, size_t size) {
411 
412  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
413  ::std::string(reinterpret_cast<const char*>(value), size));
414  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Model.name)
415 }
416 inline ::std::string* Model::mutable_name() {
417 
418  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.name)
419  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
420 }
421 inline ::std::string* Model::release_name() {
422  // @@protoc_insertion_point(field_release:ignition.msgs.Model.name)
423 
424  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
425 }
427  if (name != NULL) {
428 
429  } else {
430 
431  }
432  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
433  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.name)
434 }
435 
436 // uint32 id = 3;
437 inline void Model::clear_id() {
438  id_ = 0u;
439 }
440 inline ::google::protobuf::uint32 Model::id() const {
441  // @@protoc_insertion_point(field_get:ignition.msgs.Model.id)
442  return id_;
443 }
444 inline void Model::set_id(::google::protobuf::uint32 value) {
445 
446  id_ = value;
447  // @@protoc_insertion_point(field_set:ignition.msgs.Model.id)
448 }
449 
450 // bool is_static = 4;
451 inline void Model::clear_is_static() {
452  is_static_ = false;
453 }
454 inline bool Model::is_static() const {
455  // @@protoc_insertion_point(field_get:ignition.msgs.Model.is_static)
456  return is_static_;
457 }
458 inline void Model::set_is_static(bool value) {
459 
460  is_static_ = value;
461  // @@protoc_insertion_point(field_set:ignition.msgs.Model.is_static)
462 }
463 
464 // .ignition.msgs.Pose pose = 5;
465 inline bool Model::has_pose() const {
466  return this != internal_default_instance() && pose_ != NULL;
467 }
468 inline const ::ignition::msgs::Pose& Model::_internal_pose() const {
469  return *pose_;
470 }
471 inline const ::ignition::msgs::Pose& Model::pose() const {
472  const ::ignition::msgs::Pose* p = pose_;
473  // @@protoc_insertion_point(field_get:ignition.msgs.Model.pose)
474  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Pose*>(
476 }
477 inline ::ignition::msgs::Pose* Model::release_pose() {
478  // @@protoc_insertion_point(field_release:ignition.msgs.Model.pose)
479 
480  ::ignition::msgs::Pose* temp = pose_;
481  pose_ = NULL;
482  return temp;
483 }
484 inline ::ignition::msgs::Pose* Model::mutable_pose() {
485 
486  if (pose_ == NULL) {
487  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaNoVirtual());
488  pose_ = p;
489  }
490  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.pose)
491  return pose_;
492 }
494  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
495  if (message_arena == NULL) {
496  delete reinterpret_cast< ::google::protobuf::MessageLite*>(pose_);
497  }
498  if (pose) {
499  ::google::protobuf::Arena* submessage_arena = NULL;
500  if (message_arena != submessage_arena) {
501  pose = ::google::protobuf::internal::GetOwnedMessage(
502  message_arena, pose, submessage_arena);
503  }
504 
505  } else {
506 
507  }
508  pose_ = pose;
509  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.pose)
510 }
511 
512 // repeated .ignition.msgs.Joint joint = 6;
513 inline int Model::joint_size() const {
514  return joint_.size();
515 }
516 inline ::ignition::msgs::Joint* Model::mutable_joint(int index) {
517  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.joint)
518  return joint_.Mutable(index);
519 }
520 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
522  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.joint)
523  return &joint_;
524 }
525 inline const ::ignition::msgs::Joint& Model::joint(int index) const {
526  // @@protoc_insertion_point(field_get:ignition.msgs.Model.joint)
527  return joint_.Get(index);
528 }
529 inline ::ignition::msgs::Joint* Model::add_joint() {
530  // @@protoc_insertion_point(field_add:ignition.msgs.Model.joint)
531  return joint_.Add();
532 }
533 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
534 Model::joint() const {
535  // @@protoc_insertion_point(field_list:ignition.msgs.Model.joint)
536  return joint_;
537 }
538 
539 // repeated .ignition.msgs.Link link = 7;
540 inline int Model::link_size() const {
541  return link_.size();
542 }
543 inline ::ignition::msgs::Link* Model::mutable_link(int index) {
544  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.link)
545  return link_.Mutable(index);
546 }
547 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >*
549  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.link)
550  return &link_;
551 }
552 inline const ::ignition::msgs::Link& Model::link(int index) const {
553  // @@protoc_insertion_point(field_get:ignition.msgs.Model.link)
554  return link_.Get(index);
555 }
556 inline ::ignition::msgs::Link* Model::add_link() {
557  // @@protoc_insertion_point(field_add:ignition.msgs.Model.link)
558  return link_.Add();
559 }
560 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link >&
561 Model::link() const {
562  // @@protoc_insertion_point(field_list:ignition.msgs.Model.link)
563  return link_;
564 }
565 
566 // bool deleted = 8;
567 inline void Model::clear_deleted() {
568  deleted_ = false;
569 }
570 inline bool Model::deleted() const {
571  // @@protoc_insertion_point(field_get:ignition.msgs.Model.deleted)
572  return deleted_;
573 }
574 inline void Model::set_deleted(bool value) {
575 
576  deleted_ = value;
577  // @@protoc_insertion_point(field_set:ignition.msgs.Model.deleted)
578 }
579 
580 // repeated .ignition.msgs.Visual visual = 9;
581 inline int Model::visual_size() const {
582  return visual_.size();
583 }
584 inline ::ignition::msgs::Visual* Model::mutable_visual(int index) {
585  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.visual)
586  return visual_.Mutable(index);
587 }
588 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >*
590  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.visual)
591  return &visual_;
592 }
593 inline const ::ignition::msgs::Visual& Model::visual(int index) const {
594  // @@protoc_insertion_point(field_get:ignition.msgs.Model.visual)
595  return visual_.Get(index);
596 }
597 inline ::ignition::msgs::Visual* Model::add_visual() {
598  // @@protoc_insertion_point(field_add:ignition.msgs.Model.visual)
599  return visual_.Add();
600 }
601 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual >&
602 Model::visual() const {
603  // @@protoc_insertion_point(field_list:ignition.msgs.Model.visual)
604  return visual_;
605 }
606 
607 // .ignition.msgs.Vector3d scale = 10;
608 inline bool Model::has_scale() const {
609  return this != internal_default_instance() && scale_ != NULL;
610 }
611 inline const ::ignition::msgs::Vector3d& Model::_internal_scale() const {
612  return *scale_;
613 }
614 inline const ::ignition::msgs::Vector3d& Model::scale() const {
615  const ::ignition::msgs::Vector3d* p = scale_;
616  // @@protoc_insertion_point(field_get:ignition.msgs.Model.scale)
617  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Vector3d*>(
619 }
620 inline ::ignition::msgs::Vector3d* Model::release_scale() {
621  // @@protoc_insertion_point(field_release:ignition.msgs.Model.scale)
622 
623  ::ignition::msgs::Vector3d* temp = scale_;
624  scale_ = NULL;
625  return temp;
626 }
627 inline ::ignition::msgs::Vector3d* Model::mutable_scale() {
628 
629  if (scale_ == NULL) {
630  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaNoVirtual());
631  scale_ = p;
632  }
633  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.scale)
634  return scale_;
635 }
637  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
638  if (message_arena == NULL) {
639  delete reinterpret_cast< ::google::protobuf::MessageLite*>(scale_);
640  }
641  if (scale) {
642  ::google::protobuf::Arena* submessage_arena = NULL;
643  if (message_arena != submessage_arena) {
644  scale = ::google::protobuf::internal::GetOwnedMessage(
645  message_arena, scale, submessage_arena);
646  }
647 
648  } else {
649 
650  }
651  scale_ = scale;
652  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.scale)
653 }
654 
655 // bool self_collide = 11;
657  self_collide_ = false;
658 }
659 inline bool Model::self_collide() const {
660  // @@protoc_insertion_point(field_get:ignition.msgs.Model.self_collide)
661  return self_collide_;
662 }
663 inline void Model::set_self_collide(bool value) {
664 
665  self_collide_ = value;
666  // @@protoc_insertion_point(field_set:ignition.msgs.Model.self_collide)
667 }
668 
669 // repeated .ignition.msgs.Model model = 12;
670 inline int Model::model_size() const {
671  return model_.size();
672 }
673 inline void Model::clear_model() {
674  model_.Clear();
675 }
676 inline ::ignition::msgs::Model* Model::mutable_model(int index) {
677  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.model)
678  return model_.Mutable(index);
679 }
680 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
682  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Model.model)
683  return &model_;
684 }
685 inline const ::ignition::msgs::Model& Model::model(int index) const {
686  // @@protoc_insertion_point(field_get:ignition.msgs.Model.model)
687  return model_.Get(index);
688 }
689 inline ::ignition::msgs::Model* Model::add_model() {
690  // @@protoc_insertion_point(field_add:ignition.msgs.Model.model)
691  return model_.Add();
692 }
693 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
694 Model::model() const {
695  // @@protoc_insertion_point(field_list:ignition.msgs.Model.model)
696  return model_;
697 }
698 
699 // .ignition.msgs.AxisAlignedBox bounding_box = 13;
700 inline bool Model::has_bounding_box() const {
701  return this != internal_default_instance() && bounding_box_ != NULL;
702 }
703 inline const ::ignition::msgs::AxisAlignedBox& Model::_internal_bounding_box() const {
704  return *bounding_box_;
705 }
706 inline const ::ignition::msgs::AxisAlignedBox& Model::bounding_box() const {
707  const ::ignition::msgs::AxisAlignedBox* p = bounding_box_;
708  // @@protoc_insertion_point(field_get:ignition.msgs.Model.bounding_box)
709  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::AxisAlignedBox*>(
711 }
712 inline ::ignition::msgs::AxisAlignedBox* Model::release_bounding_box() {
713  // @@protoc_insertion_point(field_release:ignition.msgs.Model.bounding_box)
714 
715  ::ignition::msgs::AxisAlignedBox* temp = bounding_box_;
716  bounding_box_ = NULL;
717  return temp;
718 }
719 inline ::ignition::msgs::AxisAlignedBox* Model::mutable_bounding_box() {
720 
721  if (bounding_box_ == NULL) {
722  auto* p = CreateMaybeMessage<::ignition::msgs::AxisAlignedBox>(GetArenaNoVirtual());
723  bounding_box_ = p;
724  }
725  // @@protoc_insertion_point(field_mutable:ignition.msgs.Model.bounding_box)
726  return bounding_box_;
727 }
729  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
730  if (message_arena == NULL) {
731  delete reinterpret_cast< ::google::protobuf::MessageLite*>(bounding_box_);
732  }
733  if (bounding_box) {
734  ::google::protobuf::Arena* submessage_arena = NULL;
735  if (message_arena != submessage_arena) {
736  bounding_box = ::google::protobuf::internal::GetOwnedMessage(
737  message_arena, bounding_box, submessage_arena);
738  }
739 
740  } else {
741 
742  }
743  bounding_box_ = bounding_box;
744  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Model.bounding_box)
745 }
746 
747 #ifdef __GNUC__
748  #pragma GCC diagnostic pop
749 #endif // __GNUC__
750 
755 // @@protoc_insertion_point(namespace_scope)
756 
757 } // namespace msgs
758 } // namespace ignition
759 
760 #ifdef _MSC_VER
761 #pragma warning(pop)
762 #endif
763 // @@protoc_insertion_point(global_scope)
764 
765 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fmodel_2eproto
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:336
std::unique_ptr< const Model > ConstModelUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:752
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:426
void clear_self_collide()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:656
bool is_static() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:454
STL class.
STL class.
void Swap(Model *other)
::ignition::msgs::AxisAlignedBox * mutable_bounding_box()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:719
T move(T... args)
Definition: build/ignition-msgs5/include/ignition/msgs/vector3d.pb.h:77
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > * mutable_visual()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:589
void clear_model()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:673
Definition: build/ignition-msgs5/include/ignition/msgs/pose.pb.h:79
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:83
::ignition::msgs::Pose * release_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:477
::ignition::msgs::Link * add_link()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:556
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:54
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:416
::ignition::msgs::AxisAlignedBox * release_bounding_box()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:712
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:681
void set_allocated_scale(::ignition::msgs::Vector3d *scale)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:636
void IGNITION_MSGS_VISIBLE AddDescriptors()
Model * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:127
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:342
const ::ignition::msgs::AxisAlignedBox & bounding_box() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:706
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:391
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:56
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
bool has_scale() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:608
IGNITION_MSGS_VISIBLE AxisAlignedBoxDefaultTypeInternal _AxisAlignedBox_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/visual.pb.h:217
IGNITION_MSGS_VISIBLE ModelDefaultTypeInternal _Model_default_instance_
Model & operator=(const Model &from)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:90
Definition: build/ignition-msgs5/include/ignition/msgs/axis_aligned_box.pb.h:78
Model * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:131
void set_self_collide(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:663
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Visual > & visual() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:602
std::shared_ptr< const Model > ConstModelSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:754
void set_is_static(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:458
const ::ignition::msgs::Vector3d & scale() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:614
std::unique_ptr< Model > ModelUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:751
int visual_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:581
bool deleted() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:570
void clear_id()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:437
void clear_is_static()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:451
void set_id(::google::protobuf::uint32 value)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:444
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > & model() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:694
std::shared_ptr< Model > ModelSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:753
::ignition::msgs::Model * add_model()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:689
void set_allocated_bounding_box(::ignition::msgs::AxisAlignedBox *bounding_box)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:728
bool has_pose() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:465
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:493
void set_deleted(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:574
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:355
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:387
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > * mutable_link()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:548
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:348
int joint_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:513
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
::ignition::msgs::Vector3d * mutable_scale()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:627
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > & joint() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:534
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
STL namespace.
int model_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:670
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
void clear_deleted()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:567
::ignition::msgs::Visual * add_visual()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:597
friend void swap(Model &a, Model &b)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:121
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Link > & link() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:561
static const Model * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:113
const ::ignition::msgs::Pose & pose() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:471
bool has_bounding_box() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:700
::ignition::msgs::Vector3d * release_scale()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:620
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:364
::ignition::msgs::Joint * add_joint()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:529
bool self_collide() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:659
::ignition::msgs::Pose * mutable_pose()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:484
STL class.
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:384
int link_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:540
::google::protobuf::uint32 id() const
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:440
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > * mutable_joint()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:521
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
Definition: build/ignition-msgs5/include/ignition/msgs/joint.pb.h:337
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:421