| 1 | #ifndef _FG_PRIVATE_ACCESSOR_FDM_HXX |
| 2 | #define _FG_PRIVATE_ACCESSOR_FDM_HXX |
| 3 | |
| 4 | #include <map> |
| 5 | #include <memory> |
| 6 | #include <vector> |
| 7 | |
| 8 | #include <simgear/math/SGMath.hxx> |
| 9 | #include <simgear/structure/SGSharedPtr.hxx> |
| 10 | |
| 11 | // Forward declarations for src/FDM/AIWake. |
| 12 | class AIWakeData; |
| 13 | class AIWakeGroup; |
| 14 | class AircraftMesh; |
| 15 | class WakeMesh; |
| 16 | class AeroElement; |
| 17 | typedef SGSharedPtr<AeroElement> AeroElement_ptr; |
| 18 | |
| 19 | // Forward declaration for: src/FDM/YASim. |
| 20 | namespace yasim { |
| 21 | class Atmosphere; |
| 22 | } |
| 23 | |
| 24 | |
| 25 | namespace FGTestApi { |
| 26 | namespace PrivateAccessor { |
| 27 | namespace FDM { |
| 28 | |
| 29 | class Accessor |
| 30 | { |
| 31 | public: |
| 32 | // Access variables from src/FDM/AIWake/AIWakeGroup.hxx. |
| 33 | WakeMesh* read_FDM_AIWake_AIWakeGroup_aiWakeData(AIWakeGroup* instance, int i); |
| 34 | |
| 35 | // Access variables from src/FDM/AIWake/AircraftMesh.hxx. |
| 36 | const std::vector<SGVec3d> read_FDM_AIWake_AircraftMesh_collPt(AircraftMesh* instance) const; |
| 37 | const std::vector<SGVec3d> read_FDM_AIWake_AircraftMesh_midPt(AircraftMesh* instance) const; |
| 38 | |
| 39 | // Access variables from src/FDM/AIWake/WakeMesh.hxx. |
| 40 | const std::vector<AeroElement_ptr> read_FDM_AIWake_WakeMesh_elements(WakeMesh* instance) const; |
| 41 | int read_FDM_AIWake_WakeMesh_nelm(WakeMesh* instance) const; |
| 42 | double **read_FDM_AIWake_WakeMesh_Gamma(WakeMesh* instance) const; |
| 43 | |
| 44 | // Access variables from src/FDM/YASim/Atmosphere.hxx. |
| 45 | float read_FDM_YASim_Atmosphere_numColumns(std::unique_ptr<yasim::Atmosphere> &instance) const; |
| 46 | float read_FDM_YASim_Atmosphere_data(std::unique_ptr<yasim::Atmosphere> &instance, int i, int j) const; |
| 47 | }; |
| 48 | |
| 49 | } // End of namespace FDM. |
| 50 | } // End of namespace PrivateAccessor. |
| 51 | } // End of namespace FGTestApi. |
| 52 | |
| 53 | #endif // _FG_PRIVATE_ACCESSOR_FDM_HXX |