X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2Ffdm_shell.hxx;h=1b4a368e5b064ef97a32f08c63009d56a5a24d5c;hb=e10b4934212bd25c7f6a17fb9078a44cedfbff8d;hp=be0b1f85925965c949afab0de5e19f68ece71ec4;hpb=14be21ea5ce0f5a2b9234490e8ad891e8b7f43b6;p=flightgear.git diff --git a/src/FDM/fdm_shell.hxx b/src/FDM/fdm_shell.hxx index be0b1f859..1b4a368e5 100644 --- a/src/FDM/fdm_shell.hxx +++ b/src/FDM/fdm_shell.hxx @@ -24,6 +24,7 @@ #define FG_FDM_SHELL_HXX #include +#include "TankProperties.hxx" // forward decls class FGInterface; @@ -40,23 +41,33 @@ class FDMShell : public SGSubsystem { public: FDMShell(); - ~FDMShell(); + virtual ~FDMShell(); virtual void init(); + virtual void shutdown(); virtual void reinit(); - + virtual void postinit(); + virtual void bind(); virtual void unbind(); virtual void update(double dt); - + + FGInterface* getInterface() const; private: void createImplementation(); - FGInterface* _impl; - SGPropertyNode* _props; // root property tree for this FDM instance + TankPropertiesList _tankProperties; + SGSharedPtr _impl; + SGPropertyNode_ptr _props; // root property tree for this FDM instance bool _dataLogging; + + SGPropertyNode_ptr _wind_north, _wind_east,_wind_down; + SGPropertyNode_ptr _control_fdm_atmo,_temp_degc,_pressure_inhg; + SGPropertyNode_ptr _density_slugft, _data_logging, _replay_master; + + SGPropertyNode_ptr _initialFdmProperties; }; #endif // of FG_FDM_SHELL_HXX