Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
9 #include <google/protobuf/stubs/common.h>
11 #if GOOGLE_PROTOBUF_VERSION < 3006001
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
16 #if 3006001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/inlined_string_field.h>
28 #include <google/protobuf/metadata.h>
29 #include <google/protobuf/message.h>
30 #include <google/protobuf/repeated_field.h>
31 #include <google/protobuf/extension_set.h>
32 #include <google/protobuf/unknown_field_set.h>
35 #pragma GCC system_header
38 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
41 #include <sys/sysmacros.h>
46 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fcamera_5flens_2eproto IGNITION_MSGS_VISIBLE
51 static const ::google::protobuf::internal::ParseTableField entries[];
52 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
53 static const ::google::protobuf::internal::ParseTable schema[1];
54 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
55 static const ::google::protobuf::internal::SerializationTable serialization_table[];
56 static const ::google::protobuf::uint32 offsets[];
63 class CameraLensDefaultTypeInternal;
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::CameraLens* Arena::CreateMaybeMessage<::ignition::msgs::CameraLens>(Arena*);
77 class IGNITION_MSGS_VISIBLE
CameraLens :
public ::google::protobuf::Message {
91 *
this = ::std::move(from);
94 inline CameraLens& operator=(CameraLens&& from) noexcept {
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
103 static const ::google::protobuf::Descriptor* descriptor();
104 static const CameraLens& default_instance();
106 static void InitAsDefaultInstance();
111 static constexpr
int kIndexInFileMessages =
122 return CreateMaybeMessage<CameraLens>(NULL);
126 return CreateMaybeMessage<CameraLens>(arena);
128 void CopyFrom(const ::google::protobuf::Message& from)
final;
129 void MergeFrom(const ::google::protobuf::Message& from)
final;
133 bool IsInitialized() const final;
135 size_t ByteSizeLong() const final;
136 bool MergePartialFromCodedStream(
137 ::
google::protobuf::io::CodedInputStream* input) final;
138 void SerializeWithCachedSizes(
139 ::
google::protobuf::io::CodedOutputStream* output) const final;
140 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
141 bool deterministic, ::
google::protobuf::uint8* target) const final;
142 int GetCachedSize() const final {
return _cached_size_.Get(); }
147 void SetCachedSize(
int size)
const final;
150 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
153 inline void* MaybeArenaPtr()
const {
158 ::google::protobuf::Metadata GetMetadata() const final;
166 static const
int kTypeFieldNumber = 2;
167 const ::
std::
string& type() const;
168 void set_type(const ::
std::
string& value);
172 void set_type(
const char* value);
173 void set_type(
const char* value,
size_t size);
180 static const int kFunFieldNumber = 7;
181 const ::std::string& fun()
const;
182 void set_fun(const ::std::string& value);
186 void set_fun(
const char* value);
187 void set_fun(
const char* value,
size_t size);
193 bool has_header()
const;
195 static const int kHeaderFieldNumber = 1;
197 const ::ignition::msgs::Header& _internal_header()
const;
199 const ::ignition::msgs::Header& header()
const;
206 static const int kC1FieldNumber = 3;
208 void set_c1(
double value);
212 static const int kC2FieldNumber = 4;
214 void set_c2(
double value);
218 static const int kC3FieldNumber = 5;
220 void set_c3(
double value);
224 static const int kFFieldNumber = 6;
226 void set_f(
double value);
229 void clear_cutoff_angle();
230 static const int kCutoffAngleFieldNumber = 9;
231 double cutoff_angle()
const;
232 void set_cutoff_angle(
double value);
235 void clear_scale_to_hfov();
236 static const int kScaleToHfovFieldNumber = 8;
237 bool scale_to_hfov()
const;
238 void set_scale_to_hfov(
bool value);
241 void clear_env_texture_size();
242 static const int kEnvTextureSizeFieldNumber = 11;
243 ::google::protobuf::int32 env_texture_size()
const;
244 void set_env_texture_size(::google::protobuf::int32 value);
248 static const int kHfovFieldNumber = 10;
250 void set_hfov(
double value);
255 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
256 ::google::protobuf::internal::ArenaStringPtr type_;
257 ::google::protobuf::internal::ArenaStringPtr fun_;
263 double cutoff_angle_;
265 ::google::protobuf::int32 env_texture_size_;
267 mutable ::google::protobuf::internal::CachedSize _cached_size_;
268 friend struct ::protobuf_ignition_2fmsgs_2fcamera_5flens_2eproto::TableStruct;
276 #pragma GCC diagnostic push
277 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
285 inline const ::ignition::msgs::Header& CameraLens::_internal_header()
const {
289 const ::ignition::msgs::Header* p = header_;
303 if (header_ == NULL) {
304 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
311 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
312 if (message_arena == NULL) {
313 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
316 ::google::protobuf::Arena* submessage_arena = NULL;
317 if (message_arena != submessage_arena) {
318 header = ::google::protobuf::internal::GetOwnedMessage(
319 message_arena,
header, submessage_arena);
331 type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
335 return type_.GetNoArena();
339 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
346 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
351 GOOGLE_DCHECK(value != NULL);
353 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
358 type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
359 ::
std::string(
reinterpret_cast<const char*
>(value), size));
365 return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
370 return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
378 type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
type);
440 fun_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
444 return fun_.GetNoArena();
448 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
455 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::move(value));
460 GOOGLE_DCHECK(value != NULL);
462 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::
std::string(value));
467 fun_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
468 ::
std::string(
reinterpret_cast<const char*
>(value), size));
474 return fun_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
479 return fun_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
487 fun_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
fun);
493 scale_to_hfov_ =
false;
497 return scale_to_hfov_;
501 scale_to_hfov_ = value;
511 return cutoff_angle_;
515 cutoff_angle_ = value;
535 env_texture_size_ = 0;
539 return env_texture_size_;
543 env_texture_size_ = value;
548 #pragma GCC diagnostic pop
565 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fcamera_5flens_2eproto
double c2() const
Definition: camera_lens.pb.h:400
CameraLens & operator=(const CameraLens &from)
Definition: camera_lens.pb.h:84
void clear_fun()
Definition: camera_lens.pb.h:439
void clear_c3()
Definition: camera_lens.pb.h:411
void set_allocated_header(::ignition::msgs::Header *header)
Definition: camera_lens.pb.h:310
::std::string * mutable_type()
Definition: camera_lens.pb.h:362
void set_type(const ::std::string &value)
Definition: camera_lens.pb.h:337
::google::protobuf::int32 env_texture_size() const
Definition: camera_lens.pb.h:537
::std::string * release_type()
Definition: camera_lens.pb.h:367
IGNITION_MSGS_VISIBLE CameraLensDefaultTypeInternal _CameraLens_default_instance_
void set_c3(double value)
Definition: camera_lens.pb.h:418
double hfov() const
Definition: camera_lens.pb.h:523
const ::std::string & fun() const
Definition: camera_lens.pb.h:442
std::shared_ptr< const CameraLens > ConstCameraLensSharedPtr
Definition: camera_lens.pb.h:554
void set_f(double value)
Definition: camera_lens.pb.h:432
Definition: camera_lens.pb.h:50
void clear_scale_to_hfov()
Definition: camera_lens.pb.h:492
void clear_f()
Definition: camera_lens.pb.h:425
void set_fun(const ::std::string &value)
Definition: camera_lens.pb.h:446
double f() const
Definition: camera_lens.pb.h:428
std::shared_ptr< CameraLens > CameraLensSharedPtr
Definition: camera_lens.pb.h:553
void set_scale_to_hfov(bool value)
Definition: camera_lens.pb.h:499
::ignition::msgs::Header * mutable_header()
Definition: camera_lens.pb.h:301
void set_allocated_type(::std::string *type)
Definition: camera_lens.pb.h:372
double cutoff_angle() const
Definition: camera_lens.pb.h:509
::ignition::msgs::Header * release_header()
Definition: camera_lens.pb.h:294
void clear_type()
Definition: camera_lens.pb.h:330
void Swap(CameraLens *other)
const ::std::string & type() const
Definition: camera_lens.pb.h:333
CameraLens * New(::google::protobuf::Arena *arena) const final
Definition: camera_lens.pb.h:125
void IGNITION_MSGS_VISIBLE AddDescriptors()
Definition: camera_lens.pb.h:77
friend void swap(CameraLens &a, CameraLens &b)
Definition: camera_lens.pb.h:115
::std::string * mutable_fun()
Definition: camera_lens.pb.h:471
Definition: camera_lens.pb.h:48
static const CameraLens * internal_default_instance()
Definition: camera_lens.pb.h:107
void set_c1(double value)
Definition: camera_lens.pb.h:390
void clear_c2()
Definition: camera_lens.pb.h:397
void set_hfov(double value)
Definition: camera_lens.pb.h:527
void set_c2(double value)
Definition: camera_lens.pb.h:404
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
bool scale_to_hfov() const
Definition: camera_lens.pb.h:495
std::unique_ptr< CameraLens > CameraLensUniquePtr
Definition: camera_lens.pb.h:551
void set_cutoff_angle(double value)
Definition: camera_lens.pb.h:513
std::unique_ptr< const CameraLens > ConstCameraLensUniquePtr
Definition: camera_lens.pb.h:552
const ::ignition::msgs::Header & header() const
Definition: camera_lens.pb.h:288
void clear_c1()
Definition: camera_lens.pb.h:383
void clear_cutoff_angle()
Definition: camera_lens.pb.h:506
CameraLens * New() const final
Definition: camera_lens.pb.h:121
void set_env_texture_size(::google::protobuf::int32 value)
Definition: camera_lens.pb.h:541
void clear_hfov()
Definition: camera_lens.pb.h:520
void clear_env_texture_size()
Definition: camera_lens.pb.h:534
double c3() const
Definition: camera_lens.pb.h:414
bool has_header() const
Definition: camera_lens.pb.h:282
double c1() const
Definition: camera_lens.pb.h:386
void set_allocated_fun(::std::string *fun)
Definition: camera_lens.pb.h:481
Definition: actor.pb.h:78
::std::string * release_fun()
Definition: camera_lens.pb.h:476