Gazebo Msgs

API Reference

5.11.0
build/ignition-msgs5/include/ignition/msgs/scene.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/scene.proto
3 
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fscene_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fscene_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/color.pb.h"
34 #include "ignition/msgs/fog.pb.h"
35 #include "ignition/msgs/sky.pb.h"
36 #include "ignition/msgs/light.pb.h"
37 #include "ignition/msgs/joint.pb.h"
38 #include "ignition/msgs/model.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_2fscene_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_2fscene_2eproto
66 namespace ignition {
67 namespace msgs {
68 class Scene;
69 class SceneDefaultTypeInternal;
70 IGNITION_MSGS_VISIBLE extern SceneDefaultTypeInternal _Scene_default_instance_;
71 } // namespace msgs
72 } // namespace ignition
73 namespace google {
74 namespace protobuf {
75 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Scene* Arena::CreateMaybeMessage<::ignition::msgs::Scene>(Arena*);
76 } // namespace protobuf
77 } // namespace google
78 namespace ignition {
79 namespace msgs {
80 
81 // ===================================================================
82 
83 class IGNITION_MSGS_VISIBLE Scene : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Scene) */ {
84  public:
85  Scene();
86  virtual ~Scene();
87 
88  Scene(const Scene& from);
89 
90  inline Scene& operator=(const Scene& from) {
91  CopyFrom(from);
92  return *this;
93  }
94  #if LANG_CXX11
95  Scene(Scene&& from) noexcept
96  : Scene() {
97  *this = ::std::move(from);
98  }
99 
100  inline Scene& operator=(Scene&& 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 Scene& default_instance();
111 
112  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
113  static inline const Scene* internal_default_instance() {
114  return reinterpret_cast<const Scene*>(
116  }
117  static constexpr int kIndexInFileMessages =
118  0;
119 
120  void Swap(Scene* other);
121  friend void swap(Scene& a, Scene& b) {
122  a.Swap(&b);
123  }
124 
125  // implements Message ----------------------------------------------
126 
127  inline Scene* New() const final {
128  return CreateMaybeMessage<Scene>(NULL);
129  }
130 
131  Scene* New(::google::protobuf::Arena* arena) const final {
132  return CreateMaybeMessage<Scene>(arena);
133  }
134  void CopyFrom(const ::google::protobuf::Message& from) final;
135  void MergeFrom(const ::google::protobuf::Message& from) final;
136  void CopyFrom(const Scene& from);
137  void MergeFrom(const Scene& 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(Scene* 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.Model model = 9;
171  int model_size() const;
172  void clear_model();
173  static const int kModelFieldNumber = 9;
174  ::ignition::msgs::Model* mutable_model(int index);
175  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
176  mutable_model();
177  const ::ignition::msgs::Model& model(int index) const;
178  ::ignition::msgs::Model* add_model();
179  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
180  model() const;
181 
182  // repeated .ignition.msgs.Light light = 10;
183  int light_size() const;
184  void clear_light();
185  static const int kLightFieldNumber = 10;
186  ::ignition::msgs::Light* mutable_light(int index);
187  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >*
188  mutable_light();
189  const ::ignition::msgs::Light& light(int index) const;
190  ::ignition::msgs::Light* add_light();
191  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >&
192  light() const;
193 
194  // repeated .ignition.msgs.Joint joint = 11;
195  int joint_size() const;
196  void clear_joint();
197  static const int kJointFieldNumber = 11;
198  ::ignition::msgs::Joint* mutable_joint(int index);
199  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
200  mutable_joint();
201  const ::ignition::msgs::Joint& joint(int index) const;
202  ::ignition::msgs::Joint* add_joint();
203  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
204  joint() const;
205 
206  // string name = 2;
207  void clear_name();
208  static const int kNameFieldNumber = 2;
209  const ::std::string& name() const;
210  void set_name(const ::std::string& value);
211  #if LANG_CXX11
212  void set_name(::std::string&& value);
213  #endif
214  void set_name(const char* value);
215  void set_name(const char* value, size_t size);
216  ::std::string* mutable_name();
217  ::std::string* release_name();
218  void set_allocated_name(::std::string* name);
219 
220  // .ignition.msgs.Header header = 1;
221  bool has_header() const;
222  void clear_header();
223  static const int kHeaderFieldNumber = 1;
224  private:
225  const ::ignition::msgs::Header& _internal_header() const;
226  public:
227  const ::ignition::msgs::Header& header() const;
228  ::ignition::msgs::Header* release_header();
229  ::ignition::msgs::Header* mutable_header();
230  void set_allocated_header(::ignition::msgs::Header* header);
231 
232  // .ignition.msgs.Color ambient = 3;
233  bool has_ambient() const;
234  void clear_ambient();
235  static const int kAmbientFieldNumber = 3;
236  private:
237  const ::ignition::msgs::Color& _internal_ambient() const;
238  public:
239  const ::ignition::msgs::Color& ambient() const;
240  ::ignition::msgs::Color* release_ambient();
241  ::ignition::msgs::Color* mutable_ambient();
242  void set_allocated_ambient(::ignition::msgs::Color* ambient);
243 
244  // .ignition.msgs.Color background = 4;
245  bool has_background() const;
246  void clear_background();
247  static const int kBackgroundFieldNumber = 4;
248  private:
249  const ::ignition::msgs::Color& _internal_background() const;
250  public:
251  const ::ignition::msgs::Color& background() const;
252  ::ignition::msgs::Color* release_background();
253  ::ignition::msgs::Color* mutable_background();
254  void set_allocated_background(::ignition::msgs::Color* background);
255 
256  // .ignition.msgs.Sky sky = 5;
257  bool has_sky() const;
258  void clear_sky();
259  static const int kSkyFieldNumber = 5;
260  private:
261  const ::ignition::msgs::Sky& _internal_sky() const;
262  public:
263  const ::ignition::msgs::Sky& sky() const;
264  ::ignition::msgs::Sky* release_sky();
265  ::ignition::msgs::Sky* mutable_sky();
266  void set_allocated_sky(::ignition::msgs::Sky* sky);
267 
268  // .ignition.msgs.Fog fog = 7;
269  bool has_fog() const;
270  void clear_fog();
271  static const int kFogFieldNumber = 7;
272  private:
273  const ::ignition::msgs::Fog& _internal_fog() const;
274  public:
275  const ::ignition::msgs::Fog& fog() const;
276  ::ignition::msgs::Fog* release_fog();
277  ::ignition::msgs::Fog* mutable_fog();
278  void set_allocated_fog(::ignition::msgs::Fog* fog);
279 
280  // bool shadows = 6;
281  void clear_shadows();
282  static const int kShadowsFieldNumber = 6;
283  bool shadows() const;
284  void set_shadows(bool value);
285 
286  // bool grid = 8;
287  void clear_grid();
288  static const int kGridFieldNumber = 8;
289  bool grid() const;
290  void set_grid(bool value);
291 
292  // bool origin_visual = 12;
293  void clear_origin_visual();
294  static const int kOriginVisualFieldNumber = 12;
295  bool origin_visual() const;
296  void set_origin_visual(bool value);
297 
298  // @@protoc_insertion_point(class_scope:ignition.msgs.Scene)
299  private:
300 
301  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
302  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > model_;
303  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > light_;
304  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > joint_;
305  ::google::protobuf::internal::ArenaStringPtr name_;
306  ::ignition::msgs::Header* header_;
307  ::ignition::msgs::Color* ambient_;
308  ::ignition::msgs::Color* background_;
309  ::ignition::msgs::Sky* sky_;
310  ::ignition::msgs::Fog* fog_;
311  bool shadows_;
312  bool grid_;
313  bool origin_visual_;
314  mutable ::google::protobuf::internal::CachedSize _cached_size_;
315  friend struct ::protobuf_ignition_2fmsgs_2fscene_2eproto::TableStruct;
316 };
317 // ===================================================================
318 
319 
320 // ===================================================================
321 
322 #ifdef __GNUC__
323  #pragma GCC diagnostic push
324  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
325 #endif // __GNUC__
326 // Scene
327 
328 // .ignition.msgs.Header header = 1;
329 inline bool Scene::has_header() const {
330  return this != internal_default_instance() && header_ != NULL;
331 }
332 inline const ::ignition::msgs::Header& Scene::_internal_header() const {
333  return *header_;
334 }
335 inline const ::ignition::msgs::Header& Scene::header() const {
336  const ::ignition::msgs::Header* p = header_;
337  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.header)
338  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
340 }
341 inline ::ignition::msgs::Header* Scene::release_header() {
342  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.header)
343 
344  ::ignition::msgs::Header* temp = header_;
345  header_ = NULL;
346  return temp;
347 }
348 inline ::ignition::msgs::Header* Scene::mutable_header() {
349 
350  if (header_ == NULL) {
351  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
352  header_ = p;
353  }
354  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.header)
355  return header_;
356 }
358  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
359  if (message_arena == NULL) {
360  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
361  }
362  if (header) {
363  ::google::protobuf::Arena* submessage_arena = NULL;
364  if (message_arena != submessage_arena) {
365  header = ::google::protobuf::internal::GetOwnedMessage(
366  message_arena, header, submessage_arena);
367  }
368 
369  } else {
370 
371  }
372  header_ = header;
373  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.header)
374 }
375 
376 // string name = 2;
377 inline void Scene::clear_name() {
378  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
379 }
380 inline const ::std::string& Scene::name() const {
381  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.name)
382  return name_.GetNoArena();
383 }
384 inline void Scene::set_name(const ::std::string& value) {
385 
386  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
387  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.name)
388 }
389 #if LANG_CXX11
390 inline void Scene::set_name(::std::string&& value) {
391 
392  name_.SetNoArena(
393  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
394  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Scene.name)
395 }
396 #endif
397 inline void Scene::set_name(const char* value) {
398  GOOGLE_DCHECK(value != NULL);
399 
400  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
401  // @@protoc_insertion_point(field_set_char:ignition.msgs.Scene.name)
402 }
403 inline void Scene::set_name(const char* value, size_t size) {
404 
405  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
406  ::std::string(reinterpret_cast<const char*>(value), size));
407  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Scene.name)
408 }
409 inline ::std::string* Scene::mutable_name() {
410 
411  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.name)
412  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
413 }
414 inline ::std::string* Scene::release_name() {
415  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.name)
416 
417  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
418 }
420  if (name != NULL) {
421 
422  } else {
423 
424  }
425  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
426  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.name)
427 }
428 
429 // .ignition.msgs.Color ambient = 3;
430 inline bool Scene::has_ambient() const {
431  return this != internal_default_instance() && ambient_ != NULL;
432 }
433 inline const ::ignition::msgs::Color& Scene::_internal_ambient() const {
434  return *ambient_;
435 }
436 inline const ::ignition::msgs::Color& Scene::ambient() const {
437  const ::ignition::msgs::Color* p = ambient_;
438  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.ambient)
439  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
441 }
442 inline ::ignition::msgs::Color* Scene::release_ambient() {
443  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.ambient)
444 
445  ::ignition::msgs::Color* temp = ambient_;
446  ambient_ = NULL;
447  return temp;
448 }
449 inline ::ignition::msgs::Color* Scene::mutable_ambient() {
450 
451  if (ambient_ == NULL) {
452  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
453  ambient_ = p;
454  }
455  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.ambient)
456  return ambient_;
457 }
459  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
460  if (message_arena == NULL) {
461  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
462  }
463  if (ambient) {
464  ::google::protobuf::Arena* submessage_arena = NULL;
465  if (message_arena != submessage_arena) {
466  ambient = ::google::protobuf::internal::GetOwnedMessage(
467  message_arena, ambient, submessage_arena);
468  }
469 
470  } else {
471 
472  }
473  ambient_ = ambient;
474  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.ambient)
475 }
476 
477 // .ignition.msgs.Color background = 4;
478 inline bool Scene::has_background() const {
479  return this != internal_default_instance() && background_ != NULL;
480 }
481 inline const ::ignition::msgs::Color& Scene::_internal_background() const {
482  return *background_;
483 }
484 inline const ::ignition::msgs::Color& Scene::background() const {
485  const ::ignition::msgs::Color* p = background_;
486  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.background)
487  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
489 }
490 inline ::ignition::msgs::Color* Scene::release_background() {
491  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.background)
492 
493  ::ignition::msgs::Color* temp = background_;
494  background_ = NULL;
495  return temp;
496 }
497 inline ::ignition::msgs::Color* Scene::mutable_background() {
498 
499  if (background_ == NULL) {
500  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
501  background_ = p;
502  }
503  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.background)
504  return background_;
505 }
507  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
508  if (message_arena == NULL) {
509  delete reinterpret_cast< ::google::protobuf::MessageLite*>(background_);
510  }
511  if (background) {
512  ::google::protobuf::Arena* submessage_arena = NULL;
513  if (message_arena != submessage_arena) {
514  background = ::google::protobuf::internal::GetOwnedMessage(
515  message_arena, background, submessage_arena);
516  }
517 
518  } else {
519 
520  }
521  background_ = background;
522  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.background)
523 }
524 
525 // .ignition.msgs.Sky sky = 5;
526 inline bool Scene::has_sky() const {
527  return this != internal_default_instance() && sky_ != NULL;
528 }
529 inline const ::ignition::msgs::Sky& Scene::_internal_sky() const {
530  return *sky_;
531 }
532 inline const ::ignition::msgs::Sky& Scene::sky() const {
533  const ::ignition::msgs::Sky* p = sky_;
534  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.sky)
535  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Sky*>(
537 }
538 inline ::ignition::msgs::Sky* Scene::release_sky() {
539  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.sky)
540 
541  ::ignition::msgs::Sky* temp = sky_;
542  sky_ = NULL;
543  return temp;
544 }
545 inline ::ignition::msgs::Sky* Scene::mutable_sky() {
546 
547  if (sky_ == NULL) {
548  auto* p = CreateMaybeMessage<::ignition::msgs::Sky>(GetArenaNoVirtual());
549  sky_ = p;
550  }
551  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.sky)
552  return sky_;
553 }
555  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
556  if (message_arena == NULL) {
557  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sky_);
558  }
559  if (sky) {
560  ::google::protobuf::Arena* submessage_arena = NULL;
561  if (message_arena != submessage_arena) {
562  sky = ::google::protobuf::internal::GetOwnedMessage(
563  message_arena, sky, submessage_arena);
564  }
565 
566  } else {
567 
568  }
569  sky_ = sky;
570  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.sky)
571 }
572 
573 // bool shadows = 6;
574 inline void Scene::clear_shadows() {
575  shadows_ = false;
576 }
577 inline bool Scene::shadows() const {
578  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.shadows)
579  return shadows_;
580 }
581 inline void Scene::set_shadows(bool value) {
582 
583  shadows_ = value;
584  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.shadows)
585 }
586 
587 // .ignition.msgs.Fog fog = 7;
588 inline bool Scene::has_fog() const {
589  return this != internal_default_instance() && fog_ != NULL;
590 }
591 inline const ::ignition::msgs::Fog& Scene::_internal_fog() const {
592  return *fog_;
593 }
594 inline const ::ignition::msgs::Fog& Scene::fog() const {
595  const ::ignition::msgs::Fog* p = fog_;
596  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.fog)
597  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Fog*>(
599 }
600 inline ::ignition::msgs::Fog* Scene::release_fog() {
601  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.fog)
602 
603  ::ignition::msgs::Fog* temp = fog_;
604  fog_ = NULL;
605  return temp;
606 }
607 inline ::ignition::msgs::Fog* Scene::mutable_fog() {
608 
609  if (fog_ == NULL) {
610  auto* p = CreateMaybeMessage<::ignition::msgs::Fog>(GetArenaNoVirtual());
611  fog_ = p;
612  }
613  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.fog)
614  return fog_;
615 }
617  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
618  if (message_arena == NULL) {
619  delete reinterpret_cast< ::google::protobuf::MessageLite*>(fog_);
620  }
621  if (fog) {
622  ::google::protobuf::Arena* submessage_arena = NULL;
623  if (message_arena != submessage_arena) {
624  fog = ::google::protobuf::internal::GetOwnedMessage(
625  message_arena, fog, submessage_arena);
626  }
627 
628  } else {
629 
630  }
631  fog_ = fog;
632  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.fog)
633 }
634 
635 // bool grid = 8;
636 inline void Scene::clear_grid() {
637  grid_ = false;
638 }
639 inline bool Scene::grid() const {
640  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.grid)
641  return grid_;
642 }
643 inline void Scene::set_grid(bool value) {
644 
645  grid_ = value;
646  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.grid)
647 }
648 
649 // repeated .ignition.msgs.Model model = 9;
650 inline int Scene::model_size() const {
651  return model_.size();
652 }
653 inline ::ignition::msgs::Model* Scene::mutable_model(int index) {
654  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.model)
655  return model_.Mutable(index);
656 }
657 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
659  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.model)
660  return &model_;
661 }
662 inline const ::ignition::msgs::Model& Scene::model(int index) const {
663  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.model)
664  return model_.Get(index);
665 }
666 inline ::ignition::msgs::Model* Scene::add_model() {
667  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.model)
668  return model_.Add();
669 }
670 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
671 Scene::model() const {
672  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.model)
673  return model_;
674 }
675 
676 // repeated .ignition.msgs.Light light = 10;
677 inline int Scene::light_size() const {
678  return light_.size();
679 }
680 inline ::ignition::msgs::Light* Scene::mutable_light(int index) {
681  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.light)
682  return light_.Mutable(index);
683 }
684 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >*
686  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.light)
687  return &light_;
688 }
689 inline const ::ignition::msgs::Light& Scene::light(int index) const {
690  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.light)
691  return light_.Get(index);
692 }
693 inline ::ignition::msgs::Light* Scene::add_light() {
694  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.light)
695  return light_.Add();
696 }
697 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >&
698 Scene::light() const {
699  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.light)
700  return light_;
701 }
702 
703 // repeated .ignition.msgs.Joint joint = 11;
704 inline int Scene::joint_size() const {
705  return joint_.size();
706 }
707 inline ::ignition::msgs::Joint* Scene::mutable_joint(int index) {
708  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.joint)
709  return joint_.Mutable(index);
710 }
711 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
713  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.joint)
714  return &joint_;
715 }
716 inline const ::ignition::msgs::Joint& Scene::joint(int index) const {
717  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.joint)
718  return joint_.Get(index);
719 }
720 inline ::ignition::msgs::Joint* Scene::add_joint() {
721  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.joint)
722  return joint_.Add();
723 }
724 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
725 Scene::joint() const {
726  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.joint)
727  return joint_;
728 }
729 
730 // bool origin_visual = 12;
732  origin_visual_ = false;
733 }
734 inline bool Scene::origin_visual() const {
735  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.origin_visual)
736  return origin_visual_;
737 }
738 inline void Scene::set_origin_visual(bool value) {
739 
740  origin_visual_ = value;
741  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.origin_visual)
742 }
743 
744 #ifdef __GNUC__
745  #pragma GCC diagnostic pop
746 #endif // __GNUC__
747 
752 // @@protoc_insertion_point(namespace_scope)
753 
754 } // namespace msgs
755 } // namespace ignition
756 
757 #ifdef _MSC_VER
758 #pragma warning(pop)
759 #endif
760 // @@protoc_insertion_point(global_scope)
761 
762 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fscene_2eproto
::ignition::msgs::Color * release_ambient()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:442
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:341
STL class.
STL class.
bool has_ambient() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:430
T move(T... args)
void set_allocated_fog(::ignition::msgs::Fog *fog)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:616
const ::ignition::msgs::Sky & sky() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:532
void set_name(const ::std::string &value)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:384
::std::string * release_name()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:414
void clear_name()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:377
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:335
std::shared_ptr< const Scene > ConstSceneSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:751
void set_allocated_ambient(::ignition::msgs::Color *ambient)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:458
Definition: build/ignition-msgs5/include/ignition/msgs/model.pb.h:83
Definition: build/ignition-msgs5/include/ignition/msgs/sky.pb.h:78
IGNITION_MSGS_VISIBLE SceneDefaultTypeInternal _Scene_default_instance_
bool grid() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:639
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:56
::ignition::msgs::Fog * release_fog()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:600
void set_allocated_sky(::ignition::msgs::Sky *sky)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:554
void clear_origin_visual()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:731
Definition: build/ignition-msgs5/include/ignition/msgs/fog.pb.h:102
friend void swap(Scene &a, Scene &b)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:121
Scene * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:131
IGNITION_MSGS_VISIBLE FogDefaultTypeInternal _Fog_default_instance_
const ::ignition::msgs::Fog & fog() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:594
const ::ignition::msgs::Color & ambient() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:436
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:419
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_grid()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:636
::ignition::msgs::Joint * add_joint()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:720
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > * mutable_light()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:685
IGNITION_MSGS_VISIBLE SkyDefaultTypeInternal _Sky_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/color.pb.h:77
int model_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:650
const ::ignition::msgs::Color & background() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:484
bool has_header() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:329
bool origin_visual() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:734
::std::string * mutable_name()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:409
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:83
::ignition::msgs::Color * release_background()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:490
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > * mutable_joint()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:712
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:348
void clear_shadows()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:574
::ignition::msgs::Color * mutable_ambient()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:449
::ignition::msgs::Sky * mutable_sky()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:545
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:54
bool shadows() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:577
Scene * New() const final
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:127
static const Scene * internal_default_instance()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:113
std::shared_ptr< Scene > SceneSharedPtr
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:750
const ::std::string & name() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:380
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs5/include/ignition/msgs/light.pb.h:103
STL namespace.
Definition: build/ignition-msgs5/include/ignition/msgs/header.pb.h:215
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:658
std::unique_ptr< const Scene > ConstSceneUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:749
int light_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:677
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:357
::ignition::msgs::Light * add_light()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:693
void set_shadows(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:581
::ignition::msgs::Color * mutable_background()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:497
::ignition::msgs::Sky * release_sky()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:538
Scene & operator=(const Scene &from)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:90
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > & light() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:698
void set_allocated_background(::ignition::msgs::Color *background)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:506
STL class.
void Swap(Scene *other)
bool has_fog() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:588
void set_origin_visual(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:738
void set_grid(bool value)
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:643
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > & joint() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:725
::ignition::msgs::Model * add_model()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:666
bool has_sky() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:526
Definition: build/ignition-msgs5/include/ignition/msgs/actor.pb.h:78
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > & model() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:671
int joint_size() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:704
Definition: build/ignition-msgs5/include/ignition/msgs/joint.pb.h:337
std::unique_ptr< Scene > SceneUniquePtr
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:748
::ignition::msgs::Fog * mutable_fog()
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:607
bool has_background() const
Definition: build/ignition-msgs5/include/ignition/msgs/scene.pb.h:478