trikRuntime
|
#include "scriptEngineWorker.h"
#include <QtCore/QFile>
#include <QtCore/QVector>
#include <QtCore/QTextStream>
#include <QtCore/QMetaMethod>
#include <QtCore/QStringBuilder>
#include <trikKernel/fileUtils.h>
#include <trikKernel/paths.h>
#include "trikScriptRunnerInterface.h"
#include "scriptable.h"
#include "utils.h"
#include <QFileInfo>
#include <QsLog.h>
Macros | |
#define | REGISTER_METATYPE_FOR_ENGINE(TYPE) Scriptable<TYPE>::registerMetatype(engine); |
Functions | |
QScriptValue | print (QScriptContext *context, QScriptEngine *engine) |
QScriptValue | timeInterval (QScriptContext *context, QScriptEngine *engine) |
static int32_t | getMedian (uint8_t &a, uint8_t &b, uint8_t &c, uint8_t &d) |
QScriptValue | getPhoto (QScriptContext *context, QScriptEngine *engine) |
static QScriptValue | timeValToScriptValue (QScriptEngine *engine, const trikKernel::TimeVal &in) |
static void | timeValFromScriptValue (const QScriptValue &object, trikKernel::TimeVal &out) |
#define REGISTER_METATYPE_FOR_ENGINE | ( | TYPE | ) | Scriptable<TYPE>::registerMetatype(engine); |
|
inlinestatic |
QScriptValue getPhoto | ( | QScriptContext * | context, |
QScriptEngine * | engine | ||
) |
QScriptValue print | ( | QScriptContext * | context, |
QScriptEngine * | engine | ||
) |
QScriptValue timeInterval | ( | QScriptContext * | context, |
QScriptEngine * | engine | ||
) |
|
static |
|
static |