Gazebo Msgs

API Reference

8.7.0

#include <battery.pb.h>

Public Member Functions

 Battery ()
 
 Battery (const Battery &from)
 
virtual ~Battery ()
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_header ()
 
void clear_name ()
 
void clear_voltage ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Battery &from)
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_header () const
 
const ::ignition::msgs::Headerheader () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Battery &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
::ignition::msgs::Headermutable_header ()
 
::std::stringmutable_name ()
 
const ::std::stringname () const
 
BatteryNew () const final
 
BatteryNew (::google::protobuf::Arena *arena) const final
 
Batteryoperator= (const Battery &from)
 
::ignition::msgs::Headerrelease_header ()
 
::std::stringrelease_name ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_name (::std::string *name)
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
void set_voltage (double value)
 
void Swap (Battery *other)
 
double voltage () const
 

Static Public Member Functions

static const Batterydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Batteryinternal_default_instance ()
 

Static Public Attributes

static const int kHeaderFieldNumber = 1
 
static constexpr int kIndexInFileMessages
 
static const int kNameFieldNumber = 2
 
static const int kVoltageFieldNumber = 3
 

Constructor & Destructor Documentation

◆ Battery() [1/2]

Battery ( )

◆ ~Battery()

virtual ~Battery ( )
virtual

◆ Battery() [2/2]

Battery ( const Battery from)

Member Function Documentation

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_header()

void clear_header ( )

◆ clear_name()

void clear_name ( )
inline

◆ clear_voltage()

void clear_voltage ( )
inline

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Battery from)

◆ default_instance()

static const Battery& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ has_header()

bool has_header ( ) const
inline

◆ header()

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

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

static const Battery* internal_default_instance ( )
inlinestatic

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Battery from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mutable_header()

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

◆ mutable_name()

std::string * mutable_name ( )
inline

◆ name()

const ::std::string & name ( ) const
inline

◆ New() [1/2]

Battery* New ( ) const
inlinefinal

◆ New() [2/2]

Battery* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ operator=()

Battery& operator= ( const Battery from)
inline

◆ release_header()

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

◆ release_name()

std::string * release_name ( )
inline

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_header()

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

References Battery::header().

◆ set_allocated_name()

void set_allocated_name ( ::std::string name)
inline

References Battery::name().

◆ set_name() [1/3]

void set_name ( const ::std::string value)
inline

◆ set_name() [2/3]

void set_name ( const char *  value)
inline

◆ set_name() [3/3]

void set_name ( const char *  value,
size_t  size 
)
inline

◆ set_voltage()

void set_voltage ( double  value)
inline

◆ Swap()

void Swap ( Battery other)

◆ voltage()

double voltage ( ) const
inline

Member Data Documentation

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kNameFieldNumber

const int kNameFieldNumber = 2
static

◆ kVoltageFieldNumber

const int kVoltageFieldNumber = 3
static

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