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

Method PostLoad

src/math/FGModelFunctions.cpp:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
91
92void FGModelFunctions::PostLoad(Element* el, FGFDMExec* fdmex, string prefix)
93{
94 // Load model post-functions, if any
95
96 Element *function = el->FindElement("function");
97 while (function) {
98 if (function->GetAttributeValue("type") == "post") {
99 PostFunctions.push_back(std::make_shared<FGFunction>(fdmex, function, prefix));
100 }
101 function = el->FindNextElement("function");
102 }
103}
104
105//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
106// Tell the Functions to cache values, so when the function values

Callers 1

LoadMethod · 0.80

Calls 3

FindElementMethod · 0.80
GetAttributeValueMethod · 0.80
FindNextElementMethod · 0.80

Tested by

no test coverage detected