iVS3D v2.0.0
Loading...
Searching...
No Matches
Progressable Interface Reference

The Progressable interface is used to by multithreaded actions such as sampling or exporting to report their progress. More...

#include <progressable.h>

Inheritance diagram for Progressable:
AlgorithmExecutor ExportExecutor

Public Slots

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_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.
 

Detailed Description

The Progressable interface is used to by multithreaded actions such as sampling or exporting to report their progress.

Author
Patrick Binder
Date
2021/02/05

Member Function Documentation

◆ sig_message

void Progressable::sig_message ( QString  message)
signal

[signal] sig_message is emitted if a thread wants to display a message.

Parameters
messageThe message in form of a QString

◆ sig_progress

void Progressable::sig_progress ( int  progress,
QString  currentOp 
)
signal

[signal] sig_progress is emitted if a thread makes a progress and wants to report it.

Parameters
progressThe progress in range [0,100]
currentOpThe curtrently performed operation

◆ slot_displayMessage

void Progressable::slot_displayMessage ( QString  message)
slot

[slot] slot_displayMessage used to delegate a message to an attached view

Parameters
messagewhich should be displayed in the view

◆ slot_makeProgress

void Progressable::slot_makeProgress ( int  progress,
QString  currentOperation 
)
slot

[slot] slot_makeProgress used to delegate the progression to an attached view

Parameters
progress[0..100] percentage of total progress
currentOperationoperation that is currently executed

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