Provides a means to create just one engine pool per thread.
More...
#include <Workspace/DataExecution/Operations/Builtin/qtscriptenginepool.h>
The QtScriptEnginePool is used to initialise script engines, making sure that only one is initialised per thread (and one for the GUI thread). Any class wishing to do anything with scripts should instantiate its engine from here.
◆ getEngine()
QScriptEngine & getEngine |
( |
Updater * |
updater | ) |
|
|
static |
◆ initialise()
Call this in the main thread to initialize the mutex.