Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fraysensor_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fraysensor_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_2fraysensor_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 RaySensorDefaultTypeInternal;
69 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::RaySensor* Arena::CreateMaybeMessage<::ignition::msgs::RaySensor>(Arena*);
77 class IGNITION_MSGS_VISIBLE
RaySensor :
public ::google::protobuf::Message {
91 *
this = ::std::move(from);
94 inline RaySensor& operator=(RaySensor&& from) noexcept {
95 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
96 if (
this != &from) InternalSwap(&from);
103 static const ::google::protobuf::Descriptor* descriptor();
104 static const RaySensor& default_instance();
106 static void InitAsDefaultInstance();
108 return reinterpret_cast<const RaySensor*
>(
111 static constexpr
int kIndexInFileMessages =
122 return CreateMaybeMessage<RaySensor>(NULL);
126 return CreateMaybeMessage<RaySensor>(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;
165 bool has_header() const;
167 static const
int kHeaderFieldNumber = 1;
177 void clear_display_scan();
178 static const
int kDisplayScanFieldNumber = 2;
179 bool display_scan() const;
180 void set_display_scan(
bool value);
183 void clear_horizontal_samples();
184 static const
int kHorizontalSamplesFieldNumber = 3;
185 ::
google::protobuf::int32 horizontal_samples() const;
186 void set_horizontal_samples(::
google::protobuf::int32 value);
189 void clear_horizontal_resolution();
190 static const
int kHorizontalResolutionFieldNumber = 4;
191 double horizontal_resolution() const;
192 void set_horizontal_resolution(
double value);
195 void clear_horizontal_min_angle();
196 static const
int kHorizontalMinAngleFieldNumber = 5;
197 double horizontal_min_angle() const;
198 void set_horizontal_min_angle(
double value);
201 void clear_horizontal_max_angle();
202 static const
int kHorizontalMaxAngleFieldNumber = 6;
203 double horizontal_max_angle() const;
204 void set_horizontal_max_angle(
double value);
207 void clear_vertical_resolution();
208 static const
int kVerticalResolutionFieldNumber = 8;
209 double vertical_resolution() const;
210 void set_vertical_resolution(
double value);
213 void clear_vertical_min_angle();
214 static const
int kVerticalMinAngleFieldNumber = 9;
215 double vertical_min_angle() const;
216 void set_vertical_min_angle(
double value);
219 void clear_vertical_max_angle();
220 static const
int kVerticalMaxAngleFieldNumber = 10;
221 double vertical_max_angle() const;
222 void set_vertical_max_angle(
double value);
225 void clear_range_min();
226 static const
int kRangeMinFieldNumber = 11;
227 double range_min() const;
228 void set_range_min(
double value);
231 void clear_range_max();
232 static const
int kRangeMaxFieldNumber = 12;
233 double range_max() const;
234 void set_range_max(
double value);
237 void clear_range_resolution();
238 static const
int kRangeResolutionFieldNumber = 13;
239 double range_resolution() const;
240 void set_range_resolution(
double value);
243 void clear_vertical_samples();
244 static const
int kVerticalSamplesFieldNumber = 7;
245 ::
google::protobuf::int32 vertical_samples() const;
246 void set_vertical_samples(::
google::protobuf::int32 value);
251 ::
google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
254 ::
google::protobuf::int32 horizontal_samples_;
255 double horizontal_resolution_;
256 double horizontal_min_angle_;
257 double horizontal_max_angle_;
258 double vertical_resolution_;
259 double vertical_min_angle_;
260 double vertical_max_angle_;
263 double range_resolution_;
264 ::
google::protobuf::int32 vertical_samples_;
265 mutable ::
google::protobuf::internal::CachedSize _cached_size_;
274 #pragma GCC diagnostic push
275 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
281 return this != internal_default_instance() && header_ != NULL;
283 inline const ::ignition::msgs::Header& RaySensor::_internal_header()
const {
287 const ::ignition::msgs::Header* p = header_;
301 if (header_ == NULL) {
302 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
309 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
310 if (message_arena == NULL) {
311 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
314 ::google::protobuf::Arena* submessage_arena = NULL;
315 if (message_arena != submessage_arena) {
316 header = ::google::protobuf::internal::GetOwnedMessage(
317 message_arena, header, submessage_arena);
329 display_scan_ =
false;
333 return display_scan_;
337 display_scan_ = value;
343 horizontal_samples_ = 0;
347 return horizontal_samples_;
351 horizontal_samples_ = value;
357 horizontal_resolution_ = 0;
361 return horizontal_resolution_;
365 horizontal_resolution_ = value;
371 horizontal_min_angle_ = 0;
375 return horizontal_min_angle_;
379 horizontal_min_angle_ = value;
385 horizontal_max_angle_ = 0;
389 return horizontal_max_angle_;
393 horizontal_max_angle_ = value;
399 vertical_samples_ = 0;
403 return vertical_samples_;
407 vertical_samples_ = value;
413 vertical_resolution_ = 0;
417 return vertical_resolution_;
421 vertical_resolution_ = value;
427 vertical_min_angle_ = 0;
431 return vertical_min_angle_;
435 vertical_min_angle_ = value;
441 vertical_max_angle_ = 0;
445 return vertical_max_angle_;
449 vertical_max_angle_ = value;
483 range_resolution_ = 0;
487 return range_resolution_;
491 range_resolution_ = value;
496 #pragma GCC diagnostic pop
513 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fraysensor_2eproto
Definition: raysensor.pb.h:50
void set_vertical_min_angle(double value)
Definition: raysensor.pb.h:433
RaySensor * New() const final
Definition: raysensor.pb.h:121
double horizontal_resolution() const
Definition: raysensor.pb.h:359
double horizontal_max_angle() const
Definition: raysensor.pb.h:387
void set_horizontal_max_angle(double value)
Definition: raysensor.pb.h:391
void set_range_resolution(double value)
Definition: raysensor.pb.h:489
::ignition::msgs::Header * release_header()
Definition: raysensor.pb.h:292
::google::protobuf::int32 horizontal_samples() const
Definition: raysensor.pb.h:345
double vertical_min_angle() const
Definition: raysensor.pb.h:429
void Swap(RaySensor *other)
double vertical_resolution() const
Definition: raysensor.pb.h:415
double range_resolution() const
Definition: raysensor.pb.h:485
std::shared_ptr< RaySensor > RaySensorSharedPtr
Definition: raysensor.pb.h:501
Definition: raysensor.pb.h:48
void clear_horizontal_samples()
Definition: raysensor.pb.h:342
RaySensor & operator=(const RaySensor &from)
Definition: raysensor.pb.h:84
void clear_range_resolution()
Definition: raysensor.pb.h:482
void clear_range_min()
Definition: raysensor.pb.h:454
void set_vertical_resolution(double value)
Definition: raysensor.pb.h:419
void set_horizontal_min_angle(double value)
Definition: raysensor.pb.h:377
void clear_vertical_min_angle()
Definition: raysensor.pb.h:426
IGNITION_MSGS_VISIBLE RaySensorDefaultTypeInternal _RaySensor_default_instance_
void IGNITION_MSGS_VISIBLE AddDescriptors()
void set_horizontal_samples(::google::protobuf::int32 value)
Definition: raysensor.pb.h:349
void clear_vertical_max_angle()
Definition: raysensor.pb.h:440
double range_max() const
Definition: raysensor.pb.h:471
bool display_scan() const
Definition: raysensor.pb.h:331
double vertical_max_angle() const
Definition: raysensor.pb.h:443
void clear_vertical_samples()
Definition: raysensor.pb.h:398
::ignition::msgs::Header * mutable_header()
Definition: raysensor.pb.h:299
double range_min() const
Definition: raysensor.pb.h:457
void set_range_min(double value)
Definition: raysensor.pb.h:461
std::shared_ptr< const RaySensor > ConstRaySensorSharedPtr
Definition: raysensor.pb.h:502
void set_vertical_samples(::google::protobuf::int32 value)
Definition: raysensor.pb.h:405
Definition: raysensor.pb.h:77
void clear_display_scan()
Definition: raysensor.pb.h:328
void clear_horizontal_resolution()
Definition: raysensor.pb.h:356
void set_vertical_max_angle(double value)
Definition: raysensor.pb.h:447
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
RaySensor * New(::google::protobuf::Arena *arena) const final
Definition: raysensor.pb.h:125
void set_range_max(double value)
Definition: raysensor.pb.h:475
void set_horizontal_resolution(double value)
Definition: raysensor.pb.h:363
::google::protobuf::int32 vertical_samples() const
Definition: raysensor.pb.h:401
const ::ignition::msgs::Header & header() const
Definition: raysensor.pb.h:286
void set_allocated_header(::ignition::msgs::Header *header)
Definition: raysensor.pb.h:308
std::unique_ptr< const RaySensor > ConstRaySensorUniquePtr
Definition: raysensor.pb.h:500
void clear_vertical_resolution()
Definition: raysensor.pb.h:412
void clear_range_max()
Definition: raysensor.pb.h:468
static const RaySensor * internal_default_instance()
Definition: raysensor.pb.h:107
void clear_horizontal_min_angle()
Definition: raysensor.pb.h:370
double horizontal_min_angle() const
Definition: raysensor.pb.h:373
bool has_header() const
Definition: raysensor.pb.h:280
Definition: actor.pb.h:78
void clear_horizontal_max_angle()
Definition: raysensor.pb.h:384
void set_display_scan(bool value)
Definition: raysensor.pb.h:335
friend void swap(RaySensor &a, RaySensor &b)
Definition: raysensor.pb.h:115
std::unique_ptr< RaySensor > RaySensorUniquePtr
Definition: raysensor.pb.h:499