2025-04-28 12:25:20 +08:00
|
|
|
#pragma once
|
|
|
|
#include <XNCore/XNModelObject_p.h>
|
|
|
|
#include <DataModels/libSACSCAerodynamics_V2.0.3.5H/std_04_dll.h>
|
2025-05-26 15:27:02 +08:00
|
|
|
#include <C909_V1/ATA04/Aerodynamics_input.hpp>
|
|
|
|
#include <C909_V1/ATA04/Aerodynamics_output.hpp>
|
|
|
|
#include <C909_V1/ATA04/Aerodynamics_heartbeat.hpp>
|
2025-04-28 12:25:20 +08:00
|
|
|
|
|
|
|
typedef void (*FunctionType)(ComacDataStructure_S *);
|
|
|
|
|
2025-05-21 09:18:30 +08:00
|
|
|
struct XNAerodynamicsPrivate : public XNModelObjectPrivate {
|
2025-04-28 12:25:20 +08:00
|
|
|
FunctionType _fun = nullptr;
|
|
|
|
|
|
|
|
ComacDataStructure_S _data;
|
|
|
|
|
2025-05-21 09:18:30 +08:00
|
|
|
std::string _entryPointName = "_Z27SACSCAerodynamicsEntryPointP20ComacDataStructure_S";
|
|
|
|
|
|
|
|
std::mutex _mutex;
|
2025-05-26 15:27:02 +08:00
|
|
|
|
|
|
|
XNSim::C909::ATA04::Aerodynamics_input_Interface _inputInterface;
|
|
|
|
XNSim::C909::ATA04::Aerodynamics_output_Interface _outputInterface;
|
|
|
|
XNSim::C909::ATA04::Aerodynamics_heartbeat_Interface _heartbeatInterface;
|
2025-04-28 12:25:20 +08:00
|
|
|
};
|