|
Q_INVOKABLE void | start (const QString &strFileName="") |
| Starts a new recording. More...
|
|
Q_INVOKABLE void | split (const QString &strFileName="") |
| Stops an ongoing recording and starts a new one. More...
|
|
Q_INVOKABLE void | stop (const QString &strFileName="") |
| Stops an ongoing recording. More...
|
|
Q_INVOKABLE void | addMarker (double fTimeStamp, const QString &strName="", const QString &strAdditional="") |
| Adds a marker to the corrently ongoing recording. More...
|
|
Q_INVOKABLE void | dropHistory () |
| Drops all data currently kept in the history buffer. More...
|
|
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"
}
})
Definition at line 38 of file interface_clients.h.