#include <stage.hh>
List of all members.
Constructor & Destructor Documentation
| PowerPack::PowerPack |
( |
Model * |
mod | ) |
|
| PowerPack::~PowerPack |
( |
| ) |
|
Member Function Documentation
| void Stg::PowerPack::ChargeStart |
( |
| ) |
[inline] |
| void Stg::PowerPack::ChargeStop |
( |
| ) |
[inline] |
Lose energy as work or heat
Lose energy as work or heat, and record the event
| joules_t PowerPack::GetCapacity |
( |
| ) |
const |
| bool Stg::PowerPack::GetCharging |
( |
| ) |
const [inline] |
Returns true iff the device received energy at the last timestep
| joules_t PowerPack::GetDissipated |
( |
| ) |
const |
| void Stg::PowerPack::Print |
( |
const char * |
prefix | ) |
const [inline] |
Print human-readable status on stdout, prefixed with the argument string, or NULL
| double Stg::PowerPack::ProportionRemaining |
( |
| ) |
const [inline] |
| joules_t PowerPack::RemainingCapacity |
( |
| ) |
const |
Returns the energy capacity minus the current amount stored
| void PowerPack::SetCapacity |
( |
joules_t |
j | ) |
|
Subtract from the energy store
Transfer some stored energy to another power pack
| void PowerPack::Visualize |
( |
Camera * |
cam | ) |
|
OpenGL visualization of the powerpack state
Member Data Documentation
TRUE iff the device is receiving energy
The model that owns this object
The documentation for this class was generated from the following files: