#include "FGAuxiliary.h"
#include "FGOutput.h"
+namespace JSBSim {
+
static const char *IdSrc = "$Id$";
static const char *IdHdr = ID_MODEL;
Position = 0;
Auxiliary = 0;
Output = 0;
-
+
+ //in order for FGModel derived classes to self-bind (that is, call
+ //their bind function in the constructor, the PropertyManager pointer
+ //must be brought up now.
+ PropertyManager = FDMExec->GetPropertyManager();
+
exe_ctr = 1;
if (debug_lvl & 2) cout << " FGModel Base Class" << endl;
Position = FDMExec->GetPosition();
Auxiliary = FDMExec->GetAuxiliary();
Output = FDMExec->GetOutput();
-
+
if (!State ||
!Atmosphere ||
!FCS ||
}
}
}
-
+}