MCPcopy Create free account
hub / github.com/FlightGear/flightgear / LoadModel

Method LoadModel

src/FDM/JSBSim/FGFDMExec.cpp:671–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
670
671bool FGFDMExec::LoadModel(const SGPath& AircraftPath, const SGPath& EnginePath,
672 const SGPath& SystemsPath, const string& model,
673 bool addModelToPath)
674{
675 FGFDMExec::AircraftPath = GetFullPath(AircraftPath);
676 FGFDMExec::EnginePath = GetFullPath(EnginePath);
677 FGFDMExec::SystemsPath = GetFullPath(SystemsPath);
678
679 return LoadModel(model, addModelToPath);
680}
681
682//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
683

Callers 4

real_mainFunction · 0.80
ReadChildMethod · 0.80
FGJSBsimMethod · 0.80
LoadScriptMethod · 0.80

Calls 11

LoadXMLDocumentMethod · 0.80
FindElementMethod · 0.80
InitializeICMethod · 0.80
ReadFromMethod · 0.80
GetNumEnginesMethod · 0.80
AddThrottleMethod · 0.80
FindNextElementMethod · 0.80
appendMethod · 0.45
LoadMethod · 0.45
sizeMethod · 0.45
GetNodeMethod · 0.45

Tested by

no test coverage detected