4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fprojector_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fprojector_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>
37 #pragma GCC system_header
40 #pragma warning(disable: 4244 4267 4100 4244 4512 4127 4068 4275 4251)
43 #include <sys/sysmacros.h>
48 #include <google/protobuf/port_def.inc>
49 #define PROTOBUF_INTERNAL_EXPORT_ignition_2fmsgs_2fprojector_2eproto IGNITION_MSGS_VISIBLE
50 PROTOBUF_NAMESPACE_OPEN
54 PROTOBUF_NAMESPACE_CLOSE
58 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
60 static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
62 static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
64 static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
65 static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
66 static const uint32_t offsets[];
72 struct ProjectorDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Projector* Arena::CreateMaybeMessage<::ignition::msgs::Projector>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
85 public ::PROTOBUF_NAMESPACE_ID::Message {
89 explicit constexpr
Projector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
94 *
this = ::std::move(from);
102 if (
this == &from)
return *
this;
103 if (GetOwningArena() == from.GetOwningArena()
104 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
105 && GetOwningArena() !=
nullptr
115 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
116 return GetDescriptor();
119 return default_instance().GetMetadata().descriptor;
122 return default_instance().GetMetadata().reflection;
125 return *internal_default_instance();
128 return reinterpret_cast<const Projector*
>(
131 static constexpr
int kIndexInFileMessages =
138 if (other ==
this)
return;
139 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
140 if (GetOwningArena() !=
nullptr &&
141 GetOwningArena() == other->GetOwningArena()) {
143 if (GetOwningArena() == other->GetOwningArena()) {
147 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
151 if (other ==
this)
return;
152 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158 Projector*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
159 return CreateMaybeMessage<Projector>(arena);
161 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
163 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
166 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
168 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
169 bool IsInitialized() const final;
171 size_t ByteSizeLong() const final;
172 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
173 uint8_t* _InternalSerialize(
174 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
175 int GetCachedSize() const final {
return _cached_size_.Get(); }
180 void SetCachedSize(
int size)
const final;
184 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
185 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
186 return "ignition.msgs.Projector";
189 explicit Projector(::PROTOBUF_NAMESPACE_ID::Arena* arena,
190 bool is_message_owned =
false);
192 static void ArenaDtor(
void*
object);
193 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
197 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
199 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
206 kNameFieldNumber = 2,
207 kTextureFieldNumber = 3,
208 kHeaderFieldNumber = 1,
209 kPoseFieldNumber = 4,
211 kNearClipFieldNumber = 6,
212 kFarClipFieldNumber = 7,
213 kEnabledFieldNumber = 8,
218 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
225 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_name(
const std::string& value);
230 void clear_texture();
232 template <
typename ArgT0 =
const std::string&,
typename... ArgT>
239 inline PROTOBUF_ALWAYS_INLINE
void _internal_set_texture(
const std::string& value);
244 bool has_header()
const;
246 bool _internal_has_header()
const;
249 const ::ignition::msgs::Header& header()
const;
250 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
254 const ::ignition::msgs::Header& _internal_header()
const;
257 void unsafe_arena_set_allocated_header(
262 bool has_pose()
const;
264 bool _internal_has_pose()
const;
267 const ::ignition::msgs::Pose& pose()
const;
268 PROTOBUF_NODISCARD ::ignition::msgs::Pose* release_pose();
272 const ::ignition::msgs::Pose& _internal_pose()
const;
275 void unsafe_arena_set_allocated_pose(
282 void set_fov(
double value);
284 double _internal_fov()
const;
285 void _internal_set_fov(
double value);
289 void clear_near_clip();
290 double near_clip()
const;
291 void set_near_clip(
double value);
293 double _internal_near_clip()
const;
294 void _internal_set_near_clip(
double value);
298 void clear_far_clip();
299 double far_clip()
const;
300 void set_far_clip(
double value);
302 double _internal_far_clip()
const;
303 void _internal_set_far_clip(
double value);
307 void clear_enabled();
308 bool enabled()
const;
309 void set_enabled(
bool value);
311 bool _internal_enabled()
const;
312 void _internal_set_enabled(
bool value);
319 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
320 typedef void InternalArenaConstructable_;
321 typedef void DestructorSkippable_;
322 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
323 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr texture_;
330 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
331 friend struct ::TableStruct_ignition_2fmsgs_2fprojector_2eproto;
339 #pragma GCC diagnostic push
340 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
345 inline bool Projector::_internal_has_header()
const {
346 return this != internal_default_instance() && header_ !=
nullptr;
349 return _internal_has_header();
351 inline const ::ignition::msgs::Header& Projector::_internal_header()
const {
352 const ::ignition::msgs::Header* p = header_;
358 return _internal_header();
362 if (GetArenaForAllocation() ==
nullptr) {
363 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
377 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
378 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
379 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
380 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
382 if (GetArenaForAllocation() !=
nullptr) {
383 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
395 inline ::ignition::msgs::Header* Projector::_internal_mutable_header() {
397 if (header_ ==
nullptr) {
398 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
409 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
410 if (message_arena ==
nullptr) {
411 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
414 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
415 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
416 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
417 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
418 if (message_arena != submessage_arena) {
419 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
420 message_arena, header, submessage_arena);
432 name_.ClearToEmpty();
436 return _internal_name();
438 template <
typename ArgT0,
typename... ArgT>
439 inline PROTOBUF_ALWAYS_INLINE
442 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
450 inline const std::string& Projector::_internal_name()
const {
453 inline void Projector::_internal_set_name(
const std::string& value) {
455 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
457 inline std::string* Projector::_internal_mutable_name() {
459 return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
463 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
466 if (name !=
nullptr) {
471 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
472 GetArenaForAllocation());
473 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
474 if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
475 name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
483 texture_.ClearToEmpty();
487 return _internal_texture();
489 template <
typename ArgT0,
typename... ArgT>
490 inline PROTOBUF_ALWAYS_INLINE
493 texture_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
static_cast<ArgT0 &&
>(arg0), args..., GetArenaForAllocation());
501 inline const std::string& Projector::_internal_texture()
const {
502 return texture_.Get();
504 inline void Projector::_internal_set_texture(
const std::string& value) {
506 texture_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
508 inline std::string* Projector::_internal_mutable_texture() {
510 return texture_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
514 return texture_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
517 if (texture !=
nullptr) {
522 texture_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), texture,
523 GetArenaForAllocation());
524 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
525 if (texture_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
526 texture_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
"", GetArenaForAllocation());
533 inline bool Projector::_internal_has_pose()
const {
534 return this != internal_default_instance() && pose_ !=
nullptr;
537 return _internal_has_pose();
539 inline const ::ignition::msgs::Pose& Projector::_internal_pose()
const {
540 const ::ignition::msgs::Pose* p = pose_;
546 return _internal_pose();
550 if (GetArenaForAllocation() ==
nullptr) {
551 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
565 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
566 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
567 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
568 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
570 if (GetArenaForAllocation() !=
nullptr) {
571 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
583 inline ::ignition::msgs::Pose* Projector::_internal_mutable_pose() {
585 if (pose_ ==
nullptr) {
586 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArenaForAllocation());
597 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
598 if (message_arena ==
nullptr) {
599 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
602 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
603 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
604 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
605 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose));
606 if (message_arena != submessage_arena) {
607 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
608 message_arena, pose, submessage_arena);
622 inline double Projector::_internal_fov()
const {
627 return _internal_fov();
629 inline void Projector::_internal_set_fov(
double value) {
634 _internal_set_fov(value);
642 inline double Projector::_internal_near_clip()
const {
647 return _internal_near_clip();
649 inline void Projector::_internal_set_near_clip(
double value) {
654 _internal_set_near_clip(value);
662 inline double Projector::_internal_far_clip()
const {
667 return _internal_far_clip();
669 inline void Projector::_internal_set_far_clip(
double value) {
674 _internal_set_far_clip(value);
682 inline bool Projector::_internal_enabled()
const {
687 return _internal_enabled();
689 inline void Projector::_internal_set_enabled(
bool value) {
694 _internal_set_enabled(value);
699 #pragma GCC diagnostic pop
716 #include <google/protobuf/port_undef.inc>
Definition: projector.pb.h:85
void clear_near_clip()
Definition: projector.pb.h:639
double near_clip() const
Definition: projector.pb.h:645
const ::ignition::msgs::Pose & pose() const
Definition: projector.pb.h:544
void set_fov(double value)
Definition: projector.pb.h:633
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: projector.pb.h:121
Projector & operator=(Projector &&from) noexcept
Definition: projector.pb.h:101
bool has_header() const
Definition: projector.pb.h:348
::ignition::msgs::Pose * unsafe_arena_release_pose()
Definition: projector.pb.h:576
::ignition::msgs::Header * mutable_header()
Definition: projector.pb.h:403
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
PROTOBUF_NODISCARD std::string * release_name()
Definition: projector.pb.h:461
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: projector.pb.h:548
const std::string & name() const
Definition: projector.pb.h:434
Projector(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
PROTOBUF_NODISCARD std::string * release_texture()
Definition: projector.pb.h:512
Projector(const Projector &from)
static const Projector & default_instance()
Definition: projector.pb.h:124
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: projector.pb.h:115
double far_clip() const
Definition: projector.pb.h:665
Projector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: projector.pb.h:158
constexpr Projector(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
Projector(Projector &&from) noexcept
Definition: projector.pb.h:92
void clear_texture()
Definition: projector.pb.h:482
void clear_name()
Definition: projector.pb.h:431
void set_allocated_texture(std::string *texture)
Definition: projector.pb.h:516
void clear_far_clip()
Definition: projector.pb.h:659
double fov() const
Definition: projector.pb.h:625
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: projector.pb.h:360
void set_near_clip(double value)
Definition: projector.pb.h:653
void set_name(ArgT0 &&arg0, ArgT... args)
Projector & operator=(const Projector &from)
Definition: projector.pb.h:97
bool has_pose() const
Definition: projector.pb.h:536
void set_allocated_pose(::ignition::msgs::Pose *pose)
Definition: projector.pb.h:596
void MergeFrom(const Projector &from)
void clear_enabled()
Definition: projector.pb.h:679
void set_texture(ArgT0 &&arg0, ArgT... args)
void Swap(Projector *other)
Definition: projector.pb.h:137
void set_allocated_header(::ignition::msgs::Header *header)
Definition: projector.pb.h:408
::ignition::msgs::Pose * mutable_pose()
Definition: projector.pb.h:591
const std::string & texture() const
Definition: projector.pb.h:485
Projector()
Definition: projector.pb.h:87
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: projector.pb.h:373
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: projector.pb.h:118
void set_far_clip(double value)
Definition: projector.pb.h:673
const ::ignition::msgs::Header & header() const
Definition: projector.pb.h:356
std::string * mutable_name()
Definition: projector.pb.h:445
void set_enabled(bool value)
Definition: projector.pb.h:693
PROTOBUF_NODISCARD ::ignition::msgs::Pose * release_pose()
Definition: projector.pb.h:561
static const ClassData _class_data_
Definition: projector.pb.h:196
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: projector.pb.h:388
void UnsafeArenaSwap(Projector *other)
Definition: projector.pb.h:150
static const Projector * internal_default_instance()
Definition: projector.pb.h:127
void set_allocated_name(std::string *name)
Definition: projector.pb.h:465
void CopyFrom(const Projector &from)
std::string * mutable_texture()
Definition: projector.pb.h:496
void clear_fov()
Definition: projector.pb.h:619
bool enabled() const
Definition: projector.pb.h:685
friend void swap(Projector &a, Projector &b)
Definition: projector.pb.h:134
std::shared_ptr< Projector > ProjectorSharedPtr
Definition: projector.pb.h:704
std::shared_ptr< const Projector > ConstProjectorSharedPtr
Definition: projector.pb.h:705
IGNITION_MSGS_VISIBLE ProjectorDefaultTypeInternal _Projector_default_instance_
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE PoseDefaultTypeInternal _Pose_default_instance_
std::unique_ptr< const Projector > ConstProjectorUniquePtr
Definition: projector.pb.h:703
std::unique_ptr< Projector > ProjectorUniquePtr
Definition: projector.pb.h:702
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fprojector_2eproto
Definition: projector.pb.h:57
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)