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 < 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>
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 uint32_t offsets[];
71 struct RaySensorDefaultTypeInternal;
75 PROTOBUF_NAMESPACE_OPEN
76 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::RaySensor* Arena::CreateMaybeMessage<::ignition::msgs::RaySensor>(Arena*);
77 PROTOBUF_NAMESPACE_CLOSE
84 public ::PROTOBUF_NAMESPACE_ID::Message {
88 explicit constexpr
RaySensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
93 *
this = ::std::move(from);
101 if (
this == &from)
return *
this;
102 if (GetOwningArena() == from.GetOwningArena()
103 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
104 && GetOwningArena() !=
nullptr
114 static const ::PROTOBUF_NAMESPACE_ID::Descriptor*
descriptor() {
115 return GetDescriptor();
118 return default_instance().GetMetadata().descriptor;
121 return default_instance().GetMetadata().reflection;
124 return *internal_default_instance();
127 return reinterpret_cast<const RaySensor*
>(
130 static constexpr
int kIndexInFileMessages =
137 if (other ==
this)
return;
138 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
139 if (GetOwningArena() !=
nullptr &&
140 GetOwningArena() == other->GetOwningArena()) {
142 if (GetOwningArena() == other->GetOwningArena()) {
146 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(
this, other);
150 if (other ==
this)
return;
151 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
157 RaySensor*
New(::PROTOBUF_NAMESPACE_ID::Arena* arena =
nullptr) const final {
158 return CreateMaybeMessage<RaySensor>(arena);
160 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
162 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
165 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
167 PROTOBUF_ATTRIBUTE_REINITIALIZES
void Clear() final;
168 bool IsInitialized() const final;
170 size_t ByteSizeLong() const final;
171 const
char* _InternalParse(const
char* ptr, ::PROTOBUF_NAMESPACE_ID::
internal::ParseContext* ctx) final;
172 uint8_t* _InternalSerialize(
173 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
174 int GetCachedSize() const final {
return _cached_size_.Get(); }
179 void SetCachedSize(
int size)
const final;
183 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
184 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
185 return "ignition.msgs.RaySensor";
188 explicit RaySensor(::PROTOBUF_NAMESPACE_ID::Arena* arena,
189 bool is_message_owned =
false);
191 static void ArenaDtor(
void*
object);
192 inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
196 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*
GetClassData() const final;
198 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205 kHeaderFieldNumber = 1,
206 kDisplayScanFieldNumber = 2,
207 kHorizontalSamplesFieldNumber = 3,
208 kHorizontalResolutionFieldNumber = 4,
209 kHorizontalMinAngleFieldNumber = 5,
210 kHorizontalMaxAngleFieldNumber = 6,
211 kVerticalResolutionFieldNumber = 8,
212 kVerticalMinAngleFieldNumber = 9,
213 kVerticalMaxAngleFieldNumber = 10,
214 kRangeMinFieldNumber = 11,
215 kRangeMaxFieldNumber = 12,
216 kRangeResolutionFieldNumber = 13,
217 kVerticalSamplesFieldNumber = 7,
220 bool has_header()
const;
222 bool _internal_has_header()
const;
225 const ::ignition::msgs::Header& header()
const;
226 PROTOBUF_NODISCARD ::ignition::msgs::Header* release_header();
230 const ::ignition::msgs::Header& _internal_header()
const;
233 void unsafe_arena_set_allocated_header(
238 void clear_display_scan();
239 bool display_scan()
const;
240 void set_display_scan(
bool value);
242 bool _internal_display_scan()
const;
243 void _internal_set_display_scan(
bool value);
247 void clear_horizontal_samples();
248 int32_t horizontal_samples()
const;
249 void set_horizontal_samples(int32_t value);
251 int32_t _internal_horizontal_samples()
const;
252 void _internal_set_horizontal_samples(int32_t value);
256 void clear_horizontal_resolution();
257 double horizontal_resolution()
const;
258 void set_horizontal_resolution(
double value);
260 double _internal_horizontal_resolution()
const;
261 void _internal_set_horizontal_resolution(
double value);
265 void clear_horizontal_min_angle();
266 double horizontal_min_angle()
const;
267 void set_horizontal_min_angle(
double value);
269 double _internal_horizontal_min_angle()
const;
270 void _internal_set_horizontal_min_angle(
double value);
274 void clear_horizontal_max_angle();
275 double horizontal_max_angle()
const;
276 void set_horizontal_max_angle(
double value);
278 double _internal_horizontal_max_angle()
const;
279 void _internal_set_horizontal_max_angle(
double value);
283 void clear_vertical_resolution();
284 double vertical_resolution()
const;
285 void set_vertical_resolution(
double value);
287 double _internal_vertical_resolution()
const;
288 void _internal_set_vertical_resolution(
double value);
292 void clear_vertical_min_angle();
293 double vertical_min_angle()
const;
294 void set_vertical_min_angle(
double value);
296 double _internal_vertical_min_angle()
const;
297 void _internal_set_vertical_min_angle(
double value);
301 void clear_vertical_max_angle();
302 double vertical_max_angle()
const;
303 void set_vertical_max_angle(
double value);
305 double _internal_vertical_max_angle()
const;
306 void _internal_set_vertical_max_angle(
double value);
310 void clear_range_min();
311 double range_min()
const;
312 void set_range_min(
double value);
314 double _internal_range_min()
const;
315 void _internal_set_range_min(
double value);
319 void clear_range_max();
320 double range_max()
const;
321 void set_range_max(
double value);
323 double _internal_range_max()
const;
324 void _internal_set_range_max(
double value);
328 void clear_range_resolution();
329 double range_resolution()
const;
330 void set_range_resolution(
double value);
332 double _internal_range_resolution()
const;
333 void _internal_set_range_resolution(
double value);
337 void clear_vertical_samples();
338 int32_t vertical_samples()
const;
339 void set_vertical_samples(int32_t value);
341 int32_t _internal_vertical_samples()
const;
342 void _internal_set_vertical_samples(int32_t value);
349 template <
typename T>
friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
350 typedef void InternalArenaConstructable_;
351 typedef void DestructorSkippable_;
354 int32_t horizontal_samples_;
355 double horizontal_resolution_;
356 double horizontal_min_angle_;
357 double horizontal_max_angle_;
358 double vertical_resolution_;
359 double vertical_min_angle_;
360 double vertical_max_angle_;
363 double range_resolution_;
364 int32_t vertical_samples_;
365 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
366 friend struct ::TableStruct_ignition_2fmsgs_2fraysensor_2eproto;
374 #pragma GCC diagnostic push
375 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
380 inline bool RaySensor::_internal_has_header()
const {
381 return this != internal_default_instance() && header_ !=
nullptr;
384 return _internal_has_header();
386 inline const ::ignition::msgs::Header& RaySensor::_internal_header()
const {
387 const ::ignition::msgs::Header* p = header_;
393 return _internal_header();
397 if (GetArenaForAllocation() ==
nullptr) {
398 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
412 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
413 auto* old =
reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(temp);
414 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
415 if (GetArenaForAllocation() ==
nullptr) {
delete old; }
417 if (GetArenaForAllocation() !=
nullptr) {
418 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
430 inline ::ignition::msgs::Header* RaySensor::_internal_mutable_header() {
432 if (header_ ==
nullptr) {
433 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaForAllocation());
444 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
445 if (message_arena ==
nullptr) {
446 delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header_);
449 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
450 ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
451 ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
452 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*
>(header));
453 if (message_arena != submessage_arena) {
454 header = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
455 message_arena, header, submessage_arena);
467 display_scan_ =
false;
469 inline bool RaySensor::_internal_display_scan()
const {
470 return display_scan_;
474 return _internal_display_scan();
476 inline void RaySensor::_internal_set_display_scan(
bool value) {
478 display_scan_ = value;
481 _internal_set_display_scan(value);
487 horizontal_samples_ = 0;
489 inline int32_t RaySensor::_internal_horizontal_samples()
const {
490 return horizontal_samples_;
494 return _internal_horizontal_samples();
496 inline void RaySensor::_internal_set_horizontal_samples(int32_t value) {
498 horizontal_samples_ = value;
501 _internal_set_horizontal_samples(value);
507 horizontal_resolution_ = 0;
509 inline double RaySensor::_internal_horizontal_resolution()
const {
510 return horizontal_resolution_;
514 return _internal_horizontal_resolution();
516 inline void RaySensor::_internal_set_horizontal_resolution(
double value) {
518 horizontal_resolution_ = value;
521 _internal_set_horizontal_resolution(value);
527 horizontal_min_angle_ = 0;
529 inline double RaySensor::_internal_horizontal_min_angle()
const {
530 return horizontal_min_angle_;
534 return _internal_horizontal_min_angle();
536 inline void RaySensor::_internal_set_horizontal_min_angle(
double value) {
538 horizontal_min_angle_ = value;
541 _internal_set_horizontal_min_angle(value);
547 horizontal_max_angle_ = 0;
549 inline double RaySensor::_internal_horizontal_max_angle()
const {
550 return horizontal_max_angle_;
554 return _internal_horizontal_max_angle();
556 inline void RaySensor::_internal_set_horizontal_max_angle(
double value) {
558 horizontal_max_angle_ = value;
561 _internal_set_horizontal_max_angle(value);
567 vertical_samples_ = 0;
569 inline int32_t RaySensor::_internal_vertical_samples()
const {
570 return vertical_samples_;
574 return _internal_vertical_samples();
576 inline void RaySensor::_internal_set_vertical_samples(int32_t value) {
578 vertical_samples_ = value;
581 _internal_set_vertical_samples(value);
587 vertical_resolution_ = 0;
589 inline double RaySensor::_internal_vertical_resolution()
const {
590 return vertical_resolution_;
594 return _internal_vertical_resolution();
596 inline void RaySensor::_internal_set_vertical_resolution(
double value) {
598 vertical_resolution_ = value;
601 _internal_set_vertical_resolution(value);
607 vertical_min_angle_ = 0;
609 inline double RaySensor::_internal_vertical_min_angle()
const {
610 return vertical_min_angle_;
614 return _internal_vertical_min_angle();
616 inline void RaySensor::_internal_set_vertical_min_angle(
double value) {
618 vertical_min_angle_ = value;
621 _internal_set_vertical_min_angle(value);
627 vertical_max_angle_ = 0;
629 inline double RaySensor::_internal_vertical_max_angle()
const {
630 return vertical_max_angle_;
634 return _internal_vertical_max_angle();
636 inline void RaySensor::_internal_set_vertical_max_angle(
double value) {
638 vertical_max_angle_ = value;
641 _internal_set_vertical_max_angle(value);
649 inline double RaySensor::_internal_range_min()
const {
654 return _internal_range_min();
656 inline void RaySensor::_internal_set_range_min(
double value) {
661 _internal_set_range_min(value);
669 inline double RaySensor::_internal_range_max()
const {
674 return _internal_range_max();
676 inline void RaySensor::_internal_set_range_max(
double value) {
681 _internal_set_range_max(value);
687 range_resolution_ = 0;
689 inline double RaySensor::_internal_range_resolution()
const {
690 return range_resolution_;
694 return _internal_range_resolution();
696 inline void RaySensor::_internal_set_range_resolution(
double value) {
698 range_resolution_ = value;
701 _internal_set_range_resolution(value);
706 #pragma GCC diagnostic pop
723 #include <google/protobuf/port_undef.inc>
Definition: raysensor.pb.h:84
static const RaySensor & default_instance()
Definition: raysensor.pb.h:123
double range_resolution() const
Definition: raysensor.pb.h:692
int32_t horizontal_samples() const
Definition: raysensor.pb.h:492
RaySensor(const RaySensor &from)
void clear_vertical_max_angle()
Definition: raysensor.pb.h:626
void clear_horizontal_samples()
Definition: raysensor.pb.h:486
void set_range_max(double value)
Definition: raysensor.pb.h:680
int32_t vertical_samples() const
Definition: raysensor.pb.h:572
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: raysensor.pb.h:120
bool has_header() const
Definition: raysensor.pb.h:383
void set_vertical_min_angle(double value)
Definition: raysensor.pb.h:620
void set_horizontal_resolution(double value)
Definition: raysensor.pb.h:520
void set_vertical_max_angle(double value)
Definition: raysensor.pb.h:640
::ignition::msgs::Header * mutable_header()
Definition: raysensor.pb.h:438
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void set_vertical_resolution(double value)
Definition: raysensor.pb.h:600
void clear_vertical_resolution()
Definition: raysensor.pb.h:586
void clear_range_max()
Definition: raysensor.pb.h:666
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: raysensor.pb.h:114
double horizontal_min_angle() const
Definition: raysensor.pb.h:532
constexpr RaySensor(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
void set_horizontal_samples(int32_t value)
Definition: raysensor.pb.h:500
double range_max() const
Definition: raysensor.pb.h:672
void clear_horizontal_min_angle()
Definition: raysensor.pb.h:526
void set_display_scan(bool value)
Definition: raysensor.pb.h:480
void unsafe_arena_set_allocated_header(::ignition::msgs::Header *header)
Definition: raysensor.pb.h:395
double horizontal_resolution() const
Definition: raysensor.pb.h:512
void clear_range_min()
Definition: raysensor.pb.h:646
void clear_display_scan()
Definition: raysensor.pb.h:466
void CopyFrom(const RaySensor &from)
void set_horizontal_min_angle(double value)
Definition: raysensor.pb.h:540
void set_horizontal_max_angle(double value)
Definition: raysensor.pb.h:560
void UnsafeArenaSwap(RaySensor *other)
Definition: raysensor.pb.h:149
RaySensor & operator=(const RaySensor &from)
Definition: raysensor.pb.h:96
void set_range_min(double value)
Definition: raysensor.pb.h:660
RaySensor(RaySensor &&from) noexcept
Definition: raysensor.pb.h:91
void set_vertical_samples(int32_t value)
Definition: raysensor.pb.h:580
RaySensor(::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
RaySensor()
Definition: raysensor.pb.h:86
bool display_scan() const
Definition: raysensor.pb.h:472
double vertical_min_angle() const
Definition: raysensor.pb.h:612
void set_allocated_header(::ignition::msgs::Header *header)
Definition: raysensor.pb.h:443
void set_range_resolution(double value)
Definition: raysensor.pb.h:700
void clear_range_resolution()
Definition: raysensor.pb.h:686
double vertical_max_angle() const
Definition: raysensor.pb.h:632
RaySensor & operator=(RaySensor &&from) noexcept
Definition: raysensor.pb.h:100
PROTOBUF_NODISCARD ::ignition::msgs::Header * release_header()
Definition: raysensor.pb.h:408
friend void swap(RaySensor &a, RaySensor &b)
Definition: raysensor.pb.h:133
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData() const final
double horizontal_max_angle() const
Definition: raysensor.pb.h:552
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: raysensor.pb.h:117
void clear_horizontal_resolution()
Definition: raysensor.pb.h:506
static const RaySensor * internal_default_instance()
Definition: raysensor.pb.h:126
RaySensor * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: raysensor.pb.h:157
const ::ignition::msgs::Header & header() const
Definition: raysensor.pb.h:391
static const ClassData _class_data_
Definition: raysensor.pb.h:195
void Swap(RaySensor *other)
Definition: raysensor.pb.h:136
void clear_horizontal_max_angle()
Definition: raysensor.pb.h:546
::ignition::msgs::Header * unsafe_arena_release_header()
Definition: raysensor.pb.h:423
double vertical_resolution() const
Definition: raysensor.pb.h:592
void MergeFrom(const RaySensor &from)
void clear_vertical_min_angle()
Definition: raysensor.pb.h:606
void clear_vertical_samples()
Definition: raysensor.pb.h:566
double range_min() const
Definition: raysensor.pb.h:652
std::unique_ptr< const RaySensor > ConstRaySensorUniquePtr
Definition: raysensor.pb.h:710
std::shared_ptr< const RaySensor > ConstRaySensorSharedPtr
Definition: raysensor.pb.h:712
std::shared_ptr< RaySensor > RaySensorSharedPtr
Definition: raysensor.pb.h:711
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
IGNITION_MSGS_VISIBLE RaySensorDefaultTypeInternal _RaySensor_default_instance_
std::unique_ptr< RaySensor > RaySensorUniquePtr
Definition: raysensor.pb.h:709
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)