FlowEngine 7.530
Photogrammetry Software Development Kit
|
Pure virtual Progress Bar interface. More...
#include <ProgressBarInterface.h>
Public Member Functions | |
virtual | ~ProgressBarInterface ()=default |
Default virtual destructor. | |
virtual void | start (const char *nWindowTitle, bool nShowGlobalProgress, bool nShowCancelButton)=0 |
virtual void | finish ()=0 |
Hide the loading bar. | |
virtual void | resetTicks (unsigned int nTicks, const char *nLoadingText)=0 |
virtual void | resetGlobalTicks (unsigned int nGlobalTicks, const char *nLoadingText)=0 |
virtual void | update ()=0 |
Progress the loading bar - Add + 1 Tick. | |
virtual void | updateGlobal ()=0 |
Progress the global progress bar - Add + 1 Tick. | |
Pure virtual Progress Bar interface.
Pure virtual progress bar interface. Override for your own gui.
|
virtualdefault |
Default virtual destructor.
|
pure virtual |
Hide the loading bar.
Implemented in FlowEngine::ProgressBarEmpty.
|
pure virtual |
Set global progress bar ticks (if any) and reset the counter to 0
nGlobalTicks | the number of steps to take in order for the main task to finish. when set to 0, the main task has an indefinite number of steps |
nLoadingText | pointer to a null terminated string that names the current main task phase |
Implemented in FlowEngine::ProgressBarEmpty.
|
pure virtual |
Set progress bar ticks and reset the counter to 0
nTicks | the number of steps to take in order for the task to finish. when set to 0, the task has an indefinite number of steps |
nLoadingText | pointer to a null terminated string that names the current task phase |
Implemented in FlowEngine::ProgressBarEmpty.
|
pure virtual |
Show the progress bar
nWindowTitle | a pointer to a null terminated string that names the main task |
nShowGlobalProgress | when true, the progress is split in main and secondary tasks |
nShowCancelButton | when true, the running task is cancellable |
Implemented in FlowEngine::ProgressBarEmpty.
|
pure virtual |
Progress the loading bar - Add + 1 Tick.
Implemented in FlowEngine::ProgressBarEmpty.
|
pure virtual |
Progress the global progress bar - Add + 1 Tick.
Implemented in FlowEngine::ProgressBarEmpty.