ADTF
3.14.2
|
ADTFDAT File Recorder Service Control interface to control the ADTFDAT File Recorder. More...
Public Types | |
enum | tState : uint32_t { Closed = 0 , Idle = 1 , Queueing = 2 , Recording = 3 } |
Public Member Functions | |
ADTF_IID (IRecorder, "recorder.ant.services.adtf.iid") | |
Interface ID for the playback service interface. | |
virtual tResult | Start (const char *strFileName)=0 |
Starts a new recording. More... | |
virtual tResult | Stop (const char *strFileName)=0 |
Stops an ongoing recording. More... | |
virtual tResult | Split (const char *strFileName)=0 |
Stops an ongoing recording and starts a new one. More... | |
virtual tResult | GetTimeRange (tTimeStamp &tmFirstItem, tTimeStamp &tmLastItem) const =0 |
Information interface to get the time range of the current opened files. More... | |
virtual tResult | GetCurrentFileName (adtf::base::ant::IString &&strFileName) const =0 |
Information interface to get the name of the currently opened file. More... | |
virtual IRecorder::tState | GetCurrentState () const =0 |
Information interface to get the current state of the Recorder. More... | |
![]() | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Additional Inherited Members | |
![]() | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
ADTFDAT File Recorder Service Control interface to control the ADTFDAT File Recorder.
This interface enables you to control an instance of ADTFDAT File Recorder Streaming Sink.
Definition at line 47 of file recorder_intf.h.
enum tState : uint32_t |
Enumerator | |
---|---|
Closed | not initialized. |
Idle | waiting for a trigger to start recording. |
Queueing | waiting for trigger, items are kept in history buffer. |
Recording | recording. |
Definition at line 54 of file recorder_intf.h.
|
pure virtual |
Information interface to get the name of the currently opened file.
strFileName | [out] String where to return the filenames to. (comma separated list) |
ERR_NOERROR | State change succeded |
|
pure virtual |
Information interface to get the current state of the Recorder.
�the | State of the player |
|
pure virtual |
Information interface to get the time range of the current opened files.
tmFirstItem | outTime of the first item |
tmLastItem | outTime of the last item |
ERR_NOERROR | File is at least opend and information where read. |
|
pure virtual |
Stops an ongoing recording and starts a new one.
[in] | strFileName | The name of the newly recorded file. Can be empty, to use a default. |
|
pure virtual |
Starts a new recording.
[in] | strFileName | The name of the recorded file. Can be empty, to use a default. |
|
pure virtual |
Stops an ongoing recording.
[in] | strFileName | A new name for the recorded file. The recorded file will be moved to this. Can be empty. |