|
Maps SDK for C++ 1.0.0
|
Definition of Battery interface. More...


Public Types | |
| enum class | EState { Unknown = 0 , Charging , Discharging , NotCharging , Full } |
| Values that represent the state of the battery. More... | |
| enum class | EHealth { Unknown = 0 , Good , Overheat , Dead , OverVoltage , Unspecified , Cold } |
| Values that represent the health status of the battery. More... | |
| enum class | EPluggedType { Unknown = 0 , Ac , Usb , Wireless } |
| Values that represent the type of battery plug connection. More... | |
Public Member Functions | |
| virtual int | getBatteryLevel () const =0 |
| Get battery level. | |
| virtual EState | getBatteryState () const =0 |
| Get battery state. | |
| virtual EHealth | getBatteryHealth () const =0 |
| Get battery health. | |
| virtual bool | getLowBatteryNoticed () const =0 |
| Get if low battery had noticed. | |
| virtual EPluggedType | getPluggedType () const =0 |
| Get plugged type. | |
| virtual int | getVoltage () const =0 |
| Get voltage. | |
| virtual int | getTemperature () const =0 |
| Get temperature. | |
| EDataType | getType () const override final |
| Get data type. | |
| virtual LargeInteger | getAcquisitionTimestamp () const =0 |
| Time | getTime () const |
| template<typename TDerivedType> | |
| StrongPointer< TDerivedType > | cast () |
| Cast to a derived type. | |
Static Public Member Functions | |
| static bool | isSameType (const IData *ptr) |
| Check if two data elements have the same type. | |
Definition of Battery interface.
|
strong |
Values that represent the health status of the battery.
|
strong |
|
strong |
Values that represent the state of the battery.
|
inlineinherited |
Cast to a derived type.
|
pure virtualinherited |
Implemented in gem::sense::MockPosition.
|
pure virtual |
Get battery health.
|
pure virtual |
Get battery level.
|
pure virtual |
Get battery state.
|
pure virtual |
Get if low battery had noticed.
|
pure virtual |
Get plugged type.
|
pure virtual |
Get temperature.
|
inlineinherited |
|
inlinefinaloverridevirtualinherited |
|
pure virtual |
Get voltage.
|
inlinestaticinherited |
Check if two data elements have the same type.
| ptr | The other IData pointer to check against. |