ADTF Qt5
Loading...
Searching...
No Matches
adtf::javascript::scripting::cScriptRecorderClient Class Reference

#include <interface_clients.h>

Inherits QObject.

Detailed Description

Interface client for adtf::streaming::ant::IRecorder.

Example Usage

var recorder = filter.createInterfaceClient("recorder_control", "recorder")
var input = filter.createInputPin("input")
input.sample.connect(function(sample)
{
if (sample.data.value > 10)
{
recorder.start()
}
})
filter.connected.connect(function()
{
if (!recorder.connected)
{
throw "This script requires a connected recorder"
}
})

The documentation for this class was generated from the following file: