ADTF
cScriptRunner

A Runner that is returned by cScriptFilter::createRunner. More...

Inheritance diagram for cScriptRunner:
[legend]

Signals

void trigger (qint64 timestamp)
 Connect to this signal to handle triggers. More...
 

Detailed Description

A Runner that is returned by cScriptFilter::createRunner.

Definition at line 29 of file javascriptfiltersdk/src/runner.h.

Member Function Documentation

◆ trigger

void trigger ( qint64  timestamp)
signal

Connect to this signal to handle triggers.

Example Usage

var runner = filter.createRunner("print_trigger_timestamp")
runner.trigger.connect(function(timestamp)
{
console.info("trigger at " + timestamp)
})
Parameters
timestampThe timestamp of the trigger in nanoseconds.