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 < 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
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.
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
71 class CameraLensDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CameraLens* Arena::CreateMaybeMessage<::ignition::msgs::CameraLens>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE CameraLens PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline CameraLens&
operator=(
const CameraLens& from) {
99 inline CameraLens&
operator=(CameraLens&& from) noexcept {
100 if (GetArena() == from.GetArena()) {
101 if (
this != &from) InternalSwap(&from);
108 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
109 return GetDescriptor();
112 return GetMetadataStatic().descriptor;
115 return GetMetadataStatic().reflection;
120 return reinterpret_cast<const CameraLens*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(CameraLens& a, CameraLens& b) {
129 inline void Swap(CameraLens* other) {
130 if (other ==
this)
return;
131 if (GetArena() == other->GetArena()) {
134 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
138 if (other ==
this)
return;
139 GOOGLE_DCHECK(GetArena() == other->GetArena());
145 inline CameraLens*
New() const final {
146 return CreateMaybeMessage<CameraLens>(
nullptr);
149 CameraLens*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<CameraLens>(arena);
152 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
153 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
156 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
157 bool IsInitialized() const final;
159 size_t ByteSizeLong() const final;
160 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
161 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
162 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
163 int GetCachedSize() const final {
return _cached_size_.Get(); }
166 inline void SharedCtor();
167 inline void SharedDtor();
168 void SetCachedSize(
int size)
const final;
169 void InternalSwap(CameraLens* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.CameraLens";
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kTypeFieldNumber = 2,
197 kHeaderFieldNumber = 1,
202 kCutoffAngleFieldNumber = 9,
203 kScaleToHfovFieldNumber = 8,
204 kEnvTextureSizeFieldNumber = 11,
205 kHfovFieldNumber = 10,
242 bool _internal_has_header()
const;
245 const ::ignition::msgs::Header&
header()
const;
250 const ::ignition::msgs::Header& _internal_header()
const;
251 ::ignition::msgs::Header* _internal_mutable_header();
254 ::ignition::msgs::Header* header);
262 double _internal_c1()
const;
263 void _internal_set_c1(
double value);
271 double _internal_c2()
const;
272 void _internal_set_c2(
double value);
280 double _internal_c3()
const;
281 void _internal_set_c3(
double value);
289 double _internal_f()
const;
290 void _internal_set_f(
double value);
298 double _internal_cutoff_angle()
const;
299 void _internal_set_cutoff_angle(
double value);
307 bool _internal_scale_to_hfov()
const;
308 void _internal_set_scale_to_hfov(
bool value);
316 ::PROTOBUF_NAMESPACE_ID::int32 _internal_env_texture_size()
const;
317 void _internal_set_env_texture_size(::PROTOBUF_NAMESPACE_ID::int32 value);
325 double _internal_hfov()
const;
326 void _internal_set_hfov(
double value);
333 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
334 typedef void InternalArenaConstructable_;
335 typedef void DestructorSkippable_;
336 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
337 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fun_;
338 ::ignition::msgs::Header* header_;
343 double cutoff_angle_;
345 ::PROTOBUF_NAMESPACE_ID::int32 env_texture_size_;
347 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
348 friend struct ::TableStruct_ignition_2fmsgs_2fcamera_5flens_2eproto;
356 #pragma GCC diagnostic push
357 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
362 inline bool CameraLens::_internal_has_header()
const {
363 return this != internal_default_instance() && header_ !=
nullptr;
365 inline bool CameraLens::has_header()
const {
366 return _internal_has_header();
368 inline const ::ignition::msgs::Header& CameraLens::_internal_header()
const {
369 const ::ignition::msgs::Header* p = header_;
370 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
373 inline const ::ignition::msgs::Header& CameraLens::header()
const {
375 return _internal_header();
377 inline void CameraLens::unsafe_arena_set_allocated_header(
378 ::ignition::msgs::Header* header) {
379 if (GetArena() ==
nullptr) {
380 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
390 inline ::ignition::msgs::Header* CameraLens::release_header() {
392 ::ignition::msgs::Header* temp = header_;
394 if (GetArena() !=
nullptr) {
395 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
399 inline ::ignition::msgs::Header* CameraLens::unsafe_arena_release_header() {
402 ::ignition::msgs::Header* temp = header_;
406 inline ::ignition::msgs::Header* CameraLens::_internal_mutable_header() {
408 if (header_ ==
nullptr) {
409 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
414 inline ::ignition::msgs::Header* CameraLens::mutable_header() {
416 return _internal_mutable_header();
418 inline void CameraLens::set_allocated_header(::ignition::msgs::Header* header) {
419 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
420 if (message_arena ==
nullptr) {
421 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
424 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
425 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
426 if (message_arena != submessage_arena) {
427 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
428 message_arena, header, submessage_arena);
439 inline void CameraLens::clear_type() {
440 type_.ClearToEmpty();
442 inline const std::string& CameraLens::type()
const {
444 return _internal_type();
446 inline void CameraLens::set_type(
const std::string& value) {
447 _internal_set_type(value);
452 return _internal_mutable_type();
454 inline const std::string& CameraLens::_internal_type()
const {
457 inline void CameraLens::_internal_set_type(
const std::string& value) {
459 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
461 inline void CameraLens::set_type(
std::string&& value) {
464 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
467 inline void CameraLens::set_type(
const char* value) {
468 GOOGLE_DCHECK(value !=
nullptr);
470 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
473 inline void CameraLens::set_type(
const char* value,
476 type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
477 reinterpret_cast<const char*
>(value), size), GetArena());
480 inline std::string* CameraLens::_internal_mutable_type() {
482 return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
486 return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
488 inline void CameraLens::set_allocated_type(
std::string* type) {
489 if (type !=
nullptr) {
494 type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
500 inline void CameraLens::clear_c1() {
503 inline double CameraLens::_internal_c1()
const {
506 inline double CameraLens::c1()
const {
508 return _internal_c1();
510 inline void CameraLens::_internal_set_c1(
double value) {
514 inline void CameraLens::set_c1(
double value) {
515 _internal_set_c1(value);
520 inline void CameraLens::clear_c2() {
523 inline double CameraLens::_internal_c2()
const {
526 inline double CameraLens::c2()
const {
528 return _internal_c2();
530 inline void CameraLens::_internal_set_c2(
double value) {
534 inline void CameraLens::set_c2(
double value) {
535 _internal_set_c2(value);
540 inline void CameraLens::clear_c3() {
543 inline double CameraLens::_internal_c3()
const {
546 inline double CameraLens::c3()
const {
548 return _internal_c3();
550 inline void CameraLens::_internal_set_c3(
double value) {
554 inline void CameraLens::set_c3(
double value) {
555 _internal_set_c3(value);
560 inline void CameraLens::clear_f() {
563 inline double CameraLens::_internal_f()
const {
566 inline double CameraLens::f()
const {
568 return _internal_f();
570 inline void CameraLens::_internal_set_f(
double value) {
574 inline void CameraLens::set_f(
double value) {
575 _internal_set_f(value);
580 inline void CameraLens::clear_fun() {
583 inline const std::string& CameraLens::fun()
const {
585 return _internal_fun();
587 inline void CameraLens::set_fun(
const std::string& value) {
588 _internal_set_fun(value);
593 return _internal_mutable_fun();
595 inline const std::string& CameraLens::_internal_fun()
const {
598 inline void CameraLens::_internal_set_fun(
const std::string& value) {
600 fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
602 inline void CameraLens::set_fun(
std::string&& value) {
605 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
608 inline void CameraLens::set_fun(
const char* value) {
609 GOOGLE_DCHECK(value !=
nullptr);
611 fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
614 inline void CameraLens::set_fun(
const char* value,
617 fun_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
618 reinterpret_cast<const char*
>(value), size), GetArena());
621 inline std::string* CameraLens::_internal_mutable_fun() {
623 return fun_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
627 return fun_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
629 inline void CameraLens::set_allocated_fun(
std::string* fun) {
630 if (fun !=
nullptr) {
635 fun_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), fun,
641 inline void CameraLens::clear_scale_to_hfov() {
642 scale_to_hfov_ =
false;
644 inline bool CameraLens::_internal_scale_to_hfov()
const {
645 return scale_to_hfov_;
647 inline bool CameraLens::scale_to_hfov()
const {
649 return _internal_scale_to_hfov();
651 inline void CameraLens::_internal_set_scale_to_hfov(
bool value) {
653 scale_to_hfov_ = value;
655 inline void CameraLens::set_scale_to_hfov(
bool value) {
656 _internal_set_scale_to_hfov(value);
661 inline void CameraLens::clear_cutoff_angle() {
664 inline double CameraLens::_internal_cutoff_angle()
const {
665 return cutoff_angle_;
667 inline double CameraLens::cutoff_angle()
const {
669 return _internal_cutoff_angle();
671 inline void CameraLens::_internal_set_cutoff_angle(
double value) {
673 cutoff_angle_ = value;
675 inline void CameraLens::set_cutoff_angle(
double value) {
676 _internal_set_cutoff_angle(value);
681 inline void CameraLens::clear_hfov() {
684 inline double CameraLens::_internal_hfov()
const {
687 inline double CameraLens::hfov()
const {
689 return _internal_hfov();
691 inline void CameraLens::_internal_set_hfov(
double value) {
695 inline void CameraLens::set_hfov(
double value) {
696 _internal_set_hfov(value);
701 inline void CameraLens::clear_env_texture_size() {
702 env_texture_size_ = 0;
704 inline ::PROTOBUF_NAMESPACE_ID::int32 CameraLens::_internal_env_texture_size()
const {
705 return env_texture_size_;
707 inline ::PROTOBUF_NAMESPACE_ID::int32 CameraLens::env_texture_size()
const {
709 return _internal_env_texture_size();
711 inline void CameraLens::_internal_set_env_texture_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
713 env_texture_size_ = value;
715 inline void CameraLens::set_env_texture_size(::PROTOBUF_NAMESPACE_ID::int32 value) {
716 _internal_set_env_texture_size(value);
721 #pragma GCC diagnostic pop
738 #include <google/protobuf/port_undef.inc>
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fcamera_5flens_2eproto
CameraLens(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_fun(const char *value, size_t size)
void MergeFrom(const CameraLens &from)
bool scale_to_hfov() const
void set_scale_to_hfov(bool value)
std::string * mutable_type()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: camera_lens.pb.h:114
CameraLens(const CameraLens &from)
void Swap(CameraLens *other)
Definition: camera_lens.pb.h:129
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: camera_lens.pb.h:108
const std::string & fun() const
void set_c2(double value)
double cutoff_angle() const
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_fun(const char *value)
CameraLens()
Definition: camera_lens.pb.h:86
CameraLens(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:90
void set_type(const std::string &value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
CameraLens & operator=(CameraLens &&from) noexcept
Definition: camera_lens.pb.h:99
void CopyFrom(const CameraLens &from)
void set_type(const char *value)
void set_allocated_fun(std::string *fun)
CameraLens * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: camera_lens.pb.h:149
::PROTOBUF_NAMESPACE_ID::int32 env_texture_size() const
void set_hfov(double value)
std::string * release_type()
void set_type(std::string &&value)
void clear_env_texture_size()
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_c1(double value)
static const CameraLens * internal_default_instance()
Definition: camera_lens.pb.h:119
void set_env_texture_size(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_allocated_header(::ignition::msgs::Header *header)
std::string * release_fun()
std::string * mutable_fun()
void clear_cutoff_angle()
void set_c3(double value)
void set_fun(std::string &&value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: camera_lens.pb.h:111
void set_allocated_type(std::string *type)
void UnsafeArenaSwap(CameraLens *other)
Definition: camera_lens.pb.h:137
void clear_scale_to_hfov()
friend void swap(CameraLens &a, CameraLens &b)
Definition: camera_lens.pb.h:126
void set_cutoff_angle(double value)
CameraLens * New() const final
Definition: camera_lens.pb.h:145
void set_type(const char *value, size_t size)
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:95
const std::string & type() const
const ::ignition::msgs::Header & header() const
static const CameraLens & default_instance()
void set_fun(const std::string &value)
IGNITION_MSGS_VISIBLE CameraLensDefaultTypeInternal _CameraLens_default_instance_
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:726
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:724
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:727
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:725
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)