playerc_power_t Struct Reference
[power]

Power device data. More...

#include <playerc.h>

Collaboration diagram for playerc_power_t:

List of all members.


Public Attributes

playerc_device_t info
 Device info; must be at the start of all device structures.
int valid
 status bits.
double charge
 Battery charge (Volts).
double percent
 Battery charge (percent full).
double joules
 energy stored (Joules)
double watts
 power currently being used (Watts).
int charging
 charging flag.

Detailed Description

Power device data.


Member Data Documentation

Battery charge (Volts).

Referenced by PlayerCc::PowerProxy::GetCharge().

charging flag.

TRUE if charging, else FALSE

Referenced by PlayerCc::PowerProxy::GetCharging().

Device info; must be at the start of all device structures.

Battery charge (percent full).

Referenced by PlayerCc::PowerProxy::GetPercent().

status bits.

Bitwise-and with PLAYER_POWER_MASK_ values to see which fields are being set by the driver.

Referenced by PlayerCc::PowerProxy::IsValid().

power currently being used (Watts).

Negative numbers indicate charging.

Referenced by PlayerCc::PowerProxy::GetWatts().


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

Last updated 12 September 2005 21:38:45