WriteToFile¶
-
virtual void IAcqSink::WriteToFile(EAcqFileFormat format, const std::string &filename) = 0¶
Writes all samples to a file of the specified format.
- Parameters
format – One of the EAcqFileFormat values.
filename – Name of file in which samples are stored.
- Throws
CInvalidArgumentException
– Unknown file format specified.CInvalidOperationException
– Complete callback not yet received.CAccessDeniedException
– Unable to open file for writing.CWriteErrorException
– Error while writing file.
- Remarks
This method may only be called after the complete callback is received.