19 #include <QScopedPointer> 43 void registerUserFunction(
const QString &name, QScriptEngine::FunctionSignature
function)
override;
44 void addCustomEngineInitStep(
const std::function<
void (QScriptEngine *)> &step)
override;
45 bool wasError()
override;
51 QStringList knownMethodNames()
const override;
53 void run(
const QString &
script,
ScriptType stype,
const QString &fileName =
"");
57 void run(
const QString &script,
const QString &fileName =
"")
override;
59 void runDirectCommand(
const QString &command)
override;
61 void abort()
override;
65 void brickBeep()
override;
#define TRIKSCRIPTRUNNER_EXPORT
Definition: trikScriptRunnerInterface.h:28
Definition: trikCommunicator.h:23
General wrapper for other executors (such as Python, JavaScript)
Definition: trikScriptRunner.h:27
Interface for all script executors.
Definition: trikScriptRunnerInterface.h:100
ScriptType
Definition: trikScriptRunnerInterface.h:87
static constexpr std::underlying_type< ScriptType >::type to_underlying(ScriptType t) noexcept
Definition: trikScriptRunnerInterface.h:94
Allows communication between robots.
Definition: mailboxInterface.h:31
script
Definition: system.py:83
Interface representing TRIK controller board and devices installed on it, also provides access to per...
Definition: brickInterface.h:46