MCPcopy Create free account
hub / github.com/JSBSim-Team/jsbsim / LoadModel

Method LoadModel

src/FGFDMExec.cpp:816–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
815
816bool FGFDMExec::LoadModel(const SGPath& AircraftPath, const SGPath& EnginePath,
817 const SGPath& SystemsPath, const string& model,
818 bool addModelToPath)
819{
820 FGFDMExec::AircraftPath = GetFullPath(AircraftPath);
821 FGFDMExec::EnginePath = GetFullPath(EnginePath);
822 FGFDMExec::SystemsPath = GetFullPath(SystemsPath);
823
824 return LoadModel(model, addModelToPath);
825}
826
827//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
828

Callers 6

real_mainFunction · 0.80
ReadChildMethod · 0.80
LoadScriptMethod · 0.80
OpenAircraftMethod · 0.80
LoadAircraftMethod · 0.80
FGJSBsimMethod · 0.80

Calls 9

GetFullPathFunction · 0.85
isNullMethod · 0.80
appendMethod · 0.80
LoadXMLDocumentMethod · 0.80
FindElementMethod · 0.80
AddThrottleMethod · 0.80
FindNextElementMethod · 0.80
sizeMethod · 0.80
LoadMethod · 0.45

Tested by

no test coverage detected