SG_USING_STD(string);
SG_USING_STD(vector);
-#include <simgear/misc/props.hxx>
-#include <Main/fgfs.hxx>
+#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
// Forward declaration
FG_EXTERNAL = 2
};
+ string rpm_src;
int model;
double volts;
double amps;
/**
- * Model an electrical system. This is a simple system with the
- * alternator hardwired to engine[0]/rpm
- *
- * Input properties:
- *
- * /engines/engine[0]/rpm
- *
- * Output properties:
- *
+ * Model an electrical system. This is a fairly simplistic system
*
*/
-class FGElectricalSystem : public FGSubsystem
+class FGElectricalSystem : public SGSubsystem
{
public:
comp_list buses;
comp_list outputs;
comp_list connectors;
+
+ SGPropertyNode *_volts_out;
+ SGPropertyNode *_amps_out;
};