FlightGear next
|
Model an electrical system. More...
#include <electrical.hxx>
Inherits SGSubsystem.
Public Member Functions | |
FGElectricalSystem (SGPropertyNode *node) | |
virtual | ~FGElectricalSystem () |
void | bind () override |
void | init () override |
void | shutdown () override |
void | unbind () override |
void | update (double dt) override |
bool | build (SGPropertyNode *config_props) |
float | propagate (FGElectricalComponent *node, double dt, float input_volts, float input_amps, std::string s="") |
FGElectricalComponent * | find (const std::string &name) |
Static Public Member Functions | |
static const char * | staticSubsystemClassId () |
Protected Types | |
typedef std::vector< FGElectricalComponent * > | comp_list |
Model an electrical system.
This is a fairly simplistic system
Definition at line 202 of file electrical.hxx.
|
protected |
Definition at line 225 of file electrical.hxx.
FGElectricalSystem::FGElectricalSystem | ( | SGPropertyNode * | node | ) |
Definition at line 339 of file electrical.cxx.
|
virtual |
Definition at line 348 of file electrical.cxx.
|
override |
Definition at line 413 of file electrical.cxx.
bool FGElectricalSystem::build | ( | SGPropertyNode * | config_props | ) |
Definition at line 581 of file electrical.cxx.
FGElectricalComponent * FGElectricalSystem::find | ( | const std::string & | name | ) |
Definition at line 713 of file electrical.cxx.
|
override |
Definition at line 354 of file electrical.cxx.
float FGElectricalSystem::propagate | ( | FGElectricalComponent * | node, |
double | dt, | ||
float | input_volts, | ||
float | input_amps, | ||
std::string | s = "" ) |
Definition at line 619 of file electrical.cxx.
|
override |
Definition at line 436 of file electrical.cxx.
|
inlinestatic |
Definition at line 216 of file electrical.hxx.
|
override |
Definition at line 419 of file electrical.cxx.
|
override |
Definition at line 444 of file electrical.cxx.