Developer Documentation
|
Go to the source code of this file.
Namespaces | |
namespace | RPC |
Functions | |
Call functions across plugins (simple calls) | |
These functions can be used to call functions in other plugins. | |
void | RPC::callFunctionQVariant (const QString &_plugin, const QString &_functionName, const std::vector< QVariant > &_parameters, QGenericReturnArgument _returnArg=QGenericReturnArgument()) |
Call a function provided by a plugin getting multiple parameters as a vector of qvariants. More... | |
Call functions across plugins | |
These templates can be used to call functions in other plugins. | |
void | RPC::callFunction (QString _plugin, QString _functionName) |
call a function in another plugin More... | |
template<class... Ts> | |
void | RPC::callFunction (QString _plugin, QString _functionName, Ts const &... args) |
call a function in another plugin More... | |
Call functions across plugins which return a value | |
These templates can be used to call functions that return a value. You have to pass the type of return value as the first template parameter. | |
template<typename ReturnValue > | |
ReturnValue | RPC::callFunctionValue (QString _plugin, QString _functionName) |
call a function in another plugin and get a return parameter More... | |
template<typename ReturnValue , class... Ts> | |
ReturnValue | RPC::callFunctionValue (QString _plugin, QString _functionName, Ts const &... args) |
call a function in another plugin and get a return parameter More... | |
This file contains functions to call functions and procedures across plugins. The QT Scripting system is used to pass the calls between different plugins.
Usage is described in RPC Interface
Definition in file RPCWrappers.hh.