diff options
| author | milla <marc.illa@dolby.com> | 2021-05-26 13:32:55 +0200 |
|---|---|---|
| committer | milla <marc.illa@dolby.com> | 2021-06-03 13:50:11 +0200 |
| commit | facf4f4c7a8ed65d59baed9020d5fa061b952874 (patch) | |
| tree | 8c718f4b7690db47315ebf70b6443f3fba540cf7 /src/AS_02_IAB.h | |
| parent | 7a085ad0d445ffc63ec42a2faa69a82138931575 (diff) | |
FileReader pluggable at runtime
Diffstat (limited to 'src/AS_02_IAB.h')
| -rw-r--r-- | src/AS_02_IAB.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/AS_02_IAB.h b/src/AS_02_IAB.h index 57fb77e..9027ea2 100644 --- a/src/AS_02_IAB.h +++ b/src/AS_02_IAB.h @@ -148,6 +148,8 @@ namespace AS_02 { i64_t m_CurrentFrameIndex; std::vector<ui8_t> m_CurrentFrameBuffer; ReaderState_t m_State; + + const Kumu::IFileReaderFactory& m_FileReaderFactory; void Reset(); @@ -161,7 +163,16 @@ namespace AS_02 { /* methods */ - MXFReader(); + /** + * Construct MXF Reader + * . + * @param fileReaderFactory Abstract interface that allows + * to override asdcplib's file read access by a user implementation. + * Notice that the factory object reference needs to remain valid + * when performing OpenRead operation. + */ + MXFReader(const Kumu::IFileReaderFactory& fileReaderFactory); + virtual ~MXFReader(); /** |
