4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2flight_2eproto
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3019000 < 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.
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>
32 #include <google/protobuf/extension_set.h>
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
40 #pragma GCC system_header
43 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
46 #include <sys/sysmacros.h>
51 #include <google/protobuf/port_def.inc>
52 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2flight_2eproto IGNITION_MSGS_VISIBLE
53 PROTOBUF_NAMESPACE_OPEN
57 PROTOBUF_NAMESPACE_CLOSE
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
65 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
67 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
68 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
69 static const uint32_t offsets[];
75 struct LightDefaultTypeInternal;
79 PROTOBUF_NAMESPACE_OPEN
80 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Light* Arena::CreateMaybeMessage<::ignition::msgs::Light>(Arena*);
81 PROTOBUF_NAMESPACE_CLOSE
102 "Incorrect type passed to function Light_LightType_Name.");
103 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
107 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
Light_LightType* value) {
108 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Light_LightType>(
113 class IGNITION_MSGS_VISIBLE
Light final :
114 public ::PROTOBUF_NAMESPACE_ID::Message {
118 explicit constexpr
Light(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
123 *
this = ::std::move(from);
131 if (
this == &from)
return *
this;
132 if (GetOwningArena() == from.GetOwningArena()
133 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
134 && GetOwningArena() !=
nullptr
144 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
145 return GetDescriptor();
148 return default_instance().GetMetadata().descriptor;
151 return default_instance().GetMetadata().reflection;
154 return *internal_default_instance();
157 return reinterpret_cast<const Light*
>(
160 static constexpr
int kIndexInFileMessages =
167 if (other ==
this)
return;
168 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
169 if (GetOwningArena() !=
nullptr &&
170 GetOwningArena() == other->GetOwningArena()) {
172 if (GetOwningArena() == other->GetOwningArena()) {
176 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
180 if (other ==
this)
return;
181 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
187 Light*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
188 return CreateMaybeMessage<Light>(arena);
190 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
192 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
195 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
197 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
198 bool IsInitialized() const final;
200 size_t ByteSizeLong() const final;
201 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
202 uint8_t* _InternalSerialize(
203 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
204 int GetCachedSize() const final {
return _cached_size_.Get(); }
209 void SetCachedSize(
int size)
const final;
210 void InternalSwap(
Light* other);
213 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
214 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
215 return "ignition.msgs.Light";
218 explicit Light(::PROTOBUF_NAMESPACE_ID::Arena* arena,
219 bool is_message_owned =
false);
221 static void ArenaDtor(
void*
object);
222 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
226 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
228 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
239 static inline
bool LightType_IsValid(
int value) {
246 static constexpr
int LightType_ARRAYSIZE =
248 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
256 "Incorrect type passed to function LightType_Name.");
267 kNameFieldNumber = 2,
268 kHeaderFieldNumber = 1,
269 kPoseFieldNumber = 4,
270 kDiffuseFieldNumber = 5,
271 kSpecularFieldNumber = 6,
272 kDirectionFieldNumber = 10,
273 kTypeFieldNumber = 3,
274 kAttenuationConstantFieldNumber = 7,
275 kAttenuationLinearFieldNumber = 8,
276 kAttenuationQuadraticFieldNumber = 9,
277 kRangeFieldNumber = 11,
278 kCastShadowsFieldNumber = 12,
279 kSpotInnerAngleFieldNumber = 13,
280 kSpotOuterAngleFieldNumber = 14,
281 kSpotFalloffFieldNumber = 15,
283 kParentIdFieldNumber = 17,
288 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
295 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_name(
const std::string& value);
300 bool has_header()
const;
302 bool _internal_has_header()
const;
305 const ::ignition::msgs::Header& header()
const;
306 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
310 const ::ignition::msgs::Header& _internal_header()
const;
313 void unsafe_arena_set_allocated_header(
318 bool has_pose()
const;
320 bool _internal_has_pose()
const;
323 const ::ignition::msgs::Pose& pose()
const;
324 PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
328 const ::ignition::msgs::Pose& _internal_pose()
const;
331 void unsafe_arena_set_allocated_pose(
336 bool has_diffuse()
const;
338 bool _internal_has_diffuse()
const;
341 const ::ignition::msgs::Color& diffuse()
const;
342 PROTOBUF_NODISCARD ::ignition::msgs::Color* release_diffuse();
346 const ::ignition::msgs::Color& _internal_diffuse()
const;
349 void unsafe_arena_set_allocated_diffuse(
354 bool has_specular()
const;
356 bool _internal_has_specular()
const;
359 const ::ignition::msgs::Color& specular()
const;
360 PROTOBUF_NODISCARD ::ignition::msgs::Color* release_specular();
364 const ::ignition::msgs::Color& _internal_specular()
const;
367 void unsafe_arena_set_allocated_specular(
372 bool has_direction()
const;
374 bool _internal_has_direction()
const;
377 const ::ignition::msgs::Vector3d& direction()
const;
378 PROTOBUF_NODISCARD ::ignition::msgs::Vector3d* release_direction();
382 const ::ignition::msgs::Vector3d& _internal_direction()
const;
385 void unsafe_arena_set_allocated_direction(
399 void clear_attenuation_constant();
400 float attenuation_constant()
const;
401 void set_attenuation_constant(
float value);
403 float _internal_attenuation_constant()
const;
404 void _internal_set_attenuation_constant(
float value);
408 void clear_attenuation_linear();
409 float attenuation_linear()
const;
410 void set_attenuation_linear(
float value);
412 float _internal_attenuation_linear()
const;
413 void _internal_set_attenuation_linear(
float value);
417 void clear_attenuation_quadratic();
418 float attenuation_quadratic()
const;
419 void set_attenuation_quadratic(
float value);
421 float _internal_attenuation_quadratic()
const;
422 void _internal_set_attenuation_quadratic(
float value);
428 void set_range(
float value);
430 float _internal_range()
const;
431 void _internal_set_range(
float value);
435 void clear_cast_shadows();
436 bool cast_shadows()
const;
437 void set_cast_shadows(
bool value);
439 bool _internal_cast_shadows()
const;
440 void _internal_set_cast_shadows(
bool value);
444 void clear_spot_inner_angle();
445 float spot_inner_angle()
const;
446 void set_spot_inner_angle(
float value);
448 float _internal_spot_inner_angle()
const;
449 void _internal_set_spot_inner_angle(
float value);
453 void clear_spot_outer_angle();
454 float spot_outer_angle()
const;
455 void set_spot_outer_angle(
float value);
457 float _internal_spot_outer_angle()
const;
458 void _internal_set_spot_outer_angle(
float value);
462 void clear_spot_falloff();
463 float spot_falloff()
const;
464 void set_spot_falloff(
float value);
466 float _internal_spot_falloff()
const;
467 void _internal_set_spot_falloff(
float value);
473 void set_id(uint32_t value);
475 uint32_t _internal_id()
const;
476 void _internal_set_id(uint32_t value);
480 void clear_parent_id();
481 uint32_t parent_id()
const;
482 void set_parent_id(uint32_t value);
484 uint32_t _internal_parent_id()
const;
485 void _internal_set_parent_id(uint32_t value);
492 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
493 typedef void InternalArenaConstructable_;
494 typedef void DestructorSkippable_;
495 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
502 float attenuation_constant_;
503 float attenuation_linear_;
504 float attenuation_quadratic_;
507 float spot_inner_angle_;
508 float spot_outer_angle_;
512 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
513 friend struct ::TableStruct_ignition_2fmsgs_2flight_2eproto;
521 #pragma GCC diagnostic push
522 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
527 inline bool Light::_internal_has_header()
const {
528 return this != internal_default_instance() && header_ !=
nullptr;
531 return _internal_has_header();
533 inline const ::ignition::msgs::Header& Light::_internal_header()
const {
534 const ::ignition::msgs::Header* p = header_;
540 return _internal_header();
544 if (GetArenaForAllocation() ==
nullptr) {
545 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
559 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
560 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
561 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
562 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
564 if (GetArenaForAllocation() !=
nullptr) {
565 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
577 inline ::ignition::msgs::Header* Light::_internal_mutable_header() {
579 if (header_ ==
nullptr) {
580 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
591 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
592 if (message_arena ==
nullptr) {
593 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
596 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
597 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
598 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
599 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
600 if (message_arena != submessage_arena) {
601 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
602 message_arena, header, submessage_arena);
614 name_.ClearToEmpty();
618 return _internal_name();
620 template <
typename ArgT0,
typename... ArgT>
621 inline PROTOBUF_ALWAYS_INLINE
624 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
632 inline const std::string& Light::_internal_name()
const {
635 inline void Light::_internal_set_name(
const std::string& value) {
637 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
639 inline std::string* Light::_internal_mutable_name() {
641 return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
645 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
648 if (name !=
nullptr) {
653 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
654 GetArenaForAllocation());
655 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
656 if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
657 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
672 return _internal_type();
679 _internal_set_type(value);
684 inline bool Light::_internal_has_pose()
const {
685 return this != internal_default_instance() && pose_ !=
nullptr;
688 return _internal_has_pose();
690 inline const ::ignition::msgs::Pose& Light::_internal_pose()
const {
691 const ::ignition::msgs::Pose* p = pose_;
697 return _internal_pose();
701 if (GetArenaForAllocation() ==
nullptr) {
702 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
716 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
717 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
718 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
719 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
721 if (GetArenaForAllocation() !=
nullptr) {
722 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
734 inline ::ignition::msgs::Pose* Light::_internal_mutable_pose() {
736 if (pose_ ==
nullptr) {
737 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
748 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
749 if (message_arena ==
nullptr) {
750 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
753 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
754 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
755 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
756 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose));
757 if (message_arena != submessage_arena) {
758 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
759 message_arena, pose, submessage_arena);
770 inline bool Light::_internal_has_diffuse()
const {
771 return this != internal_default_instance() && diffuse_ !=
nullptr;
774 return _internal_has_diffuse();
776 inline const ::ignition::msgs::Color& Light::_internal_diffuse()
const {
777 const ::ignition::msgs::Color* p = diffuse_;
783 return _internal_diffuse();
787 if (GetArenaForAllocation() ==
nullptr) {
788 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(diffuse_);
802 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
803 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
804 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
805 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
807 if (GetArenaForAllocation() !=
nullptr) {
808 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
820 inline ::ignition::msgs::Color* Light::_internal_mutable_diffuse() {
822 if (diffuse_ ==
nullptr) {
823 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaForAllocation());
834 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
835 if (message_arena ==
nullptr) {
836 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(diffuse_);
839 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
840 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
841 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
842 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(diffuse));
843 if (message_arena != submessage_arena) {
844 diffuse = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
845 message_arena, diffuse, submessage_arena);
856 inline bool Light::_internal_has_specular()
const {
857 return this != internal_default_instance() && specular_ !=
nullptr;
860 return _internal_has_specular();
862 inline const ::ignition::msgs::Color& Light::_internal_specular()
const {
863 const ::ignition::msgs::Color* p = specular_;
869 return _internal_specular();
873 if (GetArenaForAllocation() ==
nullptr) {
874 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(specular_);
876 specular_ = specular;
888 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
889 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
890 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
891 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
893 if (GetArenaForAllocation() !=
nullptr) {
894 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
906 inline ::ignition::msgs::Color* Light::_internal_mutable_specular() {
908 if (specular_ ==
nullptr) {
909 auto* p = CreateMaybeMessage<::ignition::msgs::Color>(GetArenaForAllocation());
920 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
921 if (message_arena ==
nullptr) {
922 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(specular_);
925 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
926 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
927 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
928 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(specular));
929 if (message_arena != submessage_arena) {
930 specular = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
931 message_arena, specular, submessage_arena);
937 specular_ = specular;
943 attenuation_constant_ = 0;
945 inline float Light::_internal_attenuation_constant()
const {
946 return attenuation_constant_;
950 return _internal_attenuation_constant();
952 inline void Light::_internal_set_attenuation_constant(
float value) {
954 attenuation_constant_ = value;
957 _internal_set_attenuation_constant(value);
963 attenuation_linear_ = 0;
965 inline float Light::_internal_attenuation_linear()
const {
966 return attenuation_linear_;
970 return _internal_attenuation_linear();
972 inline void Light::_internal_set_attenuation_linear(
float value) {
974 attenuation_linear_ = value;
977 _internal_set_attenuation_linear(value);
983 attenuation_quadratic_ = 0;
985 inline float Light::_internal_attenuation_quadratic()
const {
986 return attenuation_quadratic_;
990 return _internal_attenuation_quadratic();
992 inline void Light::_internal_set_attenuation_quadratic(
float value) {
994 attenuation_quadratic_ = value;
997 _internal_set_attenuation_quadratic(value);
1002 inline bool Light::_internal_has_direction()
const {
1003 return this != internal_default_instance() && direction_ !=
nullptr;
1006 return _internal_has_direction();
1008 inline const ::ignition::msgs::Vector3d& Light::_internal_direction()
const {
1009 const ::ignition::msgs::Vector3d* p = direction_;
1015 return _internal_direction();
1019 if (GetArenaForAllocation() ==
nullptr) {
1020 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(direction_);
1022 direction_ = direction;
1033 direction_ =
nullptr;
1034 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1035 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
1036 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1037 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
1039 if (GetArenaForAllocation() !=
nullptr) {
1040 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1049 direction_ =
nullptr;
1052 inline ::ignition::msgs::Vector3d* Light::_internal_mutable_direction() {
1054 if (direction_ ==
nullptr) {
1055 auto* p = CreateMaybeMessage<::ignition::msgs::Vector3d>(GetArenaForAllocation());
1066 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1067 if (message_arena ==
nullptr) {
1068 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(direction_);
1071 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1072 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1073 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1074 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(direction));
1075 if (message_arena != submessage_arena) {
1076 direction = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1077 message_arena, direction, submessage_arena);
1083 direction_ = direction;
1091 inline float Light::_internal_range()
const {
1096 return _internal_range();
1098 inline void Light::_internal_set_range(
float value) {
1103 _internal_set_range(value);
1109 cast_shadows_ =
false;
1111 inline bool Light::_internal_cast_shadows()
const {
1112 return cast_shadows_;
1116 return _internal_cast_shadows();
1118 inline void Light::_internal_set_cast_shadows(
bool value) {
1120 cast_shadows_ = value;
1123 _internal_set_cast_shadows(value);
1129 spot_inner_angle_ = 0;
1131 inline float Light::_internal_spot_inner_angle()
const {
1132 return spot_inner_angle_;
1136 return _internal_spot_inner_angle();
1138 inline void Light::_internal_set_spot_inner_angle(
float value) {
1140 spot_inner_angle_ = value;
1143 _internal_set_spot_inner_angle(value);
1149 spot_outer_angle_ = 0;
1151 inline float Light::_internal_spot_outer_angle()
const {
1152 return spot_outer_angle_;
1156 return _internal_spot_outer_angle();
1158 inline void Light::_internal_set_spot_outer_angle(
float value) {
1160 spot_outer_angle_ = value;
1163 _internal_set_spot_outer_angle(value);
1171 inline float Light::_internal_spot_falloff()
const {
1172 return spot_falloff_;
1176 return _internal_spot_falloff();
1178 inline void Light::_internal_set_spot_falloff(
float value) {
1180 spot_falloff_ = value;
1183 _internal_set_spot_falloff(value);
1191 inline uint32_t Light::_internal_id()
const {
1196 return _internal_id();
1198 inline void Light::_internal_set_id(uint32_t value) {
1203 _internal_set_id(value);
1211 inline uint32_t Light::_internal_parent_id()
const {
1216 return _internal_parent_id();
1218 inline void Light::_internal_set_parent_id(uint32_t value) {
1223 _internal_set_parent_id(value);
1228 #pragma GCC diagnostic pop
1240 PROTOBUF_NAMESPACE_OPEN
1244 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::Light_LightType>() {
1248 PROTOBUF_NAMESPACE_CLOSE
1251 #pragma warning(pop)
1255 #include <google/protobuf/port_undef.inc>
Definition: color.pb.h:84
Definition: light.pb.h:114
void clear_parent_id()
Definition: light.pb.h:1208
void set_parent_id(uint32_t value)
Definition: light.pb.h:1222
void clear_attenuation_quadratic()
Definition: light.pb.h:982
const ::ignition::msgs::Pose & pose() const
Definition: light.pb.h:695
void set_attenuation_linear(float value)
Definition: light.pb.h:976
void set_spot_inner_angle(float value)
Definition: light.pb.h:1142
::ignition::msgs::Color * mutable_specular()
Definition: light.pb.h:914
void clear_attenuation_constant()
Definition: light.pb.h:942
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: light.pb.h:150
::ignition::msgs::Color * mutable_diffuse()
Definition: light.pb.h:828
float range() const
Definition: light.pb.h:1094
bool has_header() const
Definition: light.pb.h:530
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: light.pb.h:727
void clear_attenuation_linear()
Definition: light.pb.h:962
::ignition::msgs::Header * mutable_header()
Definition: light.pb.h:585
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: light.pb.h:643
void clear_spot_falloff()
Definition: light.pb.h:1168
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: light.pb.h:699
float attenuation_linear() const
Definition: light.pb.h:968
const std::string & name() const
Definition: light.pb.h:616
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_diffuse()
Definition: light.pb.h:798
::ignition::msgs::Vector3d * unsafe_arena_release_direction()
Definition: light.pb.h:1045
void clear_spot_inner_angle()
Definition: light.pb.h:1128
void set_spot_outer_angle(float value)
Definition: light.pb.h:1162
void clear_cast_shadows()
Definition: light.pb.h:1108
Light & operator=(Light &&from) noexcept
Definition: light.pb.h:130
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: light.pb.h:144
bool has_specular() const
Definition: light.pb.h:859
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * LightType_descriptor()
Definition: light.pb.h:249
const ::ignition::msgs::Color & specular() const
Definition: light.pb.h:867
constexpr Light(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void unsafe_arena_set_allocated_direction(::ignition::msgs::Vector3d *direction)
Definition: light.pb.h:1017
void set_attenuation_constant(float value)
Definition: light.pb.h:956
void clear_spot_outer_angle()
Definition: light.pb.h:1148
void clear_name()
Definition: light.pb.h:613
PROTOBUF_NODISCARD ::ignition::msgs::Vector3d * release_direction()
Definition: light.pb.h:1030
Light(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
void MergeFrom(const Light &from)
static const Light * internal_default_instance()
Definition: light.pb.h:156
void set_range(float value)
Definition: light.pb.h:1102
const ::ignition::msgs::Vector3d & direction() const
Definition: light.pb.h:1013
const ::ignition::msgs::Color & diffuse() const
Definition: light.pb.h:781
::ignition::msgs::Light_LightType type() const
Definition: light.pb.h:670
::ignition::msgs::Color * unsafe_arena_release_specular()
Definition: light.pb.h:899
void clear_id()
Definition: light.pb.h:1188
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: light.pb.h:542
static const Light & default_instance()
Definition: light.pb.h:153
void set_allocated_direction(::ignition::msgs::Vector3d *direction)
Definition: light.pb.h:1065
void set_attenuation_quadratic(float value)
Definition: light.pb.h:996
float spot_inner_angle() const
Definition: light.pb.h:1134
void set_name(ArgT0 &&arg0, ArgT... args)
bool has_pose() const
Definition: light.pb.h:687
friend void swap(Light &a, Light &b)
Definition: light.pb.h:163
float spot_outer_angle() const
Definition: light.pb.h:1154
float attenuation_constant() const
Definition: light.pb.h:948
Light()
Definition: light.pb.h:116
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: light.pb.h:747
void set_type(::ignition::msgs::Light_LightType value)
Definition: light.pb.h:678
void UnsafeArenaSwap(Light *other)
Definition: light.pb.h:179
Light & operator=(const Light &from)
Definition: light.pb.h:126
bool has_diffuse() const
Definition: light.pb.h:773
bool has_direction() const
Definition: light.pb.h:1005
bool cast_shadows() const
Definition: light.pb.h:1114
PROTOBUF_NODISCARD ::ignition::msgs::Color * release_specular()
Definition: light.pb.h:884
uint32_t parent_id() const
Definition: light.pb.h:1214
void clear_type()
Definition: light.pb.h:664
void set_allocated_header(::ignition::msgs::Header *header)
Definition: light.pb.h:590
::ignition::msgs::Pose * mutable_pose()
Definition: light.pb.h:742
void Swap(Light *other)
Definition: light.pb.h:166
void unsafe_arena_set_allocated_specular(::ignition::msgs::Color *specular)
Definition: light.pb.h:871
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: light.pb.h:555
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_range()
Definition: light.pb.h:1088
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: light.pb.h:147
::ignition::msgs::Color * unsafe_arena_release_diffuse()
Definition: light.pb.h:813
static const std::string & LightType_Name(T enum_t_value)
Definition: light.pb.h:253
::ignition::msgs::Vector3d * mutable_direction()
Definition: light.pb.h:1060
void set_allocated_specular(::ignition::msgs::Color *specular)
Definition: light.pb.h:919
const ::ignition::msgs::Header & header() const
Definition: light.pb.h:538
std::string * mutable_name()
Definition: light.pb.h:627
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: light.pb.h:712
float spot_falloff() const
Definition: light.pb.h:1174
static const ClassData _class_data_
Definition: light.pb.h:225
void CopyFrom(const Light &from)
void unsafe_arena_set_allocated_diffuse(::ignition::msgs::Color *diffuse)
Definition: light.pb.h:785
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: light.pb.h:570
float attenuation_quadratic() const
Definition: light.pb.h:988
void set_id(uint32_t value)
Definition: light.pb.h:1202
uint32_t id() const
Definition: light.pb.h:1194
static bool LightType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LightType *value)
Definition: light.pb.h:259
void set_allocated_name(std::string *name)
Definition: light.pb.h:647
Light * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: light.pb.h:187
void set_allocated_diffuse(::ignition::msgs::Color *diffuse)
Definition: light.pb.h:833
void set_spot_falloff(float value)
Definition: light.pb.h:1182
Light(Light &&from) noexcept
Definition: light.pb.h:121
void set_cast_shadows(bool value)
Definition: light.pb.h:1122
Definition: vector3d.pb.h:84
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2flight_2eproto
std::shared_ptr< const Light > ConstLightSharedPtr
Definition: light.pb.h:1234
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:1231
constexpr int Light_LightType_LightType_ARRAYSIZE
Definition: light.pb.h:95
std::shared_ptr< Light > LightSharedPtr
Definition: light.pb.h:1233
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:1232
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
Definition: light.pb.h:60
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)