ADTF  3.13.0
ADTF JavaScript and QtQuick Filter


ADTF JavaScript Filter

Introduction

This is a Filter wrapping the functionality of QJSEngine from the Qt framework. Providing a simple way to use JavaScript code as filter in a Filter Graph, receiving and sending samples.

Note
The difference to the ADTF QtQuick Filter is that this filter is designed to work headless and synchronously in the trigger pipe. ADTF QtQuick Filter triggers are handled by the GUI Thread, meaning that they are asynchron.

Plugin Information
Plugin Filenameadtf_javascript_filter.adtfplugin
Plugin Descriptionadtf_javascript_filter.plugindescription
Plugin NameJavaScript Filter Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.13.0
Plugin File Version1.0
adtf3.13.0
adtf::ucom3.1.0
Component Information
NameJavaScript Filter
CIDjavascript.filter.adtf.cid
DescriptionUse this filter to program a basic logic using Javascript code. Note: This is only recommended for quick filter algorithms. If you need performance, C++ is still the best solution.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
script_file_namecFilenamePath to used script file.
synchronous_trigger_processingtruetBoolIf enabled triggers will be delayed until they have been processed within the script.
Dynamic Pins
Dynamic Input Pinstrue
Dynamic Output Pinstrue
Dynamic Input Binding Pinstrue
Dynamic Output Binding Pinstrue
Required Interfaces
IID
reference_clock.giant.streaming.adtf.iid

ADTF QtQuick Filter

Introduction

This is a Filter wrapping the functionality of QQmlApplicationEngine from the Qt framework. The QQmlApplicationEngine class provides an environment for writing JavaScript code and instantiating QtQuick components from c++. (For more information how to write QML code see the Qt Documentation)

Note
The difference to the ADTF JavaScript Filter is that this filter is designed for QtQuick GUIs. All events/triggers are handled by the Qt event system, which is running asyncronously in the trigger pipe.

Plugin Information
Plugin Filenameadtf_qtquick_filter.adtfplugin
Plugin Descriptionadtf_qtquick_filter.plugindescription
Plugin NameQtQuick Filter Plugin
LicenseADTF
Support Mailsupport@digitalwerk.net
Homepage URLhttps://support.digitalwerk.net/
Plugin Versions
Plugin Version3.13.0
Plugin File Version1.0
adtf3.13.0
adtf::ucom3.1.0
Component Information
NameQtQuick Filter
CIDqtquick.filter.adtf.cid
DescriptionUse this filter to program a UI logic using Javascript code with QML Support. Note: This is only recommended for quick visualization. If you need performance, C++ is still the best solution.
TypeFilter
Properties
NameValueTypeDescriptionSubproperties
modulescFilepathListAddtional QML modules to add to the QML Engine.
pluginscFilepathListAddtional QML plugins to add to the QML Engine.
script_file_namecFilenamePath to used script file.
titlecStringWindow title which will be used at runtime within ADTF Qt XSystem.
xsystem_windowtruetBoolCreates an ADTF Qt XSystem display to show content.
Input Binding Objects
NameIIDProxy OIDDescription
qtshared_serverqtshared.giant.ui.adtf.iidInterface server to provide a common display for shared print access
Dynamic Pins
Dynamic Input Pinstrue
Dynamic Output Pinstrue
Dynamic Input Binding Pinstrue
Dynamic Output Binding Pinstrue
Required Interfaces
IID
reference_clock.giant.streaming.adtf.iid
qt_xsystem.ant.services.adtf.iid

Help

For more help please have a look at Javascript Filter and QtQuick Filter at our ADTF3 Guides.

Wrapper Classes

The following global javascript Objects are available in your scripts:

For all other available wrapper classes and objects please see adtf::javascript::scripting.


Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Tue Sep 28 2021 by doxygen 1.8.14)