ProcessorStats_Battery class

The Variable sub-class used for the battery voltage output measured by the processor's on-board ADC.

Base classes

class Variable
The variable class for a value and related metadata.

Constructors, destructors, conversion operators

ProcessorStats_Battery(ProcessorStats* parentSense, const char* uuid = "", const char* varCode = "Battery") explicit
Construct a new ProcessorStats_Battery object.
ProcessorStats_Battery()
Construct a new ProcessorStats_Battery object.
~ProcessorStats_Battery()
Destroy the ProcessorStats_Battery object - no action needed.

Function documentation

ProcessorStats_Battery::ProcessorStats_Battery(ProcessorStats* parentSense, const char* uuid = "", const char* varCode = "Battery") explicit

Construct a new ProcessorStats_Battery object.

Parameters
parentSense The parent ProcessorStats providing the result values.
uuid A universally unique identifier (UUID or GUID) for the variable; optional with the default value of an empty string.
varCode A short code to help identify the variable in files; optional with a default value of "batteryVoltage".

ProcessorStats_Battery::ProcessorStats_Battery()

Construct a new ProcessorStats_Battery object.