|
FlightGear next
|
#include <electrical.hxx>
Inherits FGElectricalComponent.
Public Member Functions | |
| FGElectricalBus (SGPropertyNode *node) | |
| ~FGElectricalBus () | |
Public Member Functions inherited from FGElectricalComponent | |
| FGElectricalComponent () | |
| virtual | ~FGElectricalComponent ()=default |
| const std::string & | get_name () |
| int | get_kind () const |
| float | get_volts () const |
| void | set_volts (float val) |
| float | get_load_amps () const |
| void | set_load_amps (float val) |
| float | get_available_amps () const |
| void | set_available_amps (float val) |
| int | get_num_inputs () const |
| FGElectricalComponent * | get_input (const int i) |
| void | add_input (FGElectricalComponent *c) |
| int | get_num_outputs () const |
| FGElectricalComponent * | get_output (const int i) |
| void | add_output (FGElectricalComponent *c) |
| void | add_prop (const std::string &s) |
| void | publishVoltageToProps () const |
Additional Inherited Members | |
Public Types inherited from FGElectricalComponent | |
| enum | FGElectricalComponentType { FG_UNKNOWN , FG_SUPPLIER , FG_BUS , FG_OUTPUT , FG_CONNECTOR } |
Protected Types inherited from FGElectricalComponent | |
| using | comp_list = std::vector<FGElectricalComponent*> |
Protected Attributes inherited from FGElectricalComponent | |
| int | kind |
| std::string | name |
| float | volts |
| float | load_amps |
| float | available_amps |
| comp_list | inputs |
| comp_list | outputs |
| simgear::PropertyList | props |
Definition at line 135 of file electrical.hxx.
| FGElectricalBus::FGElectricalBus | ( | SGPropertyNode * | node | ) |
Definition at line 190 of file electrical.cxx.
|
inline |
Definition at line 139 of file electrical.hxx.