MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / exec_fct

Method exec_fct

pySPlisHSPlasH/Embedded.cpp:212–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210}
211
212void Embedded::exec_fct(const std::string &moduleName, const std::string& fctName)
213{
214 try
215 {
216 m_mainScope[moduleName.c_str()].attr(fctName.c_str())();
217 }
218 catch (py::error_already_set const& pythonErr) { std::cout << pythonErr.what(); }
219}
220
221#include "Simulator/SimulatorBase.h"
222

Callers 3

addFunctionParametersMethod · 0.80
execResetFctMethod · 0.80
execStepFctMethod · 0.80

Calls 3

attrMethod · 0.80
c_strMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected