trikRuntime
scriptEngineWorker.cpp File Reference
#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>
Include dependency graph for scriptEngineWorker.cpp:

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)
 

Macro Definition Documentation

#define REGISTER_METATYPE_FOR_ENGINE (   TYPE)    Scriptable<TYPE>::registerMetatype(engine);

Function Documentation

static int32_t getMedian ( uint8_t &  a,
uint8_t &  b,
uint8_t &  c,
uint8_t &  d 
)
inlinestatic
QScriptValue getPhoto ( QScriptContext *  context,
QScriptEngine *  engine 
)
QScriptValue print ( QScriptContext *  context,
QScriptEngine *  engine 
)
QScriptValue timeInterval ( QScriptContext *  context,
QScriptEngine *  engine 
)
static void timeValFromScriptValue ( const QScriptValue &  object,
trikKernel::TimeVal out 
)
static
static QScriptValue timeValToScriptValue ( QScriptEngine *  engine,
const trikKernel::TimeVal in 
)
static