ADTFDAT File Recorder Service Control interface to control the ADTFDAT File Recorder.
More...
|
| ADTF_IID (IRecorder, "recorder.bat.services.adtf.iid") |
| Interface ID for the playback service interface.
|
|
virtual tResult | AddMarker (tTimeStamp tmTimeStamp, const char *strName=nullptr, const char *strAdditional=nullptr)=0 |
| Adds a marker to the corrently ongoing recording. More...
|
|
virtual tResult | DropHistory ()=0 |
| Drops all data currently kept in the history buffer. More...
|
|
| 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...
|
|
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.
ucom::object_ptr<IRecorder> pRecorder;
{
if (IS_OK(pRecorder->Start("c:/temp/my_test_file.adtfdat")))
{
}
}
tResult get_recorder(adtf::ucom::ant::object_ptr< RecorderInterface > &pRecorder)
Gets the current registered recorder instance.
- See also
- Streaming Graph, ADTFDAT File Recorder
Definition at line 187 of file recorder_intf.h.