FlightGear next
|
#include <electrical.hxx>
Inherits FGElectricalComponent.
Public Member Functions | |
FGElectricalOutput (SGPropertyNode *node) | |
~FGElectricalOutput () | |
![]() | |
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 | |
![]() | |
enum | FGElectricalComponentType { FG_UNKNOWN , FG_SUPPLIER , FG_BUS , FG_OUTPUT , FG_CONNECTOR } |
![]() | |
using | comp_list = std::vector<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 145 of file electrical.hxx.
FGElectricalOutput::FGElectricalOutput | ( | SGPropertyNode * | node | ) |
Definition at line 205 of file electrical.cxx.
|
inline |
Definition at line 149 of file electrical.hxx.