|
EnergyProxy Class Reference
[Proxies]
#include <playerclient.h>
Inherits ClientProxy.
List of all members.
Detailed Description
The EnergyProxy class is used to read from an energy device.
Constructor & Destructor Documentation
EnergyProxy::EnergyProxy |
( |
PlayerClient * |
pc, |
|
|
unsigned short |
index, |
|
|
unsigned char |
access = 'c' |
|
) |
[inline] |
|
|
Constructor. Leave the access field empty to start unconnected. |
Member Function Documentation
void EnergyProxy::FillData |
( |
player_msghdr_t |
hdr, |
|
|
const char * |
buffer |
|
) |
[virtual] |
|
|
All proxies must provide this method. It is used internally to parse new data when it is received.
Reimplemented from ClientProxy. |
void EnergyProxy::Print |
( |
|
) |
[virtual] |
|
|
Print out the current bumper state.
Reimplemented from ClientProxy. |
Member Data Documentation
|
These members give the current amount of energy stored (Joules) and the amount of energy current being consumed (Watts). The charging flag is TRUE if we are currently charging, else FALSE. |
The documentation for this class was generated from the following file:
Generated on Tue May 3 14:15:50 2005 for Player by 1.3.6
|