Gazebo Msgs

API Reference

8.7.0
build/ignition-msgs8/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"
39 #include "ignition/msgs/model.pb.h"
41 #ifndef _MSC_VER
42 #pragma GCC system_header
43 #else
44 #pragma warning(push)
45 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #endif
47 #ifdef __linux__
48 #include <sys/sysmacros.h>
49 #endif
50 #include <memory>
51 #include <ignition/msgs/Export.hh>
52 // @@protoc_insertion_point(includes)
53 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fscene_2eproto IGNITION_MSGS_VISIBLE
54 
56 // Internal implementation detail -- do not use these members.
57 struct IGNITION_MSGS_VISIBLE TableStruct {
58  static const ::google::protobuf::internal::ParseTableField entries[];
59  static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
60  static const ::google::protobuf::internal::ParseTable schema[1];
61  static const ::google::protobuf::internal::FieldMetadata field_metadata[];
62  static const ::google::protobuf::internal::SerializationTable serialization_table[];
63  static const ::google::protobuf::uint32 offsets[];
64 };
65 void IGNITION_MSGS_VISIBLE AddDescriptors();
66 } // namespace protobuf_ignition_2fmsgs_2fscene_2eproto
67 namespace ignition {
68 namespace msgs {
69 class Scene;
70 class SceneDefaultTypeInternal;
71 IGNITION_MSGS_VISIBLE extern SceneDefaultTypeInternal _Scene_default_instance_;
72 } // namespace msgs
73 } // namespace ignition
74 namespace google {
75 namespace protobuf {
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Scene* Arena::CreateMaybeMessage<::ignition::msgs::Scene>(Arena*);
77 } // namespace protobuf
78 } // namespace google
79 namespace ignition {
80 namespace msgs {
81 
82 // ===================================================================
83 
84 class IGNITION_MSGS_VISIBLE Scene : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Scene) */ {
85  public:
86  Scene();
87  virtual ~Scene();
88 
89  Scene(const Scene& from);
90 
91  inline Scene& operator=(const Scene& from) {
92  CopyFrom(from);
93  return *this;
94  }
95  #if LANG_CXX11
96  Scene(Scene&& from) noexcept
97  : Scene() {
98  *this = ::std::move(from);
99  }
100 
101  inline Scene& operator=(Scene&& from) noexcept {
102  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
103  if (this != &from) InternalSwap(&from);
104  } else {
105  CopyFrom(from);
106  }
107  return *this;
108  }
109  #endif
110  static const ::google::protobuf::Descriptor* descriptor();
111  static const Scene& default_instance();
112 
113  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
114  static inline const Scene* internal_default_instance() {
115  return reinterpret_cast<const Scene*>(
117  }
118  static constexpr int kIndexInFileMessages =
119  0;
120 
121  void Swap(Scene* other);
122  friend void swap(Scene& a, Scene& b) {
123  a.Swap(&b);
124  }
125 
126  // implements Message ----------------------------------------------
127 
128  inline Scene* New() const final {
129  return CreateMaybeMessage<Scene>(NULL);
130  }
131 
132  Scene* New(::google::protobuf::Arena* arena) const final {
133  return CreateMaybeMessage<Scene>(arena);
134  }
135  void CopyFrom(const ::google::protobuf::Message& from) final;
136  void MergeFrom(const ::google::protobuf::Message& from) final;
137  void CopyFrom(const Scene& from);
138  void MergeFrom(const Scene& from);
139  void Clear() final;
140  bool IsInitialized() const final;
141 
142  size_t ByteSizeLong() const final;
143  bool MergePartialFromCodedStream(
144  ::google::protobuf::io::CodedInputStream* input) final;
145  void SerializeWithCachedSizes(
146  ::google::protobuf::io::CodedOutputStream* output) const final;
147  ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
148  bool deterministic, ::google::protobuf::uint8* target) const final;
149  int GetCachedSize() const final { return _cached_size_.Get(); }
150 
151  private:
152  void SharedCtor();
153  void SharedDtor();
154  void SetCachedSize(int size) const final;
155  void InternalSwap(Scene* other);
156  private:
157  inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
158  return NULL;
159  }
160  inline void* MaybeArenaPtr() const {
161  return NULL;
162  }
163  public:
164 
165  ::google::protobuf::Metadata GetMetadata() const final;
166 
167  // nested types ----------------------------------------------------
168 
169  // accessors -------------------------------------------------------
170 
171  // repeated .ignition.msgs.Model model = 9;
172  int model_size() const;
173  void clear_model();
174  static const int kModelFieldNumber = 9;
175  ::ignition::msgs::Model* mutable_model(int index);
176  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
177  mutable_model();
178  const ::ignition::msgs::Model& model(int index) const;
179  ::ignition::msgs::Model* add_model();
180  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
181  model() const;
182 
183  // repeated .ignition.msgs.Light light = 10;
184  int light_size() const;
185  void clear_light();
186  static const int kLightFieldNumber = 10;
187  ::ignition::msgs::Light* mutable_light(int index);
188  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >*
189  mutable_light();
190  const ::ignition::msgs::Light& light(int index) const;
191  ::ignition::msgs::Light* add_light();
192  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >&
193  light() const;
194 
195  // repeated .ignition.msgs.Joint joint = 11;
196  int joint_size() const;
197  void clear_joint();
198  static const int kJointFieldNumber = 11;
199  ::ignition::msgs::Joint* mutable_joint(int index);
200  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
201  mutable_joint();
202  const ::ignition::msgs::Joint& joint(int index) const;
203  ::ignition::msgs::Joint* add_joint();
204  const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
205  joint() const;
206 
207  // string name = 2;
208  void clear_name();
209  static const int kNameFieldNumber = 2;
210  const ::std::string& name() const;
211  void set_name(const ::std::string& value);
212  #if LANG_CXX11
213  void set_name(::std::string&& value);
214  #endif
215  void set_name(const char* value);
216  void set_name(const char* value, size_t size);
217  ::std::string* mutable_name();
218  ::std::string* release_name();
219  void set_allocated_name(::std::string* name);
220 
221  // .ignition.msgs.Header header = 1;
222  bool has_header() const;
223  void clear_header();
224  static const int kHeaderFieldNumber = 1;
225  private:
226  const ::ignition::msgs::Header& _internal_header() const;
227  public:
228  const ::ignition::msgs::Header& header() const;
229  ::ignition::msgs::Header* release_header();
230  ::ignition::msgs::Header* mutable_header();
231  void set_allocated_header(::ignition::msgs::Header* header);
232 
233  // .ignition.msgs.Color ambient = 3;
234  bool has_ambient() const;
235  void clear_ambient();
236  static const int kAmbientFieldNumber = 3;
237  private:
238  const ::ignition::msgs::Color& _internal_ambient() const;
239  public:
240  const ::ignition::msgs::Color& ambient() const;
241  ::ignition::msgs::Color* release_ambient();
242  ::ignition::msgs::Color* mutable_ambient();
243  void set_allocated_ambient(::ignition::msgs::Color* ambient);
244 
245  // .ignition.msgs.Color background = 4;
246  bool has_background() const;
247  void clear_background();
248  static const int kBackgroundFieldNumber = 4;
249  private:
250  const ::ignition::msgs::Color& _internal_background() const;
251  public:
252  const ::ignition::msgs::Color& background() const;
253  ::ignition::msgs::Color* release_background();
254  ::ignition::msgs::Color* mutable_background();
255  void set_allocated_background(::ignition::msgs::Color* background);
256 
257  // .ignition.msgs.Sky sky = 5;
258  bool has_sky() const;
259  void clear_sky();
260  static const int kSkyFieldNumber = 5;
261  private:
262  const ::ignition::msgs::Sky& _internal_sky() const;
263  public:
264  const ::ignition::msgs::Sky& sky() const;
265  ::ignition::msgs::Sky* release_sky();
266  ::ignition::msgs::Sky* mutable_sky();
267  void set_allocated_sky(::ignition::msgs::Sky* sky);
268 
269  // .ignition.msgs.Fog fog = 7;
270  bool has_fog() const;
271  void clear_fog();
272  static const int kFogFieldNumber = 7;
273  private:
274  const ::ignition::msgs::Fog& _internal_fog() const;
275  public:
276  const ::ignition::msgs::Fog& fog() const;
277  ::ignition::msgs::Fog* release_fog();
278  ::ignition::msgs::Fog* mutable_fog();
279  void set_allocated_fog(::ignition::msgs::Fog* fog);
280 
281  // .ignition.msgs.Material.Script shadow_caster_material_script = 13;
282  bool has_shadow_caster_material_script() const;
283  void clear_shadow_caster_material_script();
284  static const int kShadowCasterMaterialScriptFieldNumber = 13;
285  private:
286  const ::ignition::msgs::Material_Script& _internal_shadow_caster_material_script() const;
287  public:
288  const ::ignition::msgs::Material_Script& shadow_caster_material_script() const;
289  ::ignition::msgs::Material_Script* release_shadow_caster_material_script();
290  ::ignition::msgs::Material_Script* mutable_shadow_caster_material_script();
291  void set_allocated_shadow_caster_material_script(::ignition::msgs::Material_Script* shadow_caster_material_script);
292 
293  // bool shadows = 6;
294  void clear_shadows();
295  static const int kShadowsFieldNumber = 6;
296  bool shadows() const;
297  void set_shadows(bool value);
298 
299  // bool grid = 8;
300  void clear_grid();
301  static const int kGridFieldNumber = 8;
302  bool grid() const;
303  void set_grid(bool value);
304 
305  // bool origin_visual = 12;
306  void clear_origin_visual();
307  static const int kOriginVisualFieldNumber = 12;
308  bool origin_visual() const;
309  void set_origin_visual(bool value);
310 
311  // @@protoc_insertion_point(class_scope:ignition.msgs.Scene)
312  private:
313 
314  ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
315  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > model_;
316  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > light_;
317  ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > joint_;
318  ::google::protobuf::internal::ArenaStringPtr name_;
319  ::ignition::msgs::Header* header_;
320  ::ignition::msgs::Color* ambient_;
321  ::ignition::msgs::Color* background_;
322  ::ignition::msgs::Sky* sky_;
323  ::ignition::msgs::Fog* fog_;
324  ::ignition::msgs::Material_Script* shadow_caster_material_script_;
325  bool shadows_;
326  bool grid_;
327  bool origin_visual_;
328  mutable ::google::protobuf::internal::CachedSize _cached_size_;
329  friend struct ::protobuf_ignition_2fmsgs_2fscene_2eproto::TableStruct;
330 };
331 // ===================================================================
332 
333 
334 // ===================================================================
335 
336 #ifdef __GNUC__
337  #pragma GCC diagnostic push
338  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
339 #endif // __GNUC__
340 // Scene
341 
342 // .ignition.msgs.Header header = 1;
343 inline bool Scene::has_header() const {
344  return this != internal_default_instance() && header_ != NULL;
345 }
346 inline const ::ignition::msgs::Header& Scene::_internal_header() const {
347  return *header_;
348 }
349 inline const ::ignition::msgs::Header& Scene::header() const {
350  const ::ignition::msgs::Header* p = header_;
351  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.header)
352  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Header*>(
354 }
355 inline ::ignition::msgs::Header* Scene::release_header() {
356  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.header)
357 
358  ::ignition::msgs::Header* temp = header_;
359  header_ = NULL;
360  return temp;
361 }
362 inline ::ignition::msgs::Header* Scene::mutable_header() {
363 
364  if (header_ == NULL) {
365  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
366  header_ = p;
367  }
368  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.header)
369  return header_;
370 }
372  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
373  if (message_arena == NULL) {
374  delete reinterpret_cast< ::google::protobuf::MessageLite*>(header_);
375  }
376  if (header) {
377  ::google::protobuf::Arena* submessage_arena = NULL;
378  if (message_arena != submessage_arena) {
379  header = ::google::protobuf::internal::GetOwnedMessage(
380  message_arena, header, submessage_arena);
381  }
382 
383  } else {
384 
385  }
386  header_ = header;
387  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.header)
388 }
389 
390 // string name = 2;
391 inline void Scene::clear_name() {
392  name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
393 }
394 inline const ::std::string& Scene::name() const {
395  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.name)
396  return name_.GetNoArena();
397 }
398 inline void Scene::set_name(const ::std::string& value) {
399 
400  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
401  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.name)
402 }
403 #if LANG_CXX11
404 inline void Scene::set_name(::std::string&& value) {
405 
406  name_.SetNoArena(
407  &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
408  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Scene.name)
409 }
410 #endif
411 inline void Scene::set_name(const char* value) {
412  GOOGLE_DCHECK(value != NULL);
413 
414  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
415  // @@protoc_insertion_point(field_set_char:ignition.msgs.Scene.name)
416 }
417 inline void Scene::set_name(const char* value, size_t size) {
418 
419  name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
420  ::std::string(reinterpret_cast<const char*>(value), size));
421  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Scene.name)
422 }
423 inline ::std::string* Scene::mutable_name() {
424 
425  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.name)
426  return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
427 }
428 inline ::std::string* Scene::release_name() {
429  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.name)
430 
431  return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
432 }
434  if (name != NULL) {
435 
436  } else {
437 
438  }
439  name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
440  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.name)
441 }
442 
443 // .ignition.msgs.Color ambient = 3;
444 inline bool Scene::has_ambient() const {
445  return this != internal_default_instance() && ambient_ != NULL;
446 }
447 inline const ::ignition::msgs::Color& Scene::_internal_ambient() const {
448  return *ambient_;
449 }
450 inline const ::ignition::msgs::Color& Scene::ambient() const {
451  const ::ignition::msgs::Color* p = ambient_;
452  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.ambient)
453  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
455 }
456 inline ::ignition::msgs::Color* Scene::release_ambient() {
457  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.ambient)
458 
459  ::ignition::msgs::Color* temp = ambient_;
460  ambient_ = NULL;
461  return temp;
462 }
463 inline ::ignition::msgs::Color* Scene::mutable_ambient() {
464 
465  if (ambient_ == NULL) {
466  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
467  ambient_ = p;
468  }
469  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.ambient)
470  return ambient_;
471 }
473  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
474  if (message_arena == NULL) {
475  delete reinterpret_cast< ::google::protobuf::MessageLite*>(ambient_);
476  }
477  if (ambient) {
478  ::google::protobuf::Arena* submessage_arena = NULL;
479  if (message_arena != submessage_arena) {
480  ambient = ::google::protobuf::internal::GetOwnedMessage(
481  message_arena, ambient, submessage_arena);
482  }
483 
484  } else {
485 
486  }
487  ambient_ = ambient;
488  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.ambient)
489 }
490 
491 // .ignition.msgs.Color background = 4;
492 inline bool Scene::has_background() const {
493  return this != internal_default_instance() && background_ != NULL;
494 }
495 inline const ::ignition::msgs::Color& Scene::_internal_background() const {
496  return *background_;
497 }
498 inline const ::ignition::msgs::Color& Scene::background() const {
499  const ::ignition::msgs::Color* p = background_;
500  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.background)
501  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Color*>(
503 }
504 inline ::ignition::msgs::Color* Scene::release_background() {
505  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.background)
506 
507  ::ignition::msgs::Color* temp = background_;
508  background_ = NULL;
509  return temp;
510 }
511 inline ::ignition::msgs::Color* Scene::mutable_background() {
512 
513  if (background_ == NULL) {
514  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaNoVirtual());
515  background_ = p;
516  }
517  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.background)
518  return background_;
519 }
521  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
522  if (message_arena == NULL) {
523  delete reinterpret_cast< ::google::protobuf::MessageLite*>(background_);
524  }
525  if (background) {
526  ::google::protobuf::Arena* submessage_arena = NULL;
527  if (message_arena != submessage_arena) {
528  background = ::google::protobuf::internal::GetOwnedMessage(
529  message_arena, background, submessage_arena);
530  }
531 
532  } else {
533 
534  }
535  background_ = background;
536  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.background)
537 }
538 
539 // .ignition.msgs.Sky sky = 5;
540 inline bool Scene::has_sky() const {
541  return this != internal_default_instance() && sky_ != NULL;
542 }
543 inline const ::ignition::msgs::Sky& Scene::_internal_sky() const {
544  return *sky_;
545 }
546 inline const ::ignition::msgs::Sky& Scene::sky() const {
547  const ::ignition::msgs::Sky* p = sky_;
548  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.sky)
549  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Sky*>(
551 }
552 inline ::ignition::msgs::Sky* Scene::release_sky() {
553  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.sky)
554 
555  ::ignition::msgs::Sky* temp = sky_;
556  sky_ = NULL;
557  return temp;
558 }
559 inline ::ignition::msgs::Sky* Scene::mutable_sky() {
560 
561  if (sky_ == NULL) {
562  auto* p = CreateMaybeMessage<::ignition::msgs::Sky>(GetArenaNoVirtual());
563  sky_ = p;
564  }
565  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.sky)
566  return sky_;
567 }
569  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
570  if (message_arena == NULL) {
571  delete reinterpret_cast< ::google::protobuf::MessageLite*>(sky_);
572  }
573  if (sky) {
574  ::google::protobuf::Arena* submessage_arena = NULL;
575  if (message_arena != submessage_arena) {
576  sky = ::google::protobuf::internal::GetOwnedMessage(
577  message_arena, sky, submessage_arena);
578  }
579 
580  } else {
581 
582  }
583  sky_ = sky;
584  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.sky)
585 }
586 
587 // bool shadows = 6;
588 inline void Scene::clear_shadows() {
589  shadows_ = false;
590 }
591 inline bool Scene::shadows() const {
592  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.shadows)
593  return shadows_;
594 }
595 inline void Scene::set_shadows(bool value) {
596 
597  shadows_ = value;
598  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.shadows)
599 }
600 
601 // .ignition.msgs.Fog fog = 7;
602 inline bool Scene::has_fog() const {
603  return this != internal_default_instance() && fog_ != NULL;
604 }
605 inline const ::ignition::msgs::Fog& Scene::_internal_fog() const {
606  return *fog_;
607 }
608 inline const ::ignition::msgs::Fog& Scene::fog() const {
609  const ::ignition::msgs::Fog* p = fog_;
610  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.fog)
611  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Fog*>(
613 }
614 inline ::ignition::msgs::Fog* Scene::release_fog() {
615  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.fog)
616 
617  ::ignition::msgs::Fog* temp = fog_;
618  fog_ = NULL;
619  return temp;
620 }
621 inline ::ignition::msgs::Fog* Scene::mutable_fog() {
622 
623  if (fog_ == NULL) {
624  auto* p = CreateMaybeMessage<::ignition::msgs::Fog>(GetArenaNoVirtual());
625  fog_ = p;
626  }
627  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.fog)
628  return fog_;
629 }
631  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
632  if (message_arena == NULL) {
633  delete reinterpret_cast< ::google::protobuf::MessageLite*>(fog_);
634  }
635  if (fog) {
636  ::google::protobuf::Arena* submessage_arena = NULL;
637  if (message_arena != submessage_arena) {
638  fog = ::google::protobuf::internal::GetOwnedMessage(
639  message_arena, fog, submessage_arena);
640  }
641 
642  } else {
643 
644  }
645  fog_ = fog;
646  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.fog)
647 }
648 
649 // bool grid = 8;
650 inline void Scene::clear_grid() {
651  grid_ = false;
652 }
653 inline bool Scene::grid() const {
654  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.grid)
655  return grid_;
656 }
657 inline void Scene::set_grid(bool value) {
658 
659  grid_ = value;
660  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.grid)
661 }
662 
663 // repeated .ignition.msgs.Model model = 9;
664 inline int Scene::model_size() const {
665  return model_.size();
666 }
667 inline ::ignition::msgs::Model* Scene::mutable_model(int index) {
668  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.model)
669  return model_.Mutable(index);
670 }
671 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >*
673  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.model)
674  return &model_;
675 }
676 inline const ::ignition::msgs::Model& Scene::model(int index) const {
677  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.model)
678  return model_.Get(index);
679 }
680 inline ::ignition::msgs::Model* Scene::add_model() {
681  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.model)
682  return model_.Add();
683 }
684 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model >&
685 Scene::model() const {
686  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.model)
687  return model_;
688 }
689 
690 // repeated .ignition.msgs.Light light = 10;
691 inline int Scene::light_size() const {
692  return light_.size();
693 }
694 inline ::ignition::msgs::Light* Scene::mutable_light(int index) {
695  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.light)
696  return light_.Mutable(index);
697 }
698 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >*
700  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.light)
701  return &light_;
702 }
703 inline const ::ignition::msgs::Light& Scene::light(int index) const {
704  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.light)
705  return light_.Get(index);
706 }
707 inline ::ignition::msgs::Light* Scene::add_light() {
708  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.light)
709  return light_.Add();
710 }
711 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light >&
712 Scene::light() const {
713  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.light)
714  return light_;
715 }
716 
717 // repeated .ignition.msgs.Joint joint = 11;
718 inline int Scene::joint_size() const {
719  return joint_.size();
720 }
721 inline ::ignition::msgs::Joint* Scene::mutable_joint(int index) {
722  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.joint)
723  return joint_.Mutable(index);
724 }
725 inline ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >*
727  // @@protoc_insertion_point(field_mutable_list:ignition.msgs.Scene.joint)
728  return &joint_;
729 }
730 inline const ::ignition::msgs::Joint& Scene::joint(int index) const {
731  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.joint)
732  return joint_.Get(index);
733 }
734 inline ::ignition::msgs::Joint* Scene::add_joint() {
735  // @@protoc_insertion_point(field_add:ignition.msgs.Scene.joint)
736  return joint_.Add();
737 }
738 inline const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint >&
739 Scene::joint() const {
740  // @@protoc_insertion_point(field_list:ignition.msgs.Scene.joint)
741  return joint_;
742 }
743 
744 // bool origin_visual = 12;
746  origin_visual_ = false;
747 }
748 inline bool Scene::origin_visual() const {
749  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.origin_visual)
750  return origin_visual_;
751 }
752 inline void Scene::set_origin_visual(bool value) {
753 
754  origin_visual_ = value;
755  // @@protoc_insertion_point(field_set:ignition.msgs.Scene.origin_visual)
756 }
757 
758 // .ignition.msgs.Material.Script shadow_caster_material_script = 13;
760  return this != internal_default_instance() && shadow_caster_material_script_ != NULL;
761 }
762 inline const ::ignition::msgs::Material_Script& Scene::_internal_shadow_caster_material_script() const {
763  return *shadow_caster_material_script_;
764 }
765 inline const ::ignition::msgs::Material_Script& Scene::shadow_caster_material_script() const {
766  const ::ignition::msgs::Material_Script* p = shadow_caster_material_script_;
767  // @@protoc_insertion_point(field_get:ignition.msgs.Scene.shadow_caster_material_script)
768  return p != NULL ? *p : *reinterpret_cast<const ::ignition::msgs::Material_Script*>(
770 }
771 inline ::ignition::msgs::Material_Script* Scene::release_shadow_caster_material_script() {
772  // @@protoc_insertion_point(field_release:ignition.msgs.Scene.shadow_caster_material_script)
773 
774  ::ignition::msgs::Material_Script* temp = shadow_caster_material_script_;
775  shadow_caster_material_script_ = NULL;
776  return temp;
777 }
778 inline ::ignition::msgs::Material_Script* Scene::mutable_shadow_caster_material_script() {
779 
780  if (shadow_caster_material_script_ == NULL) {
781  auto* p = CreateMaybeMessage<::ignition::msgs::Material_Script>(GetArenaNoVirtual());
782  shadow_caster_material_script_ = p;
783  }
784  // @@protoc_insertion_point(field_mutable:ignition.msgs.Scene.shadow_caster_material_script)
785  return shadow_caster_material_script_;
786 }
788  ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
789  if (message_arena == NULL) {
790  delete reinterpret_cast< ::google::protobuf::MessageLite*>(shadow_caster_material_script_);
791  }
793  ::google::protobuf::Arena* submessage_arena = NULL;
794  if (message_arena != submessage_arena) {
795  shadow_caster_material_script = ::google::protobuf::internal::GetOwnedMessage(
796  message_arena, shadow_caster_material_script, submessage_arena);
797  }
798 
799  } else {
800 
801  }
802  shadow_caster_material_script_ = shadow_caster_material_script;
803  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Scene.shadow_caster_material_script)
804 }
805 
806 #ifdef __GNUC__
807  #pragma GCC diagnostic pop
808 #endif // __GNUC__
809 
814 // @@protoc_insertion_point(namespace_scope)
815 
816 } // namespace msgs
817 } // namespace ignition
818 
819 #ifdef _MSC_VER
820 #pragma warning(pop)
821 #endif
822 // @@protoc_insertion_point(global_scope)
823 
824 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fscene_2eproto
IGNITION_MSGS_VISIBLE Material_ScriptDefaultTypeInternal _Material_Script_default_instance_
bool has_shadow_caster_material_script() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:759
::ignition::msgs::Color * release_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:456
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:355
STL class.
STL class.
bool has_ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:444
T move(T... args)
void set_allocated_fog(::ignition::msgs::Fog *fog)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:630
const ::ignition::msgs::Sky & sky() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:546
void set_name(const ::std::string &value)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:398
::std::string * release_name()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:428
void clear_name()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:391
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:349
std::shared_ptr< const Scene > ConstSceneSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:813
void set_allocated_ambient(::ignition::msgs::Color *ambient)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:472
Definition: build/ignition-msgs8/include/ignition/msgs/model.pb.h:83
Definition: build/ignition-msgs8/include/ignition/msgs/sky.pb.h:78
IGNITION_MSGS_VISIBLE SceneDefaultTypeInternal _Scene_default_instance_
bool grid() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:653
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:57
::ignition::msgs::Fog * release_fog()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:614
void set_allocated_sky(::ignition::msgs::Sky *sky)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:568
Definition: build/ignition-msgs8/include/ignition/msgs/material.pb.h:132
void clear_origin_visual()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:745
Definition: build/ignition-msgs8/include/ignition/msgs/fog.pb.h:102
friend void swap(Scene &a, Scene &b)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:122
Scene * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:132
IGNITION_MSGS_VISIBLE FogDefaultTypeInternal _Fog_default_instance_
const ::ignition::msgs::Fog & fog() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:608
const ::ignition::msgs::Color & ambient() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:450
void set_allocated_name(::std::string *name)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:433
::ignition::msgs::Material_Script * mutable_shadow_caster_material_script()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:778
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
void clear_grid()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:650
::ignition::msgs::Joint * add_joint()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:734
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > * mutable_light()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:699
IGNITION_MSGS_VISIBLE SkyDefaultTypeInternal _Sky_default_instance_
const ::ignition::msgs::Material_Script & shadow_caster_material_script() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:765
Definition: build/ignition-msgs8/include/ignition/msgs/color.pb.h:77
int model_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:664
const ::ignition::msgs::Color & background() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:498
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:343
bool origin_visual() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:748
::std::string * mutable_name()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:423
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:84
::ignition::msgs::Color * release_background()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:504
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > * mutable_joint()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:726
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:362
void clear_shadows()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:588
::ignition::msgs::Color * mutable_ambient()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:463
::ignition::msgs::Sky * mutable_sky()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:559
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:55
bool shadows() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:591
Scene * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:128
static const Scene * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:114
::ignition::msgs::Material_Script * release_shadow_caster_material_script()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:771
std::shared_ptr< Scene > SceneSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:812
const ::std::string & name() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:394
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
Definition: build/ignition-msgs8/include/ignition/msgs/light.pb.h:103
STL namespace.
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > * mutable_model()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:672
std::unique_ptr< const Scene > ConstSceneUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:811
int light_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:691
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:371
::ignition::msgs::Light * add_light()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:707
void set_shadows(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:595
::ignition::msgs::Color * mutable_background()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:511
::ignition::msgs::Sky * release_sky()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:552
Scene & operator=(const Scene &from)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:91
void IGNITION_MSGS_VISIBLE AddDescriptors()
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Light > & light() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:712
void set_allocated_background(::ignition::msgs::Color *background)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:520
STL class.
void Swap(Scene *other)
bool has_fog() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:602
void set_origin_visual(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:752
void set_grid(bool value)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:657
void set_allocated_shadow_caster_material_script(::ignition::msgs::Material_Script *shadow_caster_material_script)
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:787
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Joint > & joint() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:739
::ignition::msgs::Model * add_model()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:680
bool has_sky() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:540
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Model > & model() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:685
int joint_size() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:718
Definition: build/ignition-msgs8/include/ignition/msgs/joint.pb.h:337
std::unique_ptr< Scene > SceneUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:810
::ignition::msgs::Fog * mutable_fog()
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:621
bool has_background() const
Definition: build/ignition-msgs8/include/ignition/msgs/scene.pb.h:492