iVS3D v2.0.0
Loading...
Searching...
No Matches
ExportExecutor Class Reference

The ExportExecutor class manages the export and its progress. It encapsules the export process and provides signals and slots to interact with it while running the export in a separate worker thread. Following interactions are possible: More...

#include <exportexecutor.h>

Inheritance diagram for ExportExecutor:
Progressable

Public Slots

void slot_abort ()
 [slot] slot_abort stops the export.
 
void slot_finished ()
 [slot] slot_finished is invoked from the export thread on finish.
 
- Public Slots inherited from Progressable
void slot_makeProgress (int progress, QString currentOperation)
 [slot] slot_makeProgress used to delegate the progression to an attached view
 
void slot_displayMessage (QString message)
 [slot] slot_displayMessage used to delegate a message to an attached view
 

Signals

void sig_exportStarted ()
 [signal] sig_exportStarted is emitted after an export started.
 
void sig_exportAborted ()
 [signal] sig_exportAborted is emitted after an export was aborted.
 
void sig_exportFinished (ExportResult result)
 [signal] sig_exportFinished is emitted after an export finished.
 
- Signals inherited from Progressable
void sig_progress (int progress, QString currentOp)
 [signal] sig_progress is emitted if a thread makes a progress and wants to report it.
 
void sig_message (QString message)
 [signal] sig_message is emitted if a thread wants to display a message.
 

Public Member Functions

 ExportExecutor (QObject *parent, DataManager *dataManager)
 ExportExecutor creates an executor operating on the data provided by given DataManager.
 
void startExport (const ExportConfig &config, LogFile *logFile)
 startExport starts a new Export with the currently selected keyframes in ModelInputPictures provided by the DataManager.
 

Detailed Description

The ExportExecutor class manages the export and its progress. It encapsules the export process and provides signals and slots to interact with it while running the export in a separate worker thread. Following interactions are possible:

Date
2021/04/14
Author
Dominik Wüst

Constructor & Destructor Documentation

◆ ExportExecutor()

ExportExecutor::ExportExecutor ( QObject *  parent,
DataManager dataManager 
)
explicit

ExportExecutor creates an executor operating on the data provided by given DataManager.

Parameters
parentThe parent for the QObject
dataManagerThe DataManager to access images for export

Member Function Documentation

◆ sig_exportFinished

void ExportExecutor::sig_exportFinished ( ExportResult  result)
signal

[signal] sig_exportFinished is emitted after an export finished.

Parameters
resultIs 0 if export finished without problems, greater 0 otherwise

◆ startExport()

void ExportExecutor::startExport ( const ExportConfig config,
LogFile logFile 
)

startExport starts a new Export with the currently selected keyframes in ModelInputPictures provided by the DataManager.

Parameters
pathThe output folder path
nameThe output name
iTransformCopiesThe ITransform instances to create additional export images

The documentation for this class was generated from the following files: