4 #ifndef GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fraysensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_ignition_2fmsgs_2fraysensor_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_2fraysensor_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 RaySensorDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::RaySensor* Arena::CreateMaybeMessage<::ignition::msgs::RaySensor>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
83 class IGNITION_MSGS_VISIBLE RaySensor PROTOBUF_FINAL :
84 public ::PROTOBUF_NAMESPACE_ID::Message {
92 *
this = ::std::move(from);
95 inline RaySensor&
operator=(
const RaySensor& from) {
99 inline RaySensor&
operator=(RaySensor&& 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 RaySensor*
>(
123 static constexpr
int kIndexInFileMessages =
126 friend void swap(RaySensor& a, RaySensor& b) {
129 inline void Swap(RaySensor* 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 RaySensor*
New() const final {
146 return CreateMaybeMessage<RaySensor>(
nullptr);
149 RaySensor*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena)
const final {
150 return CreateMaybeMessage<RaySensor>(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(RaySensor* other);
170 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
171 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
172 return "ignition.msgs.RaySensor";
175 explicit RaySensor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
177 static void ArenaDtor(
void*
object);
178 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183 static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
195 kHeaderFieldNumber = 1,
196 kDisplayScanFieldNumber = 2,
197 kHorizontalSamplesFieldNumber = 3,
198 kHorizontalResolutionFieldNumber = 4,
199 kHorizontalMinAngleFieldNumber = 5,
200 kHorizontalMaxAngleFieldNumber = 6,
201 kVerticalResolutionFieldNumber = 8,
202 kVerticalMinAngleFieldNumber = 9,
203 kVerticalMaxAngleFieldNumber = 10,
204 kRangeMinFieldNumber = 11,
205 kRangeMaxFieldNumber = 12,
206 kRangeResolutionFieldNumber = 13,
207 kVerticalSamplesFieldNumber = 7,
212 bool _internal_has_header()
const;
215 const ::ignition::msgs::Header&
header()
const;
220 const ::ignition::msgs::Header& _internal_header()
const;
221 ::ignition::msgs::Header* _internal_mutable_header();
224 ::ignition::msgs::Header* header);
232 bool _internal_display_scan()
const;
233 void _internal_set_display_scan(
bool value);
241 ::PROTOBUF_NAMESPACE_ID::int32 _internal_horizontal_samples()
const;
242 void _internal_set_horizontal_samples(::PROTOBUF_NAMESPACE_ID::int32 value);
250 double _internal_horizontal_resolution()
const;
251 void _internal_set_horizontal_resolution(
double value);
259 double _internal_horizontal_min_angle()
const;
260 void _internal_set_horizontal_min_angle(
double value);
268 double _internal_horizontal_max_angle()
const;
269 void _internal_set_horizontal_max_angle(
double value);
277 double _internal_vertical_resolution()
const;
278 void _internal_set_vertical_resolution(
double value);
286 double _internal_vertical_min_angle()
const;
287 void _internal_set_vertical_min_angle(
double value);
295 double _internal_vertical_max_angle()
const;
296 void _internal_set_vertical_max_angle(
double value);
304 double _internal_range_min()
const;
305 void _internal_set_range_min(
double value);
313 double _internal_range_max()
const;
314 void _internal_set_range_max(
double value);
322 double _internal_range_resolution()
const;
323 void _internal_set_range_resolution(
double value);
331 ::PROTOBUF_NAMESPACE_ID::int32 _internal_vertical_samples()
const;
332 void _internal_set_vertical_samples(::PROTOBUF_NAMESPACE_ID::int32 value);
339 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
340 typedef void InternalArenaConstructable_;
341 typedef void DestructorSkippable_;
342 ::ignition::msgs::Header* header_;
344 ::PROTOBUF_NAMESPACE_ID::int32 horizontal_samples_;
345 double horizontal_resolution_;
346 double horizontal_min_angle_;
347 double horizontal_max_angle_;
348 double vertical_resolution_;
349 double vertical_min_angle_;
350 double vertical_max_angle_;
353 double range_resolution_;
354 ::PROTOBUF_NAMESPACE_ID::int32 vertical_samples_;
355 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
356 friend struct ::TableStruct_ignition_2fmsgs_2fraysensor_2eproto;
364 #pragma GCC diagnostic push
365 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
370 inline bool RaySensor::_internal_has_header()
const {
371 return this != internal_default_instance() && header_ !=
nullptr;
373 inline bool RaySensor::has_header()
const {
374 return _internal_has_header();
376 inline const ::ignition::msgs::Header& RaySensor::_internal_header()
const {
377 const ::ignition::msgs::Header* p = header_;
378 return p !=
nullptr ? *p :
reinterpret_cast<const ::ignition::msgs::Header&
>(
381 inline const ::ignition::msgs::Header& RaySensor::header()
const {
383 return _internal_header();
385 inline void RaySensor::unsafe_arena_set_allocated_header(
386 ::ignition::msgs::Header* header) {
387 if (GetArena() ==
nullptr) {
388 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
398 inline ::ignition::msgs::Header* RaySensor::release_header() {
400 ::ignition::msgs::Header* temp = header_;
402 if (GetArena() !=
nullptr) {
403 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
407 inline ::ignition::msgs::Header* RaySensor::unsafe_arena_release_header() {
410 ::ignition::msgs::Header* temp = header_;
414 inline ::ignition::msgs::Header* RaySensor::_internal_mutable_header() {
416 if (header_ ==
nullptr) {
417 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArena());
422 inline ::ignition::msgs::Header* RaySensor::mutable_header() {
424 return _internal_mutable_header();
426 inline void RaySensor::set_allocated_header(::ignition::msgs::Header* header) {
427 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
428 if (message_arena ==
nullptr) {
429 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
432 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
433 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header)->GetArena();
434 if (message_arena != submessage_arena) {
435 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
436 message_arena, header, submessage_arena);
447 inline void RaySensor::clear_display_scan() {
448 display_scan_ =
false;
450 inline bool RaySensor::_internal_display_scan()
const {
451 return display_scan_;
453 inline bool RaySensor::display_scan()
const {
455 return _internal_display_scan();
457 inline void RaySensor::_internal_set_display_scan(
bool value) {
459 display_scan_ = value;
461 inline void RaySensor::set_display_scan(
bool value) {
462 _internal_set_display_scan(value);
467 inline void RaySensor::clear_horizontal_samples() {
468 horizontal_samples_ = 0;
470 inline ::PROTOBUF_NAMESPACE_ID::int32 RaySensor::_internal_horizontal_samples()
const {
471 return horizontal_samples_;
473 inline ::PROTOBUF_NAMESPACE_ID::int32 RaySensor::horizontal_samples()
const {
475 return _internal_horizontal_samples();
477 inline void RaySensor::_internal_set_horizontal_samples(::PROTOBUF_NAMESPACE_ID::int32 value) {
479 horizontal_samples_ = value;
481 inline void RaySensor::set_horizontal_samples(::PROTOBUF_NAMESPACE_ID::int32 value) {
482 _internal_set_horizontal_samples(value);
487 inline void RaySensor::clear_horizontal_resolution() {
488 horizontal_resolution_ = 0;
490 inline double RaySensor::_internal_horizontal_resolution()
const {
491 return horizontal_resolution_;
493 inline double RaySensor::horizontal_resolution()
const {
495 return _internal_horizontal_resolution();
497 inline void RaySensor::_internal_set_horizontal_resolution(
double value) {
499 horizontal_resolution_ = value;
501 inline void RaySensor::set_horizontal_resolution(
double value) {
502 _internal_set_horizontal_resolution(value);
507 inline void RaySensor::clear_horizontal_min_angle() {
508 horizontal_min_angle_ = 0;
510 inline double RaySensor::_internal_horizontal_min_angle()
const {
511 return horizontal_min_angle_;
513 inline double RaySensor::horizontal_min_angle()
const {
515 return _internal_horizontal_min_angle();
517 inline void RaySensor::_internal_set_horizontal_min_angle(
double value) {
519 horizontal_min_angle_ = value;
521 inline void RaySensor::set_horizontal_min_angle(
double value) {
522 _internal_set_horizontal_min_angle(value);
527 inline void RaySensor::clear_horizontal_max_angle() {
528 horizontal_max_angle_ = 0;
530 inline double RaySensor::_internal_horizontal_max_angle()
const {
531 return horizontal_max_angle_;
533 inline double RaySensor::horizontal_max_angle()
const {
535 return _internal_horizontal_max_angle();
537 inline void RaySensor::_internal_set_horizontal_max_angle(
double value) {
539 horizontal_max_angle_ = value;
541 inline void RaySensor::set_horizontal_max_angle(
double value) {
542 _internal_set_horizontal_max_angle(value);
547 inline void RaySensor::clear_vertical_samples() {
548 vertical_samples_ = 0;
550 inline ::PROTOBUF_NAMESPACE_ID::int32 RaySensor::_internal_vertical_samples()
const {
551 return vertical_samples_;
553 inline ::PROTOBUF_NAMESPACE_ID::int32 RaySensor::vertical_samples()
const {
555 return _internal_vertical_samples();
557 inline void RaySensor::_internal_set_vertical_samples(::PROTOBUF_NAMESPACE_ID::int32 value) {
559 vertical_samples_ = value;
561 inline void RaySensor::set_vertical_samples(::PROTOBUF_NAMESPACE_ID::int32 value) {
562 _internal_set_vertical_samples(value);
567 inline void RaySensor::clear_vertical_resolution() {
568 vertical_resolution_ = 0;
570 inline double RaySensor::_internal_vertical_resolution()
const {
571 return vertical_resolution_;
573 inline double RaySensor::vertical_resolution()
const {
575 return _internal_vertical_resolution();
577 inline void RaySensor::_internal_set_vertical_resolution(
double value) {
579 vertical_resolution_ = value;
581 inline void RaySensor::set_vertical_resolution(
double value) {
582 _internal_set_vertical_resolution(value);
587 inline void RaySensor::clear_vertical_min_angle() {
588 vertical_min_angle_ = 0;
590 inline double RaySensor::_internal_vertical_min_angle()
const {
591 return vertical_min_angle_;
593 inline double RaySensor::vertical_min_angle()
const {
595 return _internal_vertical_min_angle();
597 inline void RaySensor::_internal_set_vertical_min_angle(
double value) {
599 vertical_min_angle_ = value;
601 inline void RaySensor::set_vertical_min_angle(
double value) {
602 _internal_set_vertical_min_angle(value);
607 inline void RaySensor::clear_vertical_max_angle() {
608 vertical_max_angle_ = 0;
610 inline double RaySensor::_internal_vertical_max_angle()
const {
611 return vertical_max_angle_;
613 inline double RaySensor::vertical_max_angle()
const {
615 return _internal_vertical_max_angle();
617 inline void RaySensor::_internal_set_vertical_max_angle(
double value) {
619 vertical_max_angle_ = value;
621 inline void RaySensor::set_vertical_max_angle(
double value) {
622 _internal_set_vertical_max_angle(value);
627 inline void RaySensor::clear_range_min() {
630 inline double RaySensor::_internal_range_min()
const {
633 inline double RaySensor::range_min()
const {
635 return _internal_range_min();
637 inline void RaySensor::_internal_set_range_min(
double value) {
641 inline void RaySensor::set_range_min(
double value) {
642 _internal_set_range_min(value);
647 inline void RaySensor::clear_range_max() {
650 inline double RaySensor::_internal_range_max()
const {
653 inline double RaySensor::range_max()
const {
655 return _internal_range_max();
657 inline void RaySensor::_internal_set_range_max(
double value) {
661 inline void RaySensor::set_range_max(
double value) {
662 _internal_set_range_max(value);
667 inline void RaySensor::clear_range_resolution() {
668 range_resolution_ = 0;
670 inline double RaySensor::_internal_range_resolution()
const {
671 return range_resolution_;
673 inline double RaySensor::range_resolution()
const {
675 return _internal_range_resolution();
677 inline void RaySensor::_internal_set_range_resolution(
double value) {
679 range_resolution_ = value;
681 inline void RaySensor::set_range_resolution(
double value) {
682 _internal_set_range_resolution(value);
687 #pragma GCC diagnostic pop
704 #include <google/protobuf/port_undef.inc>
static const RaySensor & default_instance()
double range_resolution() const
RaySensor(const RaySensor &from)
void clear_vertical_max_angle()
void clear_horizontal_samples()
void set_range_max(double value)
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: raysensor.pb.h:114
void set_vertical_samples(::PROTOBUF_NAMESPACE_ID::int32 value)
void set_vertical_min_angle(double value)
void set_horizontal_resolution(double value)
void set_vertical_max_angle(double value)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
::ignition::msgs::Header * release_header()
void set_vertical_resolution(double value)
::PROTOBUF_NAMESPACE_ID::int32 vertical_samples() const
void clear_vertical_resolution()
::ignition::msgs::Header * mutable_header()
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: raysensor.pb.h:108
RaySensor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
double horizontal_min_angle() const
void set_horizontal_samples(::PROTOBUF_NAMESPACE_ID::int32 value)
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void clear_horizontal_min_angle()
void set_display_scan(bool value)
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
double horizontal_resolution() const
void clear_display_scan()
void CopyFrom(const RaySensor &from)
void set_horizontal_min_angle(double value)
void set_horizontal_max_angle(double value)
void UnsafeArenaSwap(RaySensor *other)
Definition: raysensor.pb.h:137
RaySensor & operator=(const RaySensor &from)
Definition: raysensor.pb.h:95
::ignition::msgs::Header * unsafe_arena_release_header()
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void set_range_min(double value)
RaySensor(RaySensor &&from) noexcept
Definition: raysensor.pb.h:90
RaySensor()
Definition: raysensor.pb.h:86
bool display_scan() const
double vertical_min_angle() const
void set_allocated_header(::ignition::msgs::Header *header)
void set_range_resolution(double value)
void clear_range_resolution()
double vertical_max_angle() const
RaySensor & operator=(RaySensor &&from) noexcept
Definition: raysensor.pb.h:99
friend void swap(RaySensor &a, RaySensor &b)
Definition: raysensor.pb.h:126
RaySensor * New() const final
Definition: raysensor.pb.h:145
double horizontal_max_angle() const
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: raysensor.pb.h:111
void clear_horizontal_resolution()
static const RaySensor * internal_default_instance()
Definition: raysensor.pb.h:119
RaySensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: raysensor.pb.h:149
void Swap(RaySensor *other)
Definition: raysensor.pb.h:129
void clear_horizontal_max_angle()
double vertical_resolution() const
void MergeFrom(const RaySensor &from)
void clear_vertical_min_angle()
void clear_vertical_samples()
const ::ignition::msgs::Header & header() const
::PROTOBUF_NAMESPACE_ID::int32 horizontal_samples() const
std::unique_ptr< const RaySensor > ConstRaySensorUniquePtr
Definition: raysensor.pb.h:691
std::shared_ptr< const RaySensor > ConstRaySensorSharedPtr
Definition: raysensor.pb.h:693
std::shared_ptr< RaySensor > RaySensorSharedPtr
Definition: raysensor.pb.h:692
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE RaySensorDefaultTypeInternal _RaySensor_default_instance_
std::unique_ptr< RaySensor > RaySensorUniquePtr
Definition: raysensor.pb.h:690
Definition: actor.pb.h:52
IGNITION_MSGS_VISIBLEconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_ignition_2fmsgs_2fraysensor_2eproto
Definition: raysensor.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)