Ignition Msgs

API Reference

5.8.1
light.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ignition/msgs/light.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
36 #include "ignition/msgs/pose.pb.h"
38 #include "ignition/msgs/color.pb.h"
39 #ifndef _MSC_VER
40 #pragma GCC system_header
41 #else
42 #pragma warning(push)
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
44 #endif
45 #ifdef __linux__
46 #include <sys/sysmacros.h>
47 #endif
48 #include <memory>
49 #include <ignition/msgs/Export.hh>
50 // @@protoc_insertion_point(includes)
51 #include <google/protobuf/port_def.inc>
52 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2flight_2eproto IGNITION_MSGS_VISIBLE
53 PROTOBUF_NAMESPACE_OPEN
54 namespace internal {
55 class AnyMetadata;
56 } // namespace internal
57 PROTOBUF_NAMESPACE_CLOSE
58 
59 // Internal implementation detail -- do not use these members.
60 struct IGNITION_MSGS_VISIBLE TableStruct_ignition_2fmsgs_2flight_2eproto {
61  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
62  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
63  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
64  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
65  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
66  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
67  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
68  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
69  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
70 };
71 extern IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto;
72 namespace ignition {
73 namespace msgs {
74 class Light;
75 class LightDefaultTypeInternal;
76 IGNITION_MSGS_VISIBLE extern LightDefaultTypeInternal _Light_default_instance_;
77 } // namespace msgs
78 } // namespace ignition
79 PROTOBUF_NAMESPACE_OPEN
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Light* Arena::CreateMaybeMessage<::ignition::msgs::Light>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
82 namespace ignition {
83 namespace msgs {
84 
85 enum Light_LightType : int {
91 };
92 IGNITION_MSGS_VISIBLE bool Light_LightType_IsValid(int value);
96 
97 IGNITION_MSGS_VISIBLE const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Light_LightType_descriptor();
98 template<typename T>
99 inline const std::string& Light_LightType_Name(T enum_t_value) {
100  static_assert(::std::is_same<T, Light_LightType>::value ||
102  "Incorrect type passed to function Light_LightType_Name.");
103  return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
104  Light_LightType_descriptor(), enum_t_value);
105 }
107  ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Light_LightType* value) {
108  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Light_LightType>(
109  Light_LightType_descriptor(), name, value);
110 }
111 // ===================================================================
112 
113 class IGNITION_MSGS_VISIBLE Light PROTOBUF_FINAL :
114  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.Light) */ {
115  public:
116  inline Light() : Light(nullptr) {}
117  virtual ~Light();
118 
119  Light(const Light& from);
120  Light(Light&& from) noexcept
121  : Light() {
122  *this = ::std::move(from);
123  }
124 
125  inline Light& operator=(const Light& from) {
126  CopyFrom(from);
127  return *this;
128  }
129  inline Light& operator=(Light&& from) noexcept {
130  if (GetArena() == from.GetArena()) {
131  if (this != &from) InternalSwap(&from);
132  } else {
133  CopyFrom(from);
134  }
135  return *this;
136  }
137 
138  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
139  return GetDescriptor();
140  }
141  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
142  return GetMetadataStatic().descriptor;
143  }
144  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
145  return GetMetadataStatic().reflection;
146  }
147  static const Light& default_instance();
148 
149  static inline const Light* internal_default_instance() {
150  return reinterpret_cast<const Light*>(
152  }
153  static constexpr int kIndexInFileMessages =
154  0;
155 
156  friend void swap(Light& a, Light& b) {
157  a.Swap(&b);
158  }
159  inline void Swap(Light* other) {
160  if (other == this) return;
161  if (GetArena() == other->GetArena()) {
162  InternalSwap(other);
163  } else {
164  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
165  }
166  }
167  void UnsafeArenaSwap(Light* other) {
168  if (other == this) return;
169  GOOGLE_DCHECK(GetArena() == other->GetArena());
170  InternalSwap(other);
171  }
172 
173  // implements Message ----------------------------------------------
174 
175  inline Light* New() const final {
176  return CreateMaybeMessage<Light>(nullptr);
177  }
178 
179  Light* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
180  return CreateMaybeMessage<Light>(arena);
181  }
182  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
183  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
184  void CopyFrom(const Light& from);
185  void MergeFrom(const Light& from);
186  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
187  bool IsInitialized() const final;
188 
189  size_t ByteSizeLong() const final;
190  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
191  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
192  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
193  int GetCachedSize() const final { return _cached_size_.Get(); }
194 
195  private:
196  inline void SharedCtor();
197  inline void SharedDtor();
198  void SetCachedSize(int size) const final;
199  void InternalSwap(Light* other);
200  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
201  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
202  return "ignition.msgs.Light";
203  }
204  protected:
205  explicit Light(::PROTOBUF_NAMESPACE_ID::Arena* arena);
206  private:
207  static void ArenaDtor(void* object);
208  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
209  public:
210 
211  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
212  private:
213  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
214  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_ignition_2fmsgs_2flight_2eproto);
215  return ::descriptor_table_ignition_2fmsgs_2flight_2eproto.file_level_metadata[kIndexInFileMessages];
216  }
217 
218  public:
219 
220  // nested types ----------------------------------------------------
221 
223  static constexpr LightType POINT =
225  static constexpr LightType SPOT =
227  static constexpr LightType DIRECTIONAL =
229  static inline bool LightType_IsValid(int value) {
230  return Light_LightType_IsValid(value);
231  }
232  static constexpr LightType LightType_MIN =
234  static constexpr LightType LightType_MAX =
236  static constexpr int LightType_ARRAYSIZE =
238  static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
241  }
242  template<typename T>
243  static inline const std::string& LightType_Name(T enum_t_value) {
244  static_assert(::std::is_same<T, LightType>::value ||
246  "Incorrect type passed to function LightType_Name.");
247  return Light_LightType_Name(enum_t_value);
248  }
249  static inline bool LightType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
250  LightType* value) {
251  return Light_LightType_Parse(name, value);
252  }
253 
254  // accessors -------------------------------------------------------
255 
256  enum : int {
257  kNameFieldNumber = 2,
258  kHeaderFieldNumber = 1,
259  kPoseFieldNumber = 4,
260  kDiffuseFieldNumber = 5,
261  kSpecularFieldNumber = 6,
262  kDirectionFieldNumber = 10,
263  kTypeFieldNumber = 3,
264  kAttenuationConstantFieldNumber = 7,
265  kAttenuationLinearFieldNumber = 8,
266  kAttenuationQuadraticFieldNumber = 9,
267  kRangeFieldNumber = 11,
268  kCastShadowsFieldNumber = 12,
269  kSpotInnerAngleFieldNumber = 13,
270  kSpotOuterAngleFieldNumber = 14,
271  kSpotFalloffFieldNumber = 15,
272  kIdFieldNumber = 16,
273  kParentIdFieldNumber = 17,
274  };
275  // string name = 2;
276  void clear_name();
277  const std::string& name() const;
278  void set_name(const std::string& value);
279  void set_name(std::string&& value);
280  void set_name(const char* value);
281  void set_name(const char* value, size_t size);
285  private:
286  const std::string& _internal_name() const;
287  void _internal_set_name(const std::string& value);
288  std::string* _internal_mutable_name();
289  public:
290 
291  // .ignition.msgs.Header header = 1;
292  bool has_header() const;
293  private:
294  bool _internal_has_header() const;
295  public:
296  void clear_header();
297  const ::ignition::msgs::Header& header() const;
298  ::ignition::msgs::Header* release_header();
299  ::ignition::msgs::Header* mutable_header();
300  void set_allocated_header(::ignition::msgs::Header* header);
301  private:
302  const ::ignition::msgs::Header& _internal_header() const;
303  ::ignition::msgs::Header* _internal_mutable_header();
304  public:
306  ::ignition::msgs::Header* header);
307  ::ignition::msgs::Header* unsafe_arena_release_header();
308 
309  // .ignition.msgs.Pose pose = 4;
310  bool has_pose() const;
311  private:
312  bool _internal_has_pose() const;
313  public:
314  void clear_pose();
315  const ::ignition::msgs::Pose& pose() const;
316  ::ignition::msgs::Pose* release_pose();
317  ::ignition::msgs::Pose* mutable_pose();
318  void set_allocated_pose(::ignition::msgs::Pose* pose);
319  private:
320  const ::ignition::msgs::Pose& _internal_pose() const;
321  ::ignition::msgs::Pose* _internal_mutable_pose();
322  public:
324  ::ignition::msgs::Pose* pose);
325  ::ignition::msgs::Pose* unsafe_arena_release_pose();
326 
327  // .ignition.msgs.Color diffuse = 5;
328  bool has_diffuse() const;
329  private:
330  bool _internal_has_diffuse() const;
331  public:
333  const ::ignition::msgs::Color& diffuse() const;
334  ::ignition::msgs::Color* release_diffuse();
335  ::ignition::msgs::Color* mutable_diffuse();
336  void set_allocated_diffuse(::ignition::msgs::Color* diffuse);
337  private:
338  const ::ignition::msgs::Color& _internal_diffuse() const;
339  ::ignition::msgs::Color* _internal_mutable_diffuse();
340  public:
342  ::ignition::msgs::Color* diffuse);
343  ::ignition::msgs::Color* unsafe_arena_release_diffuse();
344 
345  // .ignition.msgs.Color specular = 6;
346  bool has_specular() const;
347  private:
348  bool _internal_has_specular() const;
349  public:
351  const ::ignition::msgs::Color& specular() const;
352  ::ignition::msgs::Color* release_specular();
353  ::ignition::msgs::Color* mutable_specular();
354  void set_allocated_specular(::ignition::msgs::Color* specular);
355  private:
356  const ::ignition::msgs::Color& _internal_specular() const;
357  ::ignition::msgs::Color* _internal_mutable_specular();
358  public:
360  ::ignition::msgs::Color* specular);
361  ::ignition::msgs::Color* unsafe_arena_release_specular();
362 
363  // .ignition.msgs.Vector3d direction = 10;
364  bool has_direction() const;
365  private:
366  bool _internal_has_direction() const;
367  public:
369  const ::ignition::msgs::Vector3d& direction() const;
370  ::ignition::msgs::Vector3d* release_direction();
371  ::ignition::msgs::Vector3d* mutable_direction();
372  void set_allocated_direction(::ignition::msgs::Vector3d* direction);
373  private:
374  const ::ignition::msgs::Vector3d& _internal_direction() const;
375  ::ignition::msgs::Vector3d* _internal_mutable_direction();
376  public:
378  ::ignition::msgs::Vector3d* direction);
379  ::ignition::msgs::Vector3d* unsafe_arena_release_direction();
380 
381  // .ignition.msgs.Light.LightType type = 3;
382  void clear_type();
385  private:
386  ::ignition::msgs::Light_LightType _internal_type() const;
387  void _internal_set_type(::ignition::msgs::Light_LightType value);
388  public:
389 
390  // float attenuation_constant = 7;
392  float attenuation_constant() const;
393  void set_attenuation_constant(float value);
394  private:
395  float _internal_attenuation_constant() const;
396  void _internal_set_attenuation_constant(float value);
397  public:
398 
399  // float attenuation_linear = 8;
401  float attenuation_linear() const;
402  void set_attenuation_linear(float value);
403  private:
404  float _internal_attenuation_linear() const;
405  void _internal_set_attenuation_linear(float value);
406  public:
407 
408  // float attenuation_quadratic = 9;
410  float attenuation_quadratic() const;
411  void set_attenuation_quadratic(float value);
412  private:
413  float _internal_attenuation_quadratic() const;
414  void _internal_set_attenuation_quadratic(float value);
415  public:
416 
417  // float range = 11;
418  void clear_range();
419  float range() const;
420  void set_range(float value);
421  private:
422  float _internal_range() const;
423  void _internal_set_range(float value);
424  public:
425 
426  // bool cast_shadows = 12;
428  bool cast_shadows() const;
429  void set_cast_shadows(bool value);
430  private:
431  bool _internal_cast_shadows() const;
432  void _internal_set_cast_shadows(bool value);
433  public:
434 
435  // float spot_inner_angle = 13;
437  float spot_inner_angle() const;
438  void set_spot_inner_angle(float value);
439  private:
440  float _internal_spot_inner_angle() const;
441  void _internal_set_spot_inner_angle(float value);
442  public:
443 
444  // float spot_outer_angle = 14;
446  float spot_outer_angle() const;
447  void set_spot_outer_angle(float value);
448  private:
449  float _internal_spot_outer_angle() const;
450  void _internal_set_spot_outer_angle(float value);
451  public:
452 
453  // float spot_falloff = 15;
455  float spot_falloff() const;
456  void set_spot_falloff(float value);
457  private:
458  float _internal_spot_falloff() const;
459  void _internal_set_spot_falloff(float value);
460  public:
461 
462  // uint32 id = 16;
463  void clear_id();
464  ::PROTOBUF_NAMESPACE_ID::uint32 id() const;
465  void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
466  private:
467  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_id() const;
468  void _internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
469  public:
470 
471  // uint32 parent_id = 17;
473  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const;
474  void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
475  private:
476  ::PROTOBUF_NAMESPACE_ID::uint32 _internal_parent_id() const;
477  void _internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value);
478  public:
479 
480  // @@protoc_insertion_point(class_scope:ignition.msgs.Light)
481  private:
482  class _Internal;
483 
484  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
485  typedef void InternalArenaConstructable_;
486  typedef void DestructorSkippable_;
487  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
488  ::ignition::msgs::Header* header_;
489  ::ignition::msgs::Pose* pose_;
490  ::ignition::msgs::Color* diffuse_;
491  ::ignition::msgs::Color* specular_;
492  ::ignition::msgs::Vector3d* direction_;
493  int type_;
494  float attenuation_constant_;
495  float attenuation_linear_;
496  float attenuation_quadratic_;
497  float range_;
498  bool cast_shadows_;
499  float spot_inner_angle_;
500  float spot_outer_angle_;
501  float spot_falloff_;
502  ::PROTOBUF_NAMESPACE_ID::uint32 id_;
503  ::PROTOBUF_NAMESPACE_ID::uint32 parent_id_;
504  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
505  friend struct ::TableStruct_ignition_2fmsgs_2flight_2eproto;
506 };
507 // ===================================================================
508 
509 
510 // ===================================================================
511 
512 #ifdef __GNUC__
513  #pragma GCC diagnostic push
514  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
515 #endif // __GNUC__
516 // Light
517 
518 // .ignition.msgs.Header header = 1;
519 inline bool Light::_internal_has_header() const {
520  return this != internal_default_instance() && header_ != nullptr;
521 }
522 inline bool Light::has_header() const {
523  return _internal_has_header();
524 }
525 inline const ::ignition::msgs::Header& Light::_internal_header() const {
526  const ::ignition::msgs::Header* p = header_;
527  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Header&>(
529 }
530 inline const ::ignition::msgs::Header& Light::header() const {
531  // @@protoc_insertion_point(field_get:ignition.msgs.Light.header)
532  return _internal_header();
533 }
534 inline void Light::unsafe_arena_set_allocated_header(
535  ::ignition::msgs::Header* header) {
536  if (GetArena() == nullptr) {
537  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
538  }
539  header_ = header;
540  if (header) {
541 
542  } else {
543 
544  }
545  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.header)
546 }
547 inline ::ignition::msgs::Header* Light::release_header() {
548 
549  ::ignition::msgs::Header* temp = header_;
550  header_ = nullptr;
551  if (GetArena() != nullptr) {
552  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
553  }
554  return temp;
555 }
556 inline ::ignition::msgs::Header* Light::unsafe_arena_release_header() {
557  // @@protoc_insertion_point(field_release:ignition.msgs.Light.header)
558 
559  ::ignition::msgs::Header* temp = header_;
560  header_ = nullptr;
561  return temp;
562 }
563 inline ::ignition::msgs::Header* Light::_internal_mutable_header() {
564 
565  if (header_ == nullptr) {
566  auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
567  header_ = p;
568  }
569  return header_;
570 }
571 inline ::ignition::msgs::Header* Light::mutable_header() {
572  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.header)
573  return _internal_mutable_header();
574 }
575 inline void Light::set_allocated_header(::ignition::msgs::Header* header) {
576  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
577  if (message_arena == nullptr) {
578  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(header_);
579  }
580  if (header) {
581  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
582  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(header)->GetArena();
583  if (message_arena != submessage_arena) {
584  header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
585  message_arena, header, submessage_arena);
586  }
587 
588  } else {
589 
590  }
591  header_ = header;
592  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.header)
593 }
594 
595 // string name = 2;
596 inline void Light::clear_name() {
597  name_.ClearToEmpty();
598 }
599 inline const std::string& Light::name() const {
600  // @@protoc_insertion_point(field_get:ignition.msgs.Light.name)
601  return _internal_name();
602 }
603 inline void Light::set_name(const std::string& value) {
604  _internal_set_name(value);
605  // @@protoc_insertion_point(field_set:ignition.msgs.Light.name)
606 }
607 inline std::string* Light::mutable_name() {
608  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.name)
609  return _internal_mutable_name();
610 }
611 inline const std::string& Light::_internal_name() const {
612  return name_.Get();
613 }
614 inline void Light::_internal_set_name(const std::string& value) {
615 
616  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
617 }
618 inline void Light::set_name(std::string&& value) {
619 
620  name_.Set(
621  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
622  // @@protoc_insertion_point(field_set_rvalue:ignition.msgs.Light.name)
623 }
624 inline void Light::set_name(const char* value) {
625  GOOGLE_DCHECK(value != nullptr);
626 
627  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
628  // @@protoc_insertion_point(field_set_char:ignition.msgs.Light.name)
629 }
630 inline void Light::set_name(const char* value,
631  size_t size) {
632 
633  name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
634  reinterpret_cast<const char*>(value), size), GetArena());
635  // @@protoc_insertion_point(field_set_pointer:ignition.msgs.Light.name)
636 }
637 inline std::string* Light::_internal_mutable_name() {
638 
639  return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
640 }
641 inline std::string* Light::release_name() {
642  // @@protoc_insertion_point(field_release:ignition.msgs.Light.name)
643  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
644 }
645 inline void Light::set_allocated_name(std::string* name) {
646  if (name != nullptr) {
647 
648  } else {
649 
650  }
651  name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
652  GetArena());
653  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.name)
654 }
655 
656 // .ignition.msgs.Light.LightType type = 3;
657 inline void Light::clear_type() {
658  type_ = 0;
659 }
660 inline ::ignition::msgs::Light_LightType Light::_internal_type() const {
661  return static_cast< ::ignition::msgs::Light_LightType >(type_);
662 }
663 inline ::ignition::msgs::Light_LightType Light::type() const {
664  // @@protoc_insertion_point(field_get:ignition.msgs.Light.type)
665  return _internal_type();
666 }
667 inline void Light::_internal_set_type(::ignition::msgs::Light_LightType value) {
668 
669  type_ = value;
670 }
671 inline void Light::set_type(::ignition::msgs::Light_LightType value) {
672  _internal_set_type(value);
673  // @@protoc_insertion_point(field_set:ignition.msgs.Light.type)
674 }
675 
676 // .ignition.msgs.Pose pose = 4;
677 inline bool Light::_internal_has_pose() const {
678  return this != internal_default_instance() && pose_ != nullptr;
679 }
680 inline bool Light::has_pose() const {
681  return _internal_has_pose();
682 }
683 inline const ::ignition::msgs::Pose& Light::_internal_pose() const {
684  const ::ignition::msgs::Pose* p = pose_;
685  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Pose&>(
687 }
688 inline const ::ignition::msgs::Pose& Light::pose() const {
689  // @@protoc_insertion_point(field_get:ignition.msgs.Light.pose)
690  return _internal_pose();
691 }
692 inline void Light::unsafe_arena_set_allocated_pose(
693  ::ignition::msgs::Pose* pose) {
694  if (GetArena() == nullptr) {
695  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
696  }
697  pose_ = pose;
698  if (pose) {
699 
700  } else {
701 
702  }
703  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.pose)
704 }
705 inline ::ignition::msgs::Pose* Light::release_pose() {
706 
707  ::ignition::msgs::Pose* temp = pose_;
708  pose_ = nullptr;
709  if (GetArena() != nullptr) {
710  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
711  }
712  return temp;
713 }
714 inline ::ignition::msgs::Pose* Light::unsafe_arena_release_pose() {
715  // @@protoc_insertion_point(field_release:ignition.msgs.Light.pose)
716 
717  ::ignition::msgs::Pose* temp = pose_;
718  pose_ = nullptr;
719  return temp;
720 }
721 inline ::ignition::msgs::Pose* Light::_internal_mutable_pose() {
722 
723  if (pose_ == nullptr) {
724  auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
725  pose_ = p;
726  }
727  return pose_;
728 }
729 inline ::ignition::msgs::Pose* Light::mutable_pose() {
730  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.pose)
731  return _internal_mutable_pose();
732 }
733 inline void Light::set_allocated_pose(::ignition::msgs::Pose* pose) {
734  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
735  if (message_arena == nullptr) {
736  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose_);
737  }
738  if (pose) {
739  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
740  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(pose)->GetArena();
741  if (message_arena != submessage_arena) {
742  pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
743  message_arena, pose, submessage_arena);
744  }
745 
746  } else {
747 
748  }
749  pose_ = pose;
750  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.pose)
751 }
752 
753 // .ignition.msgs.Color diffuse = 5;
754 inline bool Light::_internal_has_diffuse() const {
755  return this != internal_default_instance() && diffuse_ != nullptr;
756 }
757 inline bool Light::has_diffuse() const {
758  return _internal_has_diffuse();
759 }
760 inline const ::ignition::msgs::Color& Light::_internal_diffuse() const {
761  const ::ignition::msgs::Color* p = diffuse_;
762  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
764 }
765 inline const ::ignition::msgs::Color& Light::diffuse() const {
766  // @@protoc_insertion_point(field_get:ignition.msgs.Light.diffuse)
767  return _internal_diffuse();
768 }
769 inline void Light::unsafe_arena_set_allocated_diffuse(
770  ::ignition::msgs::Color* diffuse) {
771  if (GetArena() == nullptr) {
772  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
773  }
774  diffuse_ = diffuse;
775  if (diffuse) {
776 
777  } else {
778 
779  }
780  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.diffuse)
781 }
782 inline ::ignition::msgs::Color* Light::release_diffuse() {
783 
784  ::ignition::msgs::Color* temp = diffuse_;
785  diffuse_ = nullptr;
786  if (GetArena() != nullptr) {
787  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
788  }
789  return temp;
790 }
791 inline ::ignition::msgs::Color* Light::unsafe_arena_release_diffuse() {
792  // @@protoc_insertion_point(field_release:ignition.msgs.Light.diffuse)
793 
794  ::ignition::msgs::Color* temp = diffuse_;
795  diffuse_ = nullptr;
796  return temp;
797 }
798 inline ::ignition::msgs::Color* Light::_internal_mutable_diffuse() {
799 
800  if (diffuse_ == nullptr) {
801  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
802  diffuse_ = p;
803  }
804  return diffuse_;
805 }
806 inline ::ignition::msgs::Color* Light::mutable_diffuse() {
807  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.diffuse)
808  return _internal_mutable_diffuse();
809 }
810 inline void Light::set_allocated_diffuse(::ignition::msgs::Color* diffuse) {
811  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
812  if (message_arena == nullptr) {
813  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse_);
814  }
815  if (diffuse) {
816  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
817  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(diffuse)->GetArena();
818  if (message_arena != submessage_arena) {
819  diffuse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
820  message_arena, diffuse, submessage_arena);
821  }
822 
823  } else {
824 
825  }
826  diffuse_ = diffuse;
827  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.diffuse)
828 }
829 
830 // .ignition.msgs.Color specular = 6;
831 inline bool Light::_internal_has_specular() const {
832  return this != internal_default_instance() && specular_ != nullptr;
833 }
834 inline bool Light::has_specular() const {
835  return _internal_has_specular();
836 }
837 inline const ::ignition::msgs::Color& Light::_internal_specular() const {
838  const ::ignition::msgs::Color* p = specular_;
839  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Color&>(
841 }
842 inline const ::ignition::msgs::Color& Light::specular() const {
843  // @@protoc_insertion_point(field_get:ignition.msgs.Light.specular)
844  return _internal_specular();
845 }
846 inline void Light::unsafe_arena_set_allocated_specular(
847  ::ignition::msgs::Color* specular) {
848  if (GetArena() == nullptr) {
849  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
850  }
851  specular_ = specular;
852  if (specular) {
853 
854  } else {
855 
856  }
857  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.specular)
858 }
859 inline ::ignition::msgs::Color* Light::release_specular() {
860 
861  ::ignition::msgs::Color* temp = specular_;
862  specular_ = nullptr;
863  if (GetArena() != nullptr) {
864  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
865  }
866  return temp;
867 }
868 inline ::ignition::msgs::Color* Light::unsafe_arena_release_specular() {
869  // @@protoc_insertion_point(field_release:ignition.msgs.Light.specular)
870 
871  ::ignition::msgs::Color* temp = specular_;
872  specular_ = nullptr;
873  return temp;
874 }
875 inline ::ignition::msgs::Color* Light::_internal_mutable_specular() {
876 
877  if (specular_ == nullptr) {
878  auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArena());
879  specular_ = p;
880  }
881  return specular_;
882 }
883 inline ::ignition::msgs::Color* Light::mutable_specular() {
884  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.specular)
885  return _internal_mutable_specular();
886 }
887 inline void Light::set_allocated_specular(::ignition::msgs::Color* specular) {
888  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
889  if (message_arena == nullptr) {
890  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular_);
891  }
892  if (specular) {
893  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
894  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(specular)->GetArena();
895  if (message_arena != submessage_arena) {
896  specular = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
897  message_arena, specular, submessage_arena);
898  }
899 
900  } else {
901 
902  }
903  specular_ = specular;
904  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.specular)
905 }
906 
907 // float attenuation_constant = 7;
908 inline void Light::clear_attenuation_constant() {
909  attenuation_constant_ = 0;
910 }
911 inline float Light::_internal_attenuation_constant() const {
912  return attenuation_constant_;
913 }
914 inline float Light::attenuation_constant() const {
915  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_constant)
916  return _internal_attenuation_constant();
917 }
918 inline void Light::_internal_set_attenuation_constant(float value) {
919 
920  attenuation_constant_ = value;
921 }
922 inline void Light::set_attenuation_constant(float value) {
923  _internal_set_attenuation_constant(value);
924  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_constant)
925 }
926 
927 // float attenuation_linear = 8;
928 inline void Light::clear_attenuation_linear() {
929  attenuation_linear_ = 0;
930 }
931 inline float Light::_internal_attenuation_linear() const {
932  return attenuation_linear_;
933 }
934 inline float Light::attenuation_linear() const {
935  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_linear)
936  return _internal_attenuation_linear();
937 }
938 inline void Light::_internal_set_attenuation_linear(float value) {
939 
940  attenuation_linear_ = value;
941 }
942 inline void Light::set_attenuation_linear(float value) {
943  _internal_set_attenuation_linear(value);
944  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_linear)
945 }
946 
947 // float attenuation_quadratic = 9;
948 inline void Light::clear_attenuation_quadratic() {
949  attenuation_quadratic_ = 0;
950 }
951 inline float Light::_internal_attenuation_quadratic() const {
952  return attenuation_quadratic_;
953 }
954 inline float Light::attenuation_quadratic() const {
955  // @@protoc_insertion_point(field_get:ignition.msgs.Light.attenuation_quadratic)
956  return _internal_attenuation_quadratic();
957 }
958 inline void Light::_internal_set_attenuation_quadratic(float value) {
959 
960  attenuation_quadratic_ = value;
961 }
962 inline void Light::set_attenuation_quadratic(float value) {
963  _internal_set_attenuation_quadratic(value);
964  // @@protoc_insertion_point(field_set:ignition.msgs.Light.attenuation_quadratic)
965 }
966 
967 // .ignition.msgs.Vector3d direction = 10;
968 inline bool Light::_internal_has_direction() const {
969  return this != internal_default_instance() && direction_ != nullptr;
970 }
971 inline bool Light::has_direction() const {
972  return _internal_has_direction();
973 }
974 inline const ::ignition::msgs::Vector3d& Light::_internal_direction() const {
975  const ::ignition::msgs::Vector3d* p = direction_;
976  return p != nullptr ? *p : reinterpret_cast<const ::ignition::msgs::Vector3d&>(
978 }
979 inline const ::ignition::msgs::Vector3d& Light::direction() const {
980  // @@protoc_insertion_point(field_get:ignition.msgs.Light.direction)
981  return _internal_direction();
982 }
983 inline void Light::unsafe_arena_set_allocated_direction(
984  ::ignition::msgs::Vector3d* direction) {
985  if (GetArena() == nullptr) {
986  delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
987  }
988  direction_ = direction;
989  if (direction) {
990 
991  } else {
992 
993  }
994  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:ignition.msgs.Light.direction)
995 }
996 inline ::ignition::msgs::Vector3d* Light::release_direction() {
997 
998  ::ignition::msgs::Vector3d* temp = direction_;
999  direction_ = nullptr;
1000  if (GetArena() != nullptr) {
1001  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1002  }
1003  return temp;
1004 }
1005 inline ::ignition::msgs::Vector3d* Light::unsafe_arena_release_direction() {
1006  // @@protoc_insertion_point(field_release:ignition.msgs.Light.direction)
1007 
1008  ::ignition::msgs::Vector3d* temp = direction_;
1009  direction_ = nullptr;
1010  return temp;
1011 }
1012 inline ::ignition::msgs::Vector3d* Light::_internal_mutable_direction() {
1013 
1014  if (direction_ == nullptr) {
1015  auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArena());
1016  direction_ = p;
1017  }
1018  return direction_;
1019 }
1020 inline ::ignition::msgs::Vector3d* Light::mutable_direction() {
1021  // @@protoc_insertion_point(field_mutable:ignition.msgs.Light.direction)
1022  return _internal_mutable_direction();
1023 }
1024 inline void Light::set_allocated_direction(::ignition::msgs::Vector3d* direction) {
1025  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
1026  if (message_arena == nullptr) {
1027  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction_);
1028  }
1029  if (direction) {
1030  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1031  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(direction)->GetArena();
1032  if (message_arena != submessage_arena) {
1033  direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1034  message_arena, direction, submessage_arena);
1035  }
1036 
1037  } else {
1038 
1039  }
1040  direction_ = direction;
1041  // @@protoc_insertion_point(field_set_allocated:ignition.msgs.Light.direction)
1042 }
1043 
1044 // float range = 11;
1045 inline void Light::clear_range() {
1046  range_ = 0;
1047 }
1048 inline float Light::_internal_range() const {
1049  return range_;
1050 }
1051 inline float Light::range() const {
1052  // @@protoc_insertion_point(field_get:ignition.msgs.Light.range)
1053  return _internal_range();
1054 }
1055 inline void Light::_internal_set_range(float value) {
1056 
1057  range_ = value;
1058 }
1059 inline void Light::set_range(float value) {
1060  _internal_set_range(value);
1061  // @@protoc_insertion_point(field_set:ignition.msgs.Light.range)
1062 }
1063 
1064 // bool cast_shadows = 12;
1065 inline void Light::clear_cast_shadows() {
1066  cast_shadows_ = false;
1067 }
1068 inline bool Light::_internal_cast_shadows() const {
1069  return cast_shadows_;
1070 }
1071 inline bool Light::cast_shadows() const {
1072  // @@protoc_insertion_point(field_get:ignition.msgs.Light.cast_shadows)
1073  return _internal_cast_shadows();
1074 }
1075 inline void Light::_internal_set_cast_shadows(bool value) {
1076 
1077  cast_shadows_ = value;
1078 }
1079 inline void Light::set_cast_shadows(bool value) {
1080  _internal_set_cast_shadows(value);
1081  // @@protoc_insertion_point(field_set:ignition.msgs.Light.cast_shadows)
1082 }
1083 
1084 // float spot_inner_angle = 13;
1085 inline void Light::clear_spot_inner_angle() {
1086  spot_inner_angle_ = 0;
1087 }
1088 inline float Light::_internal_spot_inner_angle() const {
1089  return spot_inner_angle_;
1090 }
1091 inline float Light::spot_inner_angle() const {
1092  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_inner_angle)
1093  return _internal_spot_inner_angle();
1094 }
1095 inline void Light::_internal_set_spot_inner_angle(float value) {
1096 
1097  spot_inner_angle_ = value;
1098 }
1099 inline void Light::set_spot_inner_angle(float value) {
1100  _internal_set_spot_inner_angle(value);
1101  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_inner_angle)
1102 }
1103 
1104 // float spot_outer_angle = 14;
1105 inline void Light::clear_spot_outer_angle() {
1106  spot_outer_angle_ = 0;
1107 }
1108 inline float Light::_internal_spot_outer_angle() const {
1109  return spot_outer_angle_;
1110 }
1111 inline float Light::spot_outer_angle() const {
1112  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_outer_angle)
1113  return _internal_spot_outer_angle();
1114 }
1115 inline void Light::_internal_set_spot_outer_angle(float value) {
1116 
1117  spot_outer_angle_ = value;
1118 }
1119 inline void Light::set_spot_outer_angle(float value) {
1120  _internal_set_spot_outer_angle(value);
1121  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_outer_angle)
1122 }
1123 
1124 // float spot_falloff = 15;
1125 inline void Light::clear_spot_falloff() {
1126  spot_falloff_ = 0;
1127 }
1128 inline float Light::_internal_spot_falloff() const {
1129  return spot_falloff_;
1130 }
1131 inline float Light::spot_falloff() const {
1132  // @@protoc_insertion_point(field_get:ignition.msgs.Light.spot_falloff)
1133  return _internal_spot_falloff();
1134 }
1135 inline void Light::_internal_set_spot_falloff(float value) {
1136 
1137  spot_falloff_ = value;
1138 }
1139 inline void Light::set_spot_falloff(float value) {
1140  _internal_set_spot_falloff(value);
1141  // @@protoc_insertion_point(field_set:ignition.msgs.Light.spot_falloff)
1142 }
1143 
1144 // uint32 id = 16;
1145 inline void Light::clear_id() {
1146  id_ = 0u;
1147 }
1148 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_id() const {
1149  return id_;
1150 }
1151 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::id() const {
1152  // @@protoc_insertion_point(field_get:ignition.msgs.Light.id)
1153  return _internal_id();
1154 }
1155 inline void Light::_internal_set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1156 
1157  id_ = value;
1158 }
1159 inline void Light::set_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1160  _internal_set_id(value);
1161  // @@protoc_insertion_point(field_set:ignition.msgs.Light.id)
1162 }
1163 
1164 // uint32 parent_id = 17;
1165 inline void Light::clear_parent_id() {
1166  parent_id_ = 0u;
1167 }
1168 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::_internal_parent_id() const {
1169  return parent_id_;
1170 }
1171 inline ::PROTOBUF_NAMESPACE_ID::uint32 Light::parent_id() const {
1172  // @@protoc_insertion_point(field_get:ignition.msgs.Light.parent_id)
1173  return _internal_parent_id();
1174 }
1175 inline void Light::_internal_set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1176 
1177  parent_id_ = value;
1178 }
1179 inline void Light::set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value) {
1180  _internal_set_parent_id(value);
1181  // @@protoc_insertion_point(field_set:ignition.msgs.Light.parent_id)
1182 }
1183 
1184 #ifdef __GNUC__
1185  #pragma GCC diagnostic pop
1186 #endif // __GNUC__
1187 
1192 // @@protoc_insertion_point(namespace_scope)
1193 
1194 } // namespace msgs
1195 } // namespace ignition
1196 
1197 PROTOBUF_NAMESPACE_OPEN
1198 
1199 template <> struct is_proto_enum< ::ignition::msgs::Light_LightType> : ::std::true_type {};
1200 template <>
1201 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Light_LightType>() {
1203 }
1204 
1205 PROTOBUF_NAMESPACE_CLOSE
1206 
1207 #ifdef _MSC_VER
1208 #pragma warning(pop)
1209 #endif
1210 // @@protoc_insertion_point(global_scope)
1211 
1212 #include <google/protobuf/port_undef.inc>
1213 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
void set_attenuation_linear(float value)
void set_spot_inner_angle(float value)
::PROTOBUF_NAMESPACE_ID::uint32 parent_id() const
Light * New() const final
Definition: light.pb.h:175
::ignition::msgs::Color * mutable_diffuse()
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: light.pb.h:144
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
static bool LightType_IsValid(int value)
Definition: light.pb.h:229
::ignition::msgs::Header * release_header()
void set_name(const char *value, size_t size)
::ignition::msgs::Vector3d * unsafe_arena_release_direction()
void set_spot_outer_angle(float value)
::ignition::msgs::Header * mutable_header()
Light & operator=(Light &&from) noexcept
Definition: light.pb.h:129
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: light.pb.h:138
void set_name(const std::string &value)
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LightType_descriptor()
Definition: light.pb.h:239
void set_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
::ignition::msgs::Color * release_diffuse()
void unsafe_arena_set_allocated_direction(::ignition::msgs::Vector3d *direction)
void set_attenuation_constant(float value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Light &from)
static const Light * internal_default_instance()
Definition: light.pb.h:149
const ::ignition::msgs::Color & specular() const
::ignition::msgs::Color * unsafe_arena_release_specular()
::ignition::msgs::Vector3d * release_direction()
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
void set_parent_id(::PROTOBUF_NAMESPACE_ID::uint32 value)
static const Light & default_instance()
void set_allocated_direction(::ignition::msgs::Vector3d *direction)
void set_attenuation_quadratic(float value)
Light(::PROTOBUF_NAMESPACE_ID::Arena *arena)
friend void swap(Light &a, Light &b)
Definition: light.pb.h:156
::ignition::msgs::Light_LightType type() const
Light()
Definition: light.pb.h:116
void set_allocated_pose(::ignition::msgs::Pose *pose)
void set_type(::ignition::msgs::Light_LightType value)
void UnsafeArenaSwap(Light *other)
Definition: light.pb.h:167
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
Light & operator=(const Light &from)
Definition: light.pb.h:125
const ::ignition::msgs::Vector3d & direction() const
Light_LightType LightType
Definition: light.pb.h:222
Light * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: light.pb.h:179
::ignition::msgs::Color * release_specular()
const ::ignition::msgs::Color & diffuse() const
::ignition::msgs::Vector3d * mutable_direction()
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
::ignition::msgs::Pose * unsafe_arena_release_pose()
::ignition::msgs::Color * unsafe_arena_release_diffuse()
void Swap(Light *other)
Definition: light.pb.h:159
void unsafe_arena_set_allocated_specular(::ignition::msgs::Color *specular)
::ignition::msgs::Pose * mutable_pose()
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
::ignition::msgs::Color * mutable_specular()
::PROTOBUF_NAMESPACE_ID::uint32 id() const
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: light.pb.h:141
static const std::string & LightType_Name(T enum_t_value)
Definition: light.pb.h:243
void set_allocated_specular(::ignition::msgs::Color *specular)
const std::string & name() const
void CopyFrom(const Light &from)
void unsafe_arena_set_allocated_diffuse(::ignition::msgs::Color *diffuse)
void set_name(const char *value)
void set_name(std::string &&value)
static bool LightType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LightType *value)
Definition: light.pb.h:249
void set_allocated_name(std::string *name)
void set_allocated_diffuse(::ignition::msgs::Color *diffuse)
void set_spot_falloff(float value)
const ::ignition::msgs::Header & header() const
Light(Light &&from) noexcept
Definition: light.pb.h:120
void set_cast_shadows(bool value)
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto
T max(T... args)
T min(T... args)
std::shared_ptr< const Light > ConstLightSharedPtr
Definition: light.pb.h:1191
IGNITION_MSGS_VISIBLE ColorDefaultTypeInternal _Color_default_instance_
const std::string & Light_LightType_Name(T enum_t_value)
Definition: light.pb.h:99
constexpr Light_LightType Light_LightType_LightType_MAX
Definition: light.pb.h:94
IGNITION_MSGS_VISIBLE Vector3dDefaultTypeInternal _Vector3d_default_instance_
std::unique_ptr< Light > LightUniquePtr
Definition: light.pb.h:1188
constexpr int Light_LightType_LightType_ARRAYSIZE
Definition: light.pb.h:95
std::shared_ptr< Light > LightSharedPtr
Definition: light.pb.h:1190
constexpr Light_LightType Light_LightType_LightType_MIN
Definition: light.pb.h:93
bool Light_LightType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Light_LightType *value)
Definition: light.pb.h:106
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE LightDefaultTypeInternal _Light_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< const Light > ConstLightUniquePtr
Definition: light.pb.h:1189
Light_LightType
Definition: light.pb.h:85
@ Light_LightType_SPOT
Definition: light.pb.h:87
@ Light_LightType_DIRECTIONAL
Definition: light.pb.h:88
@ Light_LightType_Light_LightType_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: light.pb.h:90
@ Light_LightType_POINT
Definition: light.pb.h:86
@ Light_LightType_Light_LightType_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: light.pb.h:89
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Light_LightType_descriptor()
IGNITION_MSGS_VISIBLE bool Light_LightType_IsValid(int value)
Definition: actor.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1] PROTOBUF_SECTION_VARIABLE(protodesc_cold)