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 < 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>
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 ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
72 class ProjectorDefaultTypeInternal;
76 PROTOBUF_NAMESPACE_OPEN
77 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::Projector* Arena::CreateMaybeMessage<::ignition::msgs::Projector>(Arena*);
78 PROTOBUF_NAMESPACE_CLOSE
84 class IGNITION_MSGS_VISIBLE Projector PROTOBUF_FINAL :
85 public ::PROTOBUF_NAMESPACE_ID::Message {
93 *
this = ::std::move(from);
96 inline Projector&
operator=(
const Projector& from) {
100 inline Projector&
operator=(Projector&& from) noexcept {
101 if (GetArena() == from.GetArena()) {
102 if (
this != &from) InternalSwap(&from);
109 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
110 return GetDescriptor();
113 return GetMetadataStatic().descriptor;
116 return GetMetadataStatic().reflection;
121 return reinterpret_cast<const Projector*
>(
124 static constexpr
int kIndexInFileMessages =
127 friend void swap(Projector& a, Projector& b) {
130 inline void Swap(Projector* other) {
131 if (other ==
this)
return;
132 if (GetArena() == other->GetArena()) {
135 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
139 if (other ==
this)
return;
140 GOOGLE_DCHECK(GetArena() == other->GetArena());
146 inline Projector*
New() const final {
147 return CreateMaybeMessage<Projector>(
nullptr);
150 Projector*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
151 return CreateMaybeMessage<Projector>(arena);
153 void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
154 void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from)
final;
157 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
158 bool IsInitialized() const final;
160 size_t ByteSizeLong() const final;
161 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
162 ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
163 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
164 int GetCachedSize() const final {
return _cached_size_.Get(); }
167 inline void SharedCtor();
168 inline void SharedDtor();
169 void SetCachedSize(
int size)
const final;
170 void InternalSwap(Projector* other);
171 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
172 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
173 return "ignition.msgs.Projector";
176 explicit Projector(::PROTOBUF_NAMESPACE_ID::Arena* arena);
178 static void ArenaDtor(
void*
object);
179 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
184 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
196 kNameFieldNumber = 2,
197 kTextureFieldNumber = 3,
198 kHeaderFieldNumber = 1,
199 kPoseFieldNumber = 4,
201 kNearClipFieldNumber = 6,
202 kFarClipFieldNumber = 7,
203 kEnabledFieldNumber = 8,
233 void _internal_set_texture(
const std::string& value);
240 bool _internal_has_header()
const;
243 const ::ignition::msgs::Header&
header()
const;
248 const ::ignition::msgs::Header& _internal_header()
const;
249 ::ignition::msgs::Header* _internal_mutable_header();
252 ::ignition::msgs::Header* header);
258 bool _internal_has_pose()
const;
261 const ::ignition::msgs::Pose&
pose()
const;
266 const ::ignition::msgs::Pose& _internal_pose()
const;
267 ::ignition::msgs::Pose* _internal_mutable_pose();
270 ::ignition::msgs::Pose* pose);
278 double _internal_fov()
const;
279 void _internal_set_fov(
double value);
287 double _internal_near_clip()
const;
288 void _internal_set_near_clip(
double value);
296 double _internal_far_clip()
const;
297 void _internal_set_far_clip(
double value);
305 bool _internal_enabled()
const;
306 void _internal_set_enabled(
bool value);
313 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
314 typedef void InternalArenaConstructable_;
315 typedef void DestructorSkippable_;
316 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
317 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr texture_;
318 ::ignition::msgs::Header* header_;
319 ::ignition::msgs::Pose* pose_;
324 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
325 friend struct ::TableStruct_ignition_2fmsgs_2fprojector_2eproto;
333 #pragma GCC diagnostic push
334 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
339 inline bool Projector::_internal_has_header()
const {
340 return this != internal_default_instance() && header_ !=
nullptr;
342 inline bool Projector::has_header()
const {
343 return _internal_has_header();
345 inline const ::ignition::msgs::Header& Projector::_internal_header()
const {
346 const ::ignition::msgs::Header* p = header_;
347 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
350 inline const ::ignition::msgs::Header& Projector::header()
const {
352 return _internal_header();
354 inline void Projector::unsafe_arena_set_allocated_header(
355 ::ignition::msgs::Header* header) {
356 if (GetArena() ==
nullptr) {
357 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
367 inline ::ignition::msgs::Header* Projector::release_header() {
369 ::ignition::msgs::Header* temp = header_;
371 if (GetArena() !=
nullptr) {
372 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
376 inline ::ignition::msgs::Header* Projector::unsafe_arena_release_header() {
379 ::ignition::msgs::Header* temp = header_;
383 inline ::ignition::msgs::Header* Projector::_internal_mutable_header() {
385 if (header_ ==
nullptr) {
386 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
391 inline ::ignition::msgs::Header* Projector::mutable_header() {
393 return _internal_mutable_header();
395 inline void Projector::set_allocated_header(::ignition::msgs::Header* header) {
396 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
397 if (message_arena ==
nullptr) {
398 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
401 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
402 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
403 if (message_arena != submessage_arena) {
404 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
405 message_arena, header, submessage_arena);
416 inline void Projector::clear_name() {
417 name_.ClearToEmpty();
419 inline const std::string& Projector::name()
const {
421 return _internal_name();
423 inline void Projector::set_name(
const std::string& value) {
424 _internal_set_name(value);
429 return _internal_mutable_name();
431 inline const std::string& Projector::_internal_name()
const {
434 inline void Projector::_internal_set_name(
const std::string& value) {
436 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
438 inline void Projector::set_name(
std::string&& value) {
441 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
444 inline void Projector::set_name(
const char* value) {
445 GOOGLE_DCHECK(value !=
nullptr);
447 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
450 inline void Projector::set_name(
const char* value,
453 name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
454 reinterpret_cast<const char*
>(value), size), GetArena());
457 inline std::string* Projector::_internal_mutable_name() {
459 return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
463 return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
465 inline void Projector::set_allocated_name(
std::string* name) {
466 if (name !=
nullptr) {
471 name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
477 inline void Projector::clear_texture() {
478 texture_.ClearToEmpty();
480 inline const std::string& Projector::texture()
const {
482 return _internal_texture();
484 inline void Projector::set_texture(
const std::string& value) {
485 _internal_set_texture(value);
490 return _internal_mutable_texture();
492 inline const std::string& Projector::_internal_texture()
const {
493 return texture_.Get();
495 inline void Projector::_internal_set_texture(
const std::string& value) {
497 texture_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
499 inline void Projector::set_texture(
std::string&& value) {
502 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
505 inline void Projector::set_texture(
const char* value) {
506 GOOGLE_DCHECK(value !=
nullptr);
508 texture_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(value), GetArena());
511 inline void Projector::set_texture(
const char* value,
514 texture_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
::std::string(
515 reinterpret_cast<const char*
>(value), size), GetArena());
518 inline std::string* Projector::_internal_mutable_texture() {
520 return texture_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
524 return texture_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
526 inline void Projector::set_allocated_texture(
std::string* texture) {
527 if (texture !=
nullptr) {
532 texture_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), texture,
538 inline bool Projector::_internal_has_pose()
const {
539 return this != internal_default_instance() && pose_ !=
nullptr;
541 inline bool Projector::has_pose()
const {
542 return _internal_has_pose();
544 inline const ::ignition::msgs::Pose& Projector::_internal_pose()
const {
545 const ::ignition::msgs::Pose* p = pose_;
546 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Pose&
>(
549 inline const ::ignition::msgs::Pose& Projector::pose()
const {
551 return _internal_pose();
553 inline void Projector::unsafe_arena_set_allocated_pose(
554 ::ignition::msgs::Pose* pose) {
555 if (GetArena() ==
nullptr) {
556 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
566 inline ::ignition::msgs::Pose* Projector::release_pose() {
568 ::ignition::msgs::Pose* temp = pose_;
570 if (GetArena() !=
nullptr) {
571 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
575 inline ::ignition::msgs::Pose* Projector::unsafe_arena_release_pose() {
578 ::ignition::msgs::Pose* temp = pose_;
582 inline ::ignition::msgs::Pose* Projector::_internal_mutable_pose() {
584 if (pose_ ==
nullptr) {
585 auto* p = CreateMaybeMessage<::ignition::msgs::Pose>(GetArena());
590 inline ::ignition::msgs::Pose* Projector::mutable_pose() {
592 return _internal_mutable_pose();
594 inline void Projector::set_allocated_pose(::ignition::msgs::Pose* pose) {
595 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
596 if (message_arena ==
nullptr) {
597 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose_);
600 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
601 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(pose)->GetArena();
602 if (message_arena != submessage_arena) {
603 pose = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
604 message_arena, pose, submessage_arena);
615 inline void Projector::clear_fov() {
618 inline double Projector::_internal_fov()
const {
621 inline double Projector::fov()
const {
623 return _internal_fov();
625 inline void Projector::_internal_set_fov(
double value) {
629 inline void Projector::set_fov(
double value) {
630 _internal_set_fov(value);
635 inline void Projector::clear_near_clip() {
638 inline double Projector::_internal_near_clip()
const {
641 inline double Projector::near_clip()
const {
643 return _internal_near_clip();
645 inline void Projector::_internal_set_near_clip(
double value) {
649 inline void Projector::set_near_clip(
double value) {
650 _internal_set_near_clip(value);
655 inline void Projector::clear_far_clip() {
658 inline double Projector::_internal_far_clip()
const {
661 inline double Projector::far_clip()
const {
663 return _internal_far_clip();
665 inline void Projector::_internal_set_far_clip(
double value) {
669 inline void Projector::set_far_clip(
double value) {
670 _internal_set_far_clip(value);
675 inline void Projector::clear_enabled() {
678 inline bool Projector::_internal_enabled()
const {
681 inline bool Projector::enabled()
const {
683 return _internal_enabled();
685 inline void Projector::_internal_set_enabled(
bool value) {
689 inline void Projector::set_enabled(
bool value) {
690 _internal_set_enabled(value);
695 #pragma GCC diagnostic pop
712 #include <google/protobuf/port_undef.inc>
void set_fov(double value)
::ignition::msgs::Pose * release_pose()
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: projector.pb.h:115
Projector & operator=(Projector &&from) noexcept
Definition: projector.pb.h:100
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void unsafe_arena_set_allocated_pose(::ignition::msgs::Pose *pose)
::ignition::msgs::Header * release_header()
void set_name(const char *value, size_t size)
Projector(const Projector &from)
::ignition::msgs::Header * mutable_header()
static const Projector & default_instance()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: projector.pb.h:109
void set_name(const std::string &value)
void set_texture(std::string &&value)
Projector * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: projector.pb.h:150
Projector(Projector &&from) noexcept
Definition: projector.pb.h:91
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
std::string * mutable_name()
std::string * release_name()
void set_allocated_texture(std::string *texture)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Projector * New() const final
Definition: projector.pb.h:146
void set_near_clip(double value)
Projector & operator=(const Projector &from)
Definition: projector.pb.h:96
void set_allocated_pose(::ignition::msgs::Pose *pose)
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void MergeFrom(const Projector &from)
std::string * mutable_texture()
Projector(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void Swap(Projector *other)
Definition: projector.pb.h:130
std::string * release_texture()
void set_allocated_header(::ignition::msgs::Header *header)
const ::ignition::msgs::Pose & pose() const
Projector()
Definition: projector.pb.h:87
::ignition::msgs::Pose * unsafe_arena_release_pose()
void set_texture(const std::string &value)
::ignition::msgs::Pose * mutable_pose()
void set_texture(const char *value)
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: projector.pb.h:112
void set_far_clip(double value)
void set_enabled(bool value)
const std::string & name() const
void set_texture(const char *value, size_t size)
void set_name(const char *value)
void set_name(std::string &&value)
void UnsafeArenaSwap(Projector *other)
Definition: projector.pb.h:138
const std::string & texture() const
static const Projector * internal_default_instance()
Definition: projector.pb.h:120
void set_allocated_name(std::string *name)
void CopyFrom(const Projector &from)
const ::ignition::msgs::Header & header() const
friend void swap(Projector &a, Projector &b)
Definition: projector.pb.h:127
std::shared_ptr< Projector > ProjectorSharedPtr
Definition: projector.pb.h:700
std::shared_ptr< const Projector > ConstProjectorSharedPtr
Definition: projector.pb.h:701
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:699
std::unique_ptr< Projector > ProjectorUniquePtr
Definition: projector.pb.h:698
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)