ImFusion SDK 4.3
BackgroundFrameExporter Class Reference

#include <ImFusion/IO/BackgroundFrameExporter.h>

Writes frame data to the disk in a background thread. More...

+ Inheritance diagram for BackgroundFrameExporter:

Detailed Description

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.
 

The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close