List of all members |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions
Battery Class Referencefinal
#include <battery.pb.h>
Public Types | |
enum | : int { kNameFieldNumber = 2 , kHeaderFieldNumber = 1 , kVoltageFieldNumber = 3 } |
Public Member Functions | |
Battery () | |
constexpr | Battery (::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized) |
Battery (Battery &&from) noexcept | |
Battery (const Battery &from) | |
~Battery () 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_voltage () |
void | CopyFrom (const Battery &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::Header & | header () const |
bool | IsInitialized () const final |
void | MergeFrom (const Battery &from) |
::ignition::msgs::Header * | mutable_header () |
std::string * | mutable_name () |
const std::string & | name () const |
Battery * | New (::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final |
Battery & | operator= (Battery &&from) noexcept |
Battery & | operator= (const Battery &from) |
PROTOBUF_NODISCARD ::ignition::msgs::Header * | release_header () |
PROTOBUF_NODISCARD std::string * | release_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_voltage (double value) |
void | Swap (Battery *other) |
::ignition::msgs::Header * | unsafe_arena_release_header () |
void | unsafe_arena_set_allocated_header (::ignition::msgs::Header *header) |
void | UnsafeArenaSwap (Battery *other) |
double | voltage () const |
Static Public Member Functions | |
static const Battery & | default_instance () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | descriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * | GetDescriptor () |
static const ::PROTOBUF_NAMESPACE_ID::Reflection * | GetReflection () |
static const Battery * | internal_default_instance () |
Static Public Attributes | |
static const ClassData | _class_data_ |
static constexpr int | kIndexInFileMessages |
Protected Member Functions | |
Battery (::PROTOBUF_NAMESPACE_ID::Arena *arena, bool is_message_owned=false) | |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ Battery() [1/5]
|
inline |
◆ ~Battery()
|
override |
◆ Battery() [2/5]
|
explicitconstexpr |
◆ Battery() [3/5]
◆ Battery() [4/5]
◆ Battery() [5/5]
|
explicitprotected |
Member Function Documentation
◆ _InternalParse()
|
final |
◆ _InternalSerialize()
|
final |
◆ ByteSizeLong()
|
final |
◆ Clear()
|
final |
◆ clear_header()
void clear_header | ( | ) |
◆ clear_name()
|
inline |
◆ clear_voltage()
|
inline |
◆ CopyFrom()
void CopyFrom | ( | const Battery & | from | ) |
◆ default_instance()
|
inlinestatic |
◆ descriptor()
|
inlinestatic |
◆ GetCachedSize()
|
inlinefinal |
◆ GetClassData()
|
final |
◆ GetDescriptor()
|
inlinestatic |
◆ GetMetadata()
|
final |
◆ GetReflection()
|
inlinestatic |
◆ has_header()
|
inline |
◆ header()
|
inline |
◆ internal_default_instance()
|
inlinestatic |
References ignition::msgs::_Battery_default_instance_.
◆ IsInitialized()
|
final |
◆ MergeFrom()
void MergeFrom | ( | const Battery & | from | ) |
◆ mutable_header()
|
inline |
◆ mutable_name()
|
inline |
◆ name()
|
inline |
◆ New()
|
inlinefinal |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ release_header()
|
inline |
◆ release_name()
|
inline |
◆ set_allocated_header()
|
inline |
◆ set_allocated_name()
|
inline |
◆ set_name() [1/2]
void set_name | ( | ArgT0 && | arg0, |
ArgT... | args | ||
) |
◆ set_name() [2/2]
|
inline |
◆ set_voltage()
|
inline |
◆ Swap()
|
inline |
◆ unsafe_arena_release_header()
|
inline |
◆ unsafe_arena_set_allocated_header()
|
inline |
◆ UnsafeArenaSwap()
|
inline |
◆ voltage()
|
inline |
Member Data Documentation
◆ _class_data_
|
static |
◆ kIndexInFileMessages
|
staticconstexpr |
Initial value:
=
0
The documentation for this class was generated from the following file: