Ignition Msgs

API Reference

5.8.1

#include <statistic.pb.h>

Public Types

enum  : int { kNameFieldNumber = 3 , kHeaderFieldNumber = 1 , kValueFieldNumber = 4 , kTypeFieldNumber = 2 }
 
typedef Statistic_DataType DataType
 

Public Member Functions

 Statistic ()
 
constexpr Statistic (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized)
 
 Statistic (const Statistic &from)
 
 Statistic (Statistic &&from) noexcept
 
 ~Statistic () override
 
const char * _InternalParse (const char *ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext *ctx) final
 
uint8_t * _InternalSerialize (uint8_t *target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *stream) const final
 
size_t ByteSizeLong () const final
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
void clear_header ()
 
void clear_name ()
 
void clear_type ()
 
void clear_value ()
 
void CopyFrom (const Statistic &from)
 
int GetCachedSize () const final
 
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData * GetClassData () const final
 
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
bool IsInitialized () const final
 
void MergeFrom (const Statistic &from)
 
::ignition::msgs::Headermutable_header ()
 
std::stringmutable_name ()
 
const std::stringname () const
 
StatisticNew (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
 
Statisticoperator= (const Statistic &from)
 
Statisticoperator= (Statistic &&from) noexcept
 
PROTOBUF_NODISCARD ::ignition::msgs::Headerrelease_header ()
 
PROTOBUF_NODISCARD std::stringrelease_name ()
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_name (std::string *name)
 
template<typename ArgT0 = const std::string&, typename... ArgT>
void set_name (ArgT0 &&arg0, ArgT... args)
 
template<typename ArgT0 , typename... ArgT>
PROTOBUF_ALWAYS_INLINE void set_name (ArgT0 &&arg0, ArgT... args)
 
void set_type (::ignition::msgs::Statistic_DataType value)
 
void set_value (double value)
 
void Swap (Statistic *other)
 
::ignition::msgs::Statistic_DataType type () const
 
::ignition::msgs::Headerunsafe_arena_release_header ()
 
void unsafe_arena_set_allocated_header (::ignition::msgs::Header *header)
 
void UnsafeArenaSwap (Statistic *other)
 
double value () const
 

Static Public Member Functions

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * DataType_descriptor ()
 
static bool DataType_IsValid (int value)
 
template<typename T >
static const std::stringDataType_Name (T enum_t_value)
 
static bool DataType_Parse (::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DataType *value)
 
static const Statisticdefault_instance ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor ()
 
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection ()
 
static const Statisticinternal_default_instance ()
 

Static Public Attributes

static const ClassData _class_data_
 
static constexpr DataType AVERAGE
 
static constexpr int DataType_ARRAYSIZE
 
static constexpr DataType DataType_MAX
 
static constexpr DataType DataType_MIN
 
static constexpr int kIndexInFileMessages
 
static constexpr DataType MAX_ABS_VALUE
 
static constexpr DataType MAXIMUM
 
static constexpr DataType MINIMUM
 
static constexpr DataType ROOT_MEAN_SQUARE
 
static constexpr DataType SAMPLE_COUNT
 
static constexpr DataType STDDEV
 
static constexpr DataType UNINITIALIZED
 
static constexpr DataType VARIANCE
 

Protected Member Functions

 Statistic (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false)
 

Member Typedef Documentation

◆ DataType

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kNameFieldNumber 
kHeaderFieldNumber 
kValueFieldNumber 
kTypeFieldNumber 

Constructor & Destructor Documentation

◆ Statistic() [1/5]

Statistic ( )
inline

◆ ~Statistic()

~Statistic ( )
override

◆ Statistic() [2/5]

constexpr Statistic ( ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized  )
explicitconstexpr

◆ Statistic() [3/5]

Statistic ( const Statistic from)

◆ Statistic() [4/5]

Statistic ( Statistic &&  from)
inlinenoexcept

◆ Statistic() [5/5]

Statistic ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena,
bool  is_message_owned = false 
)
explicitprotected

Member Function Documentation

◆ _InternalParse()

const char* _InternalParse ( const char *  ptr,
::PROTOBUF_NAMESPACE_ID::internal::ParseContext *  ctx 
)
final

◆ _InternalSerialize()

uint8_t* _InternalSerialize ( uint8_t *  target,
::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream *  stream 
) const
final

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear ( )
final

◆ clear_header()

void clear_header ( )

◆ clear_name()

void clear_name ( )
inline

◆ clear_type()

void clear_type ( )
inline

◆ clear_value()

void clear_value ( )
inline

◆ CopyFrom()

void CopyFrom ( const Statistic from)

◆ DataType_descriptor()

static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DataType_descriptor ( )
inlinestatic

◆ DataType_IsValid()

static bool DataType_IsValid ( int  value)
inlinestatic

◆ DataType_Name()

static const std::string& DataType_Name ( enum_t_value)
inlinestatic

◆ DataType_Parse()

static bool DataType_Parse ( ::PROTOBUF_NAMESPACE_ID::ConstStringParam  name,
DataType value 
)
inlinestatic

◆ default_instance()

static const Statistic& default_instance ( )
inlinestatic

◆ descriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor ( )
inlinestatic

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetClassData()

const ::PROTOBUF_NAMESPACE_ID::Message::ClassData* GetClassData ( ) const
final

◆ GetDescriptor()

static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor ( )
inlinestatic

◆ GetMetadata()

::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata ( ) const
final

◆ GetReflection()

static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection ( )
inlinestatic

◆ has_header()

bool has_header ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ internal_default_instance()

static const Statistic* internal_default_instance ( )
inlinestatic

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom()

void MergeFrom ( const Statistic from)

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ name()

const std::string & name ( ) const
inline

◆ New()

Statistic* New ( ::PROTOBUF_NAMESPACE_ID::Arena *  arena = nullptr) const
inlinefinal

◆ operator=() [1/2]

Statistic& operator= ( const Statistic from)
inline

◆ operator=() [2/2]

Statistic& operator= ( Statistic &&  from)
inlinenoexcept

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ release_name()

std::string * release_name ( )
inline

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ set_allocated_name()

void set_allocated_name ( std::string name)
inline

◆ set_name() [1/2]

void set_name ( ArgT0 &&  arg0,
ArgT...  args 
)

◆ set_name() [2/2]

PROTOBUF_ALWAYS_INLINE void set_name ( ArgT0 &&  arg0,
ArgT...  args 
)
inline

◆ set_type()

void set_type ( ::ignition::msgs::Statistic_DataType  value)
inline

◆ set_value()

void set_value ( double  value)
inline

◆ Swap()

void Swap ( Statistic other)
inline

◆ type()

ignition::msgs::Statistic_DataType type ( ) const
inline

◆ unsafe_arena_release_header()

ignition::msgs::Header * unsafe_arena_release_header ( )
inline

◆ unsafe_arena_set_allocated_header()

void unsafe_arena_set_allocated_header ( ::ignition::msgs::Header header)
inline

◆ UnsafeArenaSwap()

void UnsafeArenaSwap ( Statistic other)
inline

◆ value()

double value ( ) const
inline

Member Data Documentation

◆ _class_data_

const ClassData _class_data_
static

◆ AVERAGE

constexpr DataType AVERAGE
staticconstexpr
Initial value:
=
@ Statistic_DataType_AVERAGE
Definition: statistic.pb.h:92

◆ DataType_ARRAYSIZE

constexpr int DataType_ARRAYSIZE
staticconstexpr
Initial value:
=
constexpr int Statistic_DataType_DataType_ARRAYSIZE
Definition: statistic.pb.h:106

◆ DataType_MAX

constexpr DataType DataType_MAX
staticconstexpr
Initial value:
=
constexpr Statistic_DataType Statistic_DataType_DataType_MAX
Definition: statistic.pb.h:105

◆ DataType_MIN

constexpr DataType DataType_MIN
staticconstexpr
Initial value:
=
constexpr Statistic_DataType Statistic_DataType_DataType_MIN
Definition: statistic.pb.h:104

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ MAX_ABS_VALUE

constexpr DataType MAX_ABS_VALUE
staticconstexpr
Initial value:
=
@ Statistic_DataType_MAX_ABS_VALUE
Definition: statistic.pb.h:99

◆ MAXIMUM

constexpr DataType MAXIMUM
staticconstexpr
Initial value:
=
@ Statistic_DataType_MAXIMUM
Definition: statistic.pb.h:94

◆ MINIMUM

constexpr DataType MINIMUM
staticconstexpr
Initial value:
=
@ Statistic_DataType_MINIMUM
Definition: statistic.pb.h:93

◆ ROOT_MEAN_SQUARE

constexpr DataType ROOT_MEAN_SQUARE
staticconstexpr
Initial value:
=
@ Statistic_DataType_ROOT_MEAN_SQUARE
Definition: statistic.pb.h:98

◆ SAMPLE_COUNT

constexpr DataType SAMPLE_COUNT
staticconstexpr
Initial value:
=
@ Statistic_DataType_SAMPLE_COUNT
Definition: statistic.pb.h:97

◆ STDDEV

constexpr DataType STDDEV
staticconstexpr
Initial value:
=
@ Statistic_DataType_STDDEV
Definition: statistic.pb.h:96

◆ UNINITIALIZED

constexpr DataType UNINITIALIZED
staticconstexpr
Initial value:
=
@ Statistic_DataType_UNINITIALIZED
Definition: statistic.pb.h:91

◆ VARIANCE

constexpr DataType VARIANCE
staticconstexpr
Initial value:
=
@ Statistic_DataType_VARIANCE
Definition: statistic.pb.h:95

The documentation for this class was generated from the following file: