PlayerCc::PowerProxy Class Reference
[Proxies]

#include <playerc++.h>

Inheritance diagram for PlayerCc::PowerProxy:

Inheritance graph
[legend]
Collaboration diagram for PlayerCc::PowerProxy:

Collaboration graph
[legend]
List of all members.

Detailed Description

The PowerProxy class controls a power device.

Definition at line 2050 of file playerc++.h.


Public Member Functions

 PowerProxy (PlayerClient *aPc, uint32_t aIndex=0)
 constructor
 ~PowerProxy ()
 destructor
double GetCharge () const
 Returns the current charge.
double GetPercent () const
 Returns the percent of power.
double GetJoules () const
 Returns the joules.
double GetWatts () const
 Returns the watts.
bool GetCharging () const
 Returns whether charging is taking place.
bool IsValid () const
 Returns true if we have received any data from the device.

Private Member Functions

void Subscribe (uint32_t aIndex)
void Unsubscribe ()

Private Attributes

playerc_power_tmDevice

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

Last updated 12 September 2005 21:38:45