4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_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/unknown_field_set.h>
36 #pragma GCC system_header
39 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
42 #include <sys/sysmacros.h>
47 #include <google/protobuf/port_def.inc>
48 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fcamera_5flens_2eproto IGNITION_MSGS_VISIBLE
49 PROTOBUF_NAMESPACE_OPEN
53 PROTOBUF_NAMESPACE_CLOSE
57 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
59 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
61 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
63 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
64 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
65 static const uint32_t offsets[];
71 struct CameraLensDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CameraLens* Arena::CreateMaybeMessage<::ignition::msgs::CameraLens>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
CameraLens(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 CameraLens*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<CameraLens>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.CameraLens";
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kTypeFieldNumber = 2,
207 kHeaderFieldNumber = 1,
212 kCutoffAngleFieldNumber = 9,
213 kScaleToHfovFieldNumber = 8,
214 kEnvTextureSizeFieldNumber = 11,
215 kHfovFieldNumber = 10,
220 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
227 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_type(
const std::string& value);
234 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
241 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_fun(
const std::string& value);
246 bool has_header()
const;
248 bool _internal_has_header()
const;
251 const ::ignition::msgs::Header& header()
const;
252 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
256 const ::ignition::msgs::Header& _internal_header()
const;
259 void unsafe_arena_set_allocated_header(
266 void set_c1(
double value);
268 double _internal_c1()
const;
269 void _internal_set_c1(
double value);
275 void set_c2(
double value);
277 double _internal_c2()
const;
278 void _internal_set_c2(
double value);
284 void set_c3(
double value);
286 double _internal_c3()
const;
287 void _internal_set_c3(
double value);
293 void set_f(
double value);
295 double _internal_f()
const;
296 void _internal_set_f(
double value);
300 void clear_cutoff_angle();
301 double cutoff_angle()
const;
302 void set_cutoff_angle(
double value);
304 double _internal_cutoff_angle()
const;
305 void _internal_set_cutoff_angle(
double value);
309 void clear_scale_to_hfov();
310 bool scale_to_hfov()
const;
311 void set_scale_to_hfov(
bool value);
313 bool _internal_scale_to_hfov()
const;
314 void _internal_set_scale_to_hfov(
bool value);
318 void clear_env_texture_size();
319 int32_t env_texture_size()
const;
320 void set_env_texture_size(int32_t value);
322 int32_t _internal_env_texture_size()
const;
323 void _internal_set_env_texture_size(int32_t value);
329 void set_hfov(
double value);
331 double _internal_hfov()
const;
332 void _internal_set_hfov(
double value);
339 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
340 typedef void InternalArenaConstructable_;
341 typedef void DestructorSkippable_;
342 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
343 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fun_;
349 double cutoff_angle_;
351 int32_t env_texture_size_;
353 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
354 friend struct ::TableStruct_ignition_2fmsgs_2fcamera_5flens_2eproto;
362 #pragma GCC diagnostic push
363 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
368 inline bool CameraLens::_internal_has_header()
const {
369 return this != internal_default_instance() && header_ !=
nullptr;
372 return _internal_has_header();
374 inline const ::ignition::msgs::Header& CameraLens::_internal_header()
const {
375 const ::ignition::msgs::Header* p = header_;
381 return _internal_header();
385 if (GetArenaForAllocation() ==
nullptr) {
386 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
400 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
401 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
402 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
403 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
405 if (GetArenaForAllocation() !=
nullptr) {
406 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
418 inline ::ignition::msgs::Header* CameraLens::_internal_mutable_header() {
420 if (header_ ==
nullptr) {
421 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
432 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
433 if (message_arena ==
nullptr) {
434 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
437 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
438 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
439 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
440 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
441 if (message_arena != submessage_arena) {
442 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
443 message_arena, header, submessage_arena);
455 type_.ClearToEmpty();
459 return _internal_type();
461 template <
typename ArgT0,
typename... ArgT>
462 inline PROTOBUF_ALWAYS_INLINE
465 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
473 inline const std::string& CameraLens::_internal_type()
const {
476 inline void CameraLens::_internal_set_type(
const std::string& value) {
478 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
480 inline std::string* CameraLens::_internal_mutable_type() {
482 return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
486 return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
489 if (type !=
nullptr) {
494 type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
495 GetArenaForAllocation());
496 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
497 if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
498 type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
508 inline double CameraLens::_internal_c1()
const {
513 return _internal_c1();
515 inline void CameraLens::_internal_set_c1(
double value) {
520 _internal_set_c1(value);
528 inline double CameraLens::_internal_c2()
const {
533 return _internal_c2();
535 inline void CameraLens::_internal_set_c2(
double value) {
540 _internal_set_c2(value);
548 inline double CameraLens::_internal_c3()
const {
553 return _internal_c3();
555 inline void CameraLens::_internal_set_c3(
double value) {
560 _internal_set_c3(value);
568 inline double CameraLens::_internal_f()
const {
573 return _internal_f();
575 inline void CameraLens::_internal_set_f(
double value) {
580 _internal_set_f(value);
590 return _internal_fun();
592 template <
typename ArgT0,
typename... ArgT>
593 inline PROTOBUF_ALWAYS_INLINE
596 fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
604 inline const std::string& CameraLens::_internal_fun()
const {
607 inline void CameraLens::_internal_set_fun(
const std::string& value) {
609 fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
611 inline std::string* CameraLens::_internal_mutable_fun() {
613 return fun_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
617 return fun_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
620 if (fun !=
nullptr) {
625 fun_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fun,
626 GetArenaForAllocation());
627 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
628 if (fun_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
629 fun_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
637 scale_to_hfov_ =
false;
639 inline bool CameraLens::_internal_scale_to_hfov()
const {
640 return scale_to_hfov_;
644 return _internal_scale_to_hfov();
646 inline void CameraLens::_internal_set_scale_to_hfov(
bool value) {
648 scale_to_hfov_ = value;
651 _internal_set_scale_to_hfov(value);
659 inline double CameraLens::_internal_cutoff_angle()
const {
660 return cutoff_angle_;
664 return _internal_cutoff_angle();
666 inline void CameraLens::_internal_set_cutoff_angle(
double value) {
668 cutoff_angle_ = value;
671 _internal_set_cutoff_angle(value);
679 inline double CameraLens::_internal_hfov()
const {
684 return _internal_hfov();
686 inline void CameraLens::_internal_set_hfov(
double value) {
691 _internal_set_hfov(value);
697 env_texture_size_ = 0;
699 inline int32_t CameraLens::_internal_env_texture_size()
const {
700 return env_texture_size_;
704 return _internal_env_texture_size();
706 inline void CameraLens::_internal_set_env_texture_size(int32_t value) {
708 env_texture_size_ = value;
711 _internal_set_env_texture_size(value);
716 #pragma GCC diagnostic pop
733 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamera_5flens_2eproto
Definition: camera_lens.pb.h:84
void set_f(double value)
Definition: camera_lens.pb.h:579
void MergeFrom(const CameraLens &from)
bool scale_to_hfov() const
Definition: camera_lens.pb.h:642
void set_scale_to_hfov(bool value)
Definition: camera_lens.pb.h:650
void set_type(ArgT0 &&arg0, ArgT... args)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: camera_lens.pb.h:120
CameraLens(const CameraLens &from)
bool has_header() const
Definition: camera_lens.pb.h:371
std::string * mutable_type()
Definition: camera_lens.pb.h:468
void Swap(CameraLens *other)
Definition: camera_lens.pb.h:136
::ignition::msgs::Header * mutable_header()
Definition: camera_lens.pb.h:426
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: camera_lens.pb.h:114
void set_env_texture_size(int32_t value)
Definition: camera_lens.pb.h:710
std::string * mutable_fun()
Definition: camera_lens.pb.h:599
double c2() const
Definition: camera_lens.pb.h:531
void set_c2(double value)
Definition: camera_lens.pb.h:539
double cutoff_angle() const
Definition: camera_lens.pb.h:662
double c3() const
Definition: camera_lens.pb.h:551
const std::string & type() const
Definition: camera_lens.pb.h:457
CameraLens()
Definition: camera_lens.pb.h:86
constexpr CameraLens(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
PROTOBUF_NODISCARD std::string * release_type()
Definition: camera_lens.pb.h:484
CameraLens(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:91
void clear_c2()
Definition: camera_lens.pb.h:525
const std::string & fun() const
Definition: camera_lens.pb.h:588
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:383
CameraLens & operator=(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:100
void CopyFrom(const CameraLens &from)
void set_allocated_fun(std::string *fun)
Definition: camera_lens.pb.h:619
int32_t env_texture_size() const
Definition: camera_lens.pb.h:702
void set_hfov(double value)
Definition: camera_lens.pb.h:690
void clear_env_texture_size()
Definition: camera_lens.pb.h:696
void clear_c1()
Definition: camera_lens.pb.h:505
void clear_hfov()
Definition: camera_lens.pb.h:676
void set_c1(double value)
Definition: camera_lens.pb.h:519
CameraLens * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: camera_lens.pb.h:157
static const CameraLens * internal_default_instance()
Definition: camera_lens.pb.h:126
void clear_f()
Definition: camera_lens.pb.h:565
double c1() const
Definition: camera_lens.pb.h:511
void clear_type()
Definition: camera_lens.pb.h:454
void set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:431
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: camera_lens.pb.h:396
void clear_c3()
Definition: camera_lens.pb.h:545
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
void clear_cutoff_angle()
Definition: camera_lens.pb.h:656
void set_c3(double value)
Definition: camera_lens.pb.h:559
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: camera_lens.pb.h:117
void set_allocated_type(std::string *type)
Definition: camera_lens.pb.h:488
void UnsafeArenaSwap(CameraLens *other)
Definition: camera_lens.pb.h:149
const ::ignition::msgs::Header & header() const
Definition: camera_lens.pb.h:379
void clear_scale_to_hfov()
Definition: camera_lens.pb.h:636
friend void swap(CameraLens &a, CameraLens &b)
Definition: camera_lens.pb.h:133
static const ClassData _class_data_
Definition: camera_lens.pb.h:195
void clear_fun()
Definition: camera_lens.pb.h:585
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: camera_lens.pb.h:411
void set_fun(ArgT0 &&arg0, ArgT... args)
double f() const
Definition: camera_lens.pb.h:571
void set_cutoff_angle(double value)
Definition: camera_lens.pb.h:670
CameraLens(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
double hfov() const
Definition: camera_lens.pb.h:682
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:96
static const CameraLens & default_instance()
Definition: camera_lens.pb.h:123
PROTOBUF_NODISCARD std::string * release_fun()
Definition: camera_lens.pb.h:615
IGNITION_MSGS_VISIBLE CameraLensDefaultTypeInternal _CameraLens_default_instance_
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:721
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:719
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:722
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:720
Definition: actor.pb.h:52
Definition: camera_lens.pb.h:56
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)