RPCWrappers.hh File Reference

#include <QtScript>
#include <vector>
#include <OpenFlipper/common/Types.hh>
Include dependency graph for RPCWrappers.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  RPC

Functions

QScriptEngine * RPC::getScriptEngine ()
 get a pointer to the scripting engine
QScriptValue RPC::callFunction (QString _plugin, QString _functionName)
 call a function provided by a plugin
QScriptValue RPC::callFunction (QString _plugin, QString _functionName, std::vector< QScriptValue > _parameters)
 call a function provided by a plugin getting multiple parameters
template<typename T0 >
void RPC::callFunction (QString _plugin, QString _functionName, T0 _t0)
template<typename T0 , typename T1 >
void RPC::callFunction (QString _plugin, QString _functionName, T0 _t0, T1 _t1)
template<typename T0 , typename T1 , typename T2 >
void RPC::callFunction (QString _plugin, QString _functionName, T0 _t0, T1 _t1, T2 _t2)
template<typename T0 , typename T1 , typename T2 , typename T3 >
void RPC::callFunction (QString _plugin, QString _functionName, T0 _t0, T1 _t1, T2 _t2, T3 _t3)
template<typename ReturnValue >
ReturnValue RPC::callFunctionValue (QString _plugin, QString _functionName)
template<typename ReturnValue , typename T0 >
ReturnValue RPC::callFunctionValue (QString _plugin, QString _functionName, T0 _t0)
template<typename ReturnValue , typename T0 , typename T1 >
ReturnValue RPC::callFunctionValue (QString _plugin, QString _functionName, T0 _t0, T1 _t1)
template<typename ReturnValue , typename T0 , typename T1 , typename T2 >
ReturnValue RPC::callFunctionValue (QString _plugin, QString _functionName, T0 _t0, T1 _t1, T2 _t2)
template<typename ReturnValue , typename T0 , typename T1 , typename T2 , typename T3 >
ReturnValue RPC::callFunctionValue (QString _plugin, QString _functionName, T0 _t0, T1 _t1, T2 _t2, T3 _t3)
void RPC::setScriptEngine (QScriptEngine *_engine)
 DONT USE! (Function to set the internal reference to the script Engine).

Detailed Description

This file contains functions to call functions and procedures across plugins. The Qt Scripting system is used to pass the calls between different plugins.

Definition in file RPCWrappers.hh.


acg pic Project OpenFlipper, ©  Computer Graphics Group, RWTH Aachen. Documentation generated using doxygen .