|
FlightGear next
|
#include <electrical.hxx>
Inherits FGElectricalComponent.
Public Member Functions | |
| FGElectricalConnector (SGPropertyNode *node, FGElectricalSystem *es) | |
| ~FGElectricalConnector () | |
| void | add_switch (FGElectricalSwitch s) |
| void | set_switches (bool state) |
| bool | get_state () |
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 174 of file electrical.hxx.
| FGElectricalConnector::FGElectricalConnector | ( | SGPropertyNode * | node, |
| FGElectricalSystem * | es ) |
Definition at line 258 of file electrical.cxx.
|
inline |
Definition at line 183 of file electrical.hxx.
|
inline |
Definition at line 185 of file electrical.hxx.
| bool FGElectricalConnector::get_state | ( | ) |
Definition at line 327 of file electrical.cxx.
| void FGElectricalConnector::set_switches | ( | bool | state | ) |
Definition at line 316 of file electrical.cxx.