33 #ifndef FGFCSCOMPONENT_H 34 #define FGFCSCOMPONENT_H 43 #include "FGJSBBase.h" 44 #include "math/FGPropertyValue.h" 50 #define ID_FCSCOMPONENT "$Id: FGFCSComponent.h,v 1.28 2016/02/27 16:54:16 bcoconni Exp $" 102 virtual bool Run(
void) {
return true; }
103 virtual void SetOutput(
void);
104 void SetDtForFrameCount(
int FrameCount);
105 double GetOutput (
void)
const {
return Output;}
106 std::string GetName(
void)
const {
return Name;}
107 std::string GetType(
void)
const {
return Type; }
108 virtual double GetOutputPct(
void)
const {
return 0; }
109 virtual void ResetPastStates(
void);
114 FGPropertyNode_ptr treenode;
115 std::vector <FGPropertyNode_ptr> OutputNodes;
116 FGPropertyNode_ptr ClipMinPropertyNode;
117 FGPropertyNode_ptr ClipMaxPropertyNode;
118 std::vector <FGPropertyValue*> InitNodes;
119 std::vector <std::string> InitNames;
120 std::vector <float> InitSigns;
121 std::vector <FGPropertyValue*> InputNodes;
122 std::vector <std::string> InputNames;
123 std::vector <float> InputSigns;
124 std::vector <double> output_array;
129 double clipmax, clipmin;
133 float clipMinSign, clipMaxSign;
141 virtual void Debug(
int from);
virtual ~FGFCSComponent()
Destructor.
Encapsulates the Flight Control System (FCS) functionality.
Base class for JSBSim Flight Control System Components.
FGFCSComponent(FGFCS *fcs, Element *el)
Constructor.