|
ADTF Qt5
|
#include <filter.h>
Inherits QObject.
Signals | |
| void | connected () |
| void | propertiesChanged () |
| void | propertyChanged (const QString &strName, const QVariant &oValue) |
Public Member Functions | |
| Q_INVOKABLE QObject * | createInputPin (const QString &strName, bool bForwardTriggerViaOutputPins=true) |
| Q_INVOKABLE QObject * | createOutputPin (const QString &strName, const QJSValue &oStreamType=QJSValue()) |
| Q_INVOKABLE QObject * | createRunner (const QString &strName, bool bForwardTriggerViaOutputPins=true) |
| Q_INVOKABLE QObject * | createInterfaceClient (const QString &strName, const QString &strInterface) |
| Q_INVOKABLE void | linkTrigger (const QString &strSource, const QString &strDestination) |
| Q_INVOKABLE QVariant | getProperty (const QString &strName) |
| Q_INVOKABLE void | setProperty (const QString &strName, const QVariant &oValue, const QString &strType="") |
| void | enablePropertyValueOverride () |
Properties | |
| QQmlPropertyMap * | properties |
Provides the global 'filter' object within scripts.
|
signal |
Emited after all Pins have been connected.
| Q_INVOKABLE QObject * adtf::javascript::scripting::cScriptFilter::createInputPin | ( | const QString & | strName, |
| bool | bForwardTriggerViaOutputPins = true ) |
Creates a new Input Pin.
| [in] | strName | The name of the Pin. |
| [in] | bForwardTriggerViaOutputPins | If true, triggers will be forwarded via all output pins after all callbacks have been called. |
| Q_INVOKABLE QObject * adtf::javascript::scripting::cScriptFilter::createInterfaceClient | ( | const QString & | strName, |
| const QString & | strInterface ) |
Create a new interface client.
| [in] | strName | The name of the Interface Binding Pin. |
| [in] | strInterface | The type of the interface. Currently supported are:
|
| Q_INVOKABLE QObject * adtf::javascript::scripting::cScriptFilter::createOutputPin | ( | const QString & | strName, |
| const QJSValue & | oStreamType = QJSValue() ) |
Creates a new Output Pin.
| [in] | strName | The name of the Pin. |
| [in] | oStreamType | The stream type. See adtf::javascript::scripting::cScriptTypes. |
| Q_INVOKABLE QObject * adtf::javascript::scripting::cScriptFilter::createRunner | ( | const QString & | strName, |
| bool | bForwardTriggerViaOutputPins = true ) |
Creates a new Runner.
| [in] | strName | The name of the Runner. |
| [in] | bForwardTriggerViaOutputPins | If true, triggers will be forwarded via all output pins after all callbacks have been called. |
| void adtf::javascript::scripting::cScriptFilter::enablePropertyValueOverride | ( | ) |
Enables overriding property values from scripts.
| Q_INVOKABLE QVariant adtf::javascript::scripting::cScriptFilter::getProperty | ( | const QString & | strName | ) |
| Q_INVOKABLE void adtf::javascript::scripting::cScriptFilter::linkTrigger | ( | const QString & | strSource, |
| const QString & | strDestination ) |
Creates an internal Trigger Pipe between two Runners
| [in] | strSource | The name of the first Runner. |
| [in] | strDestination | The name of the second Runner. |
|
signal |
Emited if the properties changed.
|
signal |
| Q_INVOKABLE void adtf::javascript::scripting::cScriptFilter::setProperty | ( | const QString & | strName, |
| const QVariant & | oValue, | ||
| const QString & | strType = "" ) |
| [in] | strName | The name of the property. |
| [in] | oValue | The value of the property. |
| [in] | strType | Of the property. |
|
read |