![]() |
ImFusion SDK 4.3
|
#include <ImFusion/IO/BackgroundFrameExporter.h>
Writes frame data to the disk in a background thread. More...
Inheritance diagram for BackgroundFrameExporter:Writes frame data to the disk in a background thread.
Uses the ImFusionImage async interface.
Public Member Functions | |
| void | initializeFile (SharedImageSet *container, const std::string &path, bool ffv1Compression) |
Start a new file for live recording. Requires at least one image in container, but does not save it. Blocking. | |
| void | addFrame (MemImage *img) |
| Adds a frame to be saved to the queue. Non-blocking. | |
| void | finalizeFile () |
| Finalizes a file recording. Waits for all frames to be saved. Blocking. | |
| bool | isInitialized () const |
| Returns true if frames can be added. | |
Public Attributes | |
| ProtectedSignal< int > | imageSaved |
| Signal emitted when an image is recorded, with the index of the saved image. | |