build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h
Go to the documentation of this file.
47 #define PROTOBUF_INTERNAL_EXPORT_protobuf_ignition_2fmsgs_2fbattery_5fstate_2eproto IGNITION_MSGS_VISIBLE
70 template<> IGNITION_MSGS_VISIBLE ::ignition::msgs::BatteryState* Arena::CreateMaybeMessage<::ignition::msgs::BatteryState>(Arena*);
82 BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32min,
83 BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = ::google::protobuf::kint32max
86 const BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MIN = BatteryState_PowerSupplyStatus_UNKNOWN;
87 const BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MAX = BatteryState_PowerSupplyStatus_FULL;
88 const int BatteryState_PowerSupplyStatus_PowerSupplyStatus_ARRAYSIZE = BatteryState_PowerSupplyStatus_PowerSupplyStatus_MAX + 1;
90 IGNITION_MSGS_VISIBLE const ::google::protobuf::EnumDescriptor* BatteryState_PowerSupplyStatus_descriptor();
91 inline const ::std::string& BatteryState_PowerSupplyStatus_Name(BatteryState_PowerSupplyStatus value) {
102 class IGNITION_MSGS_VISIBLE BatteryState : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:ignition.msgs.BatteryState) */ {
416 inline ::ignition::msgs::BatteryState_PowerSupplyStatus BatteryState::power_supply_status() const {
420 inline void BatteryState::set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value) {
442 template <> struct is_proto_enum< ::ignition::msgs::BatteryState_PowerSupplyStatus> : ::std::true_type {};
444 inline const EnumDescriptor* GetEnumDescriptor< ::ignition::msgs::BatteryState_PowerSupplyStatus>() {
const IGNITION_MSGS_VISIBLE ::google::protobuf::EnumDescriptor * BatteryState_PowerSupplyStatus_descriptor()
IGNITION_MSGS_VISIBLE bool BatteryState_PowerSupplyStatus_IsValid(int value)
void Swap(BatteryState *other)
static bool PowerSupplyStatus_Parse(const ::std::string &name, PowerSupplyStatus *value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:214
void clear_voltage()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:343
void set_current(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:364
void set_charge(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:378
std::unique_ptr< const BatteryState > ConstBatteryStateUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:431
void IGNITION_MSGS_VISIBLE AddDescriptors()
double current() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:360
const ::std::string & BatteryState_PowerSupplyStatus_Name(BatteryState_PowerSupplyStatus value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:91
friend void swap(BatteryState &a, BatteryState &b)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:140
void set_capacity(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:392
double percentage() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:402
const int BatteryState_PowerSupplyStatus_PowerSupplyStatus_ARRAYSIZE
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:88
void clear_power_supply_status()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:413
void set_power_supply_status(::ignition::msgs::BatteryState_PowerSupplyStatus value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:420
const ::ignition::msgs::Header & header() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:301
@ BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:83
::ignition::msgs::BatteryState_PowerSupplyStatus power_supply_status() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:416
bool has_header() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:295
BatteryState & operator=(const BatteryState &from)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:109
void set_percentage(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:406
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:49
::ignition::msgs::Header * mutable_header()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:314
void set_voltage(double value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:350
void clear_charge()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:371
const BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MIN
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:86
@ BatteryState_PowerSupplyStatus_NOT_CHARGING
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:80
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:102
BatteryState * New() const final
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:146
void clear_percentage()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:399
BatteryState_PowerSupplyStatus
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:76
std::shared_ptr< const BatteryState > ConstBatteryStateSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:433
static const ::std::string & PowerSupplyStatus_Name(PowerSupplyStatus value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:211
void clear_capacity()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:385
IGNITION_MSGS_VISIBLE HeaderDefaultTypeInternal _Header_default_instance_
const BatteryState_PowerSupplyStatus BatteryState_PowerSupplyStatus_PowerSupplyStatus_MAX
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:87
void clear_current()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:357
Definition: build/ignition-msgs8/include/ignition/msgs/header.pb.h:215
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:51
std::shared_ptr< BatteryState > BatteryStateSharedPtr
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:432
@ BatteryState_PowerSupplyStatus_DISCHARGING
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:79
double charge() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:374
STL class.
@ BatteryState_PowerSupplyStatus_CHARGING
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:78
::ignition::msgs::Header * release_header()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:307
static const BatteryState * internal_default_instance()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:132
static const ::google::protobuf::EnumDescriptor * PowerSupplyStatus_descriptor()
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:208
double voltage() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:346
@ BatteryState_PowerSupplyStatus_FULL
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:81
@ BatteryState_PowerSupplyStatus_BatteryState_PowerSupplyStatus_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:82
double capacity() const
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:388
@ BatteryState_PowerSupplyStatus_UNKNOWN
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:77
Definition: build/ignition-msgs8/include/ignition/msgs/actor.pb.h:78
std::unique_ptr< BatteryState > BatteryStateUniquePtr
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:430
IGNITION_MSGS_VISIBLE BatteryStateDefaultTypeInternal _BatteryState_default_instance_
void set_allocated_header(::ignition::msgs::Header *header)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:323
BatteryState * New(::google::protobuf::Arena *arena) const final
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:150
bool BatteryState_PowerSupplyStatus_Parse(const ::std::string &name, BatteryState_PowerSupplyStatus *value)
Definition: build/ignition-msgs8/include/ignition/msgs/battery_state.pb.h:95