33 #ifndef FGSCRIPT_HEADER_H
34 #define FGSCRIPT_HEADER_H
43 #include "FGJSBBase.h"
44 #include "FGPropertyReader.h"
45 #include "input_output/FGPropertyManager.h"
46 #include "simgear/misc/sg_path.hxx"
57 class FGPropertyValue;
186 bool LoadScript(
const SGPath& script,
double default_dT,
187 const SGPath& initfile);
194 void ResetEvents(
void);
221 std::string Description;
222 std::vector <FGPropertyNode_ptr> SetParam;
223 std::vector <std::string> SetParamName;
224 std::vector <FGPropertyValue*> NotifyProperties;
225 std::vector <std::string> DisplayString;
226 std::vector <eAction> Action;
227 std::vector <eType> Type;
228 std::vector <double> SetValue;
229 std::vector <double> TC;
230 std::vector <double> newValue;
231 std::vector <double> OriginalValue;
232 std::vector <double> ValueSpan;
233 std::vector <bool> Transiting;
234 std::vector <FGFunction*> Functions;
241 Notify = Notified = NotifyKML =
false;
254 std::string ScriptName;
257 std::vector <struct event> Events;
263 void Debug(
int from);