Go to the documentation of this file.
4 #ifndef PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fnoise_2eproto
5 #define PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fnoise_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/generated_enum_reflection.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 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fsensor_5fnoise_2eproto IGNITION_MSGS_VISIBLE
52 static const ::google::protobuf::internal::ParseTableField entries[];
53 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
54 static const ::google::protobuf::internal::ParseTable schema[1];
55 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
56 static const ::google::protobuf::internal::SerializationTable serialization_table[];
57 static const ::google::protobuf::uint32 offsets[];
64 class SensorNoiseDefaultTypeInternal;
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::SensorNoise* Arena::CreateMaybeMessage<::ignition::msgs::SensorNoise>(Arena*);
90 return ::google::protobuf::internal::NameOfEnum(
95 return ::google::protobuf::internal::ParseNamedEnum<SensorNoise_Type>(
100 class IGNITION_MSGS_VISIBLE
SensorNoise :
public ::google::protobuf::Message {
114 *
this = ::std::move(from);
117 inline SensorNoise& operator=(SensorNoise&& from) noexcept {
118 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
119 if (
this != &from) InternalSwap(&from);
126 static const ::google::protobuf::Descriptor* descriptor();
127 static const SensorNoise& default_instance();
129 static void InitAsDefaultInstance();
134 static constexpr
int kIndexInFileMessages =
145 return CreateMaybeMessage<SensorNoise>(NULL);
149 return CreateMaybeMessage<SensorNoise>(arena);
151 void CopyFrom(const ::google::protobuf::Message& from)
final;
152 void MergeFrom(const ::google::protobuf::Message& from)
final;
156 bool IsInitialized() const final;
158 size_t ByteSizeLong() const final;
159 bool MergePartialFromCodedStream(
160 ::
google::protobuf::io::CodedInputStream* input) final;
161 void SerializeWithCachedSizes(
162 ::
google::protobuf::io::CodedOutputStream* output) const final;
163 ::
google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
164 bool deterministic, ::
google::protobuf::uint8* target) const final;
165 int GetCachedSize() const final {
return _cached_size_.Get(); }
170 void SetCachedSize(
int size)
const final;
173 inline ::google::protobuf::Arena* GetArenaNoVirtual()
const {
176 inline void* MaybeArenaPtr()
const {
181 ::google::protobuf::Metadata GetMetadata() const final;
190 static const
Type GAUSSIAN_QUANTIZED =
192 static inline
bool Type_IsValid(
int value) {
199 static const int Type_ARRAYSIZE =
201 static inline const ::google::protobuf::EnumDescriptor*
216 bool has_header()
const;
218 static const int kHeaderFieldNumber = 1;
220 const ::ignition::msgs::Header& _internal_header()
const;
222 const ::ignition::msgs::Header& header()
const;
229 static const int kMeanFieldNumber = 3;
231 void set_mean(
double value);
235 static const int kStddevFieldNumber = 4;
236 double stddev()
const;
237 void set_stddev(
double value);
240 void clear_bias_mean();
241 static const int kBiasMeanFieldNumber = 5;
242 double bias_mean()
const;
243 void set_bias_mean(
double value);
246 void clear_bias_stddev();
247 static const int kBiasStddevFieldNumber = 6;
248 double bias_stddev()
const;
249 void set_bias_stddev(
double value);
252 void clear_precision();
253 static const int kPrecisionFieldNumber = 7;
255 void set_precision(
double value);
258 void clear_dynamic_bias_stddev();
259 static const int kDynamicBiasStddevFieldNumber = 8;
260 double dynamic_bias_stddev()
const;
261 void set_dynamic_bias_stddev(
double value);
264 void clear_dynamic_bias_correlation_time();
265 static const int kDynamicBiasCorrelationTimeFieldNumber = 9;
266 double dynamic_bias_correlation_time()
const;
267 void set_dynamic_bias_correlation_time(
double value);
271 static const int kTypeFieldNumber = 2;
278 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
285 double dynamic_bias_stddev_;
286 double dynamic_bias_correlation_time_;
288 mutable ::google::protobuf::internal::CachedSize _cached_size_;
289 friend struct ::protobuf_ignition_2fmsgs_2fsensor_5fnoise_2eproto::TableStruct;
297 #pragma GCC diagnostic push
298 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
306 inline const ::ignition::msgs::Header& SensorNoise::_internal_header()
const {
310 const ::ignition::msgs::Header* p = header_;
324 if (header_ == NULL) {
325 auto* p = CreateMaybeMessage<::ignition::msgs::Header>(GetArenaNoVirtual());
332 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
333 if (message_arena == NULL) {
334 delete reinterpret_cast< ::google::protobuf::MessageLite*
>(header_);
337 ::google::protobuf::Arena* submessage_arena = NULL;
338 if (message_arena != submessage_arena) {
339 header = ::google::protobuf::internal::GetOwnedMessage(
340 message_arena,
header, submessage_arena);
416 bias_stddev_ = value;
436 dynamic_bias_stddev_ = 0;
440 return dynamic_bias_stddev_;
444 dynamic_bias_stddev_ = value;
450 dynamic_bias_correlation_time_ = 0;
454 return dynamic_bias_correlation_time_;
458 dynamic_bias_correlation_time_ = value;
463 #pragma GCC diagnostic pop
480 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::SensorNoise_Type>() {
492 #endif // PROTOBUF_INCLUDED_ignition_2fmsgs_2fsensor_5fnoise_2eproto
IGNITION_MSGS_VISIBLE bool SensorNoise_Type_IsValid(int value)
void clear_type()
Definition: sensor_noise.pb.h:351
void Swap(SensorNoise *other)
void set_type(::ignition::msgs::SensorNoise_Type value)
Definition: sensor_noise.pb.h:358
const ::std::string & SensorNoise_Type_Name(SensorNoise_Type value)
Definition: sensor_noise.pb.h:89
const ::ignition::msgs::Header & header() const
Definition: sensor_noise.pb.h:309
void set_bias_stddev(double value)
Definition: sensor_noise.pb.h:414
void set_bias_mean(double value)
Definition: sensor_noise.pb.h:400
std::shared_ptr< const SensorNoise > ConstSensorNoiseSharedPtr
Definition: sensor_noise.pb.h:469
void set_allocated_header(::ignition::msgs::Header *header)
Definition: sensor_noise.pb.h:331
const int SensorNoise_Type_Type_ARRAYSIZE
Definition: sensor_noise.pb.h:86
void set_dynamic_bias_stddev(double value)
Definition: sensor_noise.pb.h:442
std::unique_ptr< const SensorNoise > ConstSensorNoiseUniquePtr
Definition: sensor_noise.pb.h:467
void set_dynamic_bias_correlation_time(double value)
Definition: sensor_noise.pb.h:456
::ignition::msgs::Header * mutable_header()
Definition: sensor_noise.pb.h:322
@ SensorNoise_Type_NONE
Definition: sensor_noise.pb.h:77
void clear_dynamic_bias_correlation_time()
Definition: sensor_noise.pb.h:449
bool has_header() const
Definition: sensor_noise.pb.h:303
double bias_mean() const
Definition: sensor_noise.pb.h:396
SensorNoise * New(::google::protobuf::Arena *arena) const final
Definition: sensor_noise.pb.h:148
double stddev() const
Definition: sensor_noise.pb.h:382
SensorNoise & operator=(const SensorNoise &from)
Definition: sensor_noise.pb.h:107
static const ::google::protobuf::EnumDescriptor * Type_descriptor()
Definition: sensor_noise.pb.h:202
void clear_mean()
Definition: sensor_noise.pb.h:365
double mean() const
Definition: sensor_noise.pb.h:368
void clear_bias_stddev()
Definition: sensor_noise.pb.h:407
T precision(const T &_a, const unsigned int &_precision)
double dynamic_bias_correlation_time() const
Definition: sensor_noise.pb.h:452
@ SensorNoise_Type_GAUSSIAN
Definition: sensor_noise.pb.h:78
::ignition::msgs::Header * release_header()
Definition: sensor_noise.pb.h:315
std::unique_ptr< SensorNoise > SensorNoiseUniquePtr
Definition: sensor_noise.pb.h:466
@ SensorNoise_Type_GAUSSIAN_QUANTIZED
Definition: sensor_noise.pb.h:79
Definition: sensor_noise.pb.h:51
void clear_stddev()
Definition: sensor_noise.pb.h:379
void set_mean(double value)
Definition: sensor_noise.pb.h:372
static const SensorNoise * internal_default_instance()
Definition: sensor_noise.pb.h:130
void clear_dynamic_bias_stddev()
Definition: sensor_noise.pb.h:435
std::shared_ptr< SensorNoise > SensorNoiseSharedPtr
Definition: sensor_noise.pb.h:468
IGNITION_MSGS_VISIBLE SensorNoiseDefaultTypeInternal _SensorNoise_default_instance_
double precision() const
Definition: sensor_noise.pb.h:424
void clear_precision()
Definition: sensor_noise.pb.h:421
friend void swap(SensorNoise &a, SensorNoise &b)
Definition: sensor_noise.pb.h:138
static bool Type_Parse(const ::std::string &name, Type *value)
Definition: sensor_noise.pb.h:208
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
void clear_bias_mean()
Definition: sensor_noise.pb.h:393
Definition: sensor_noise.pb.h:49
@ SensorNoise_Type_SensorNoise_Type_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: sensor_noise.pb.h:80
double bias_stddev() const
Definition: sensor_noise.pb.h:410
double dynamic_bias_stddev() const
Definition: sensor_noise.pb.h:438
T mean(const std::vector< T > &_values)
Definition: sensor_noise.pb.h:100
void IGNITION_MSGS_VISIBLE AddDescriptors()
SensorNoise * New() const final
Definition: sensor_noise.pb.h:144
::ignition::msgs::SensorNoise_Type type() const
Definition: sensor_noise.pb.h:354
bool SensorNoise_Type_Parse(const ::std::string &name, SensorNoise_Type *value)
Definition: sensor_noise.pb.h:93
const SensorNoise_Type SensorNoise_Type_Type_MIN
Definition: sensor_noise.pb.h:84
SensorNoise_Type
Definition: sensor_noise.pb.h:76
void set_precision(double value)
Definition: sensor_noise.pb.h:428
const SensorNoise_Type SensorNoise_Type_Type_MAX
Definition: sensor_noise.pb.h:85
@ SensorNoise_Type_SensorNoise_Type_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: sensor_noise.pb.h:81
static const ::std::string & Type_Name(Type value)
Definition: sensor_noise.pb.h:205
Definition: actor.pb.h:78
void set_stddev(double value)
Definition: sensor_noise.pb.h:386
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * SensorNoise_Type_descriptor()