FlowEngine 7.517
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
FlowEngine::ProgressBarEmpty Struct Reference

Simple/Empty progress bar class. More...

#include <Utilities.h>

Inheritance diagram for FlowEngine::ProgressBarEmpty:
FlowEngine::ProgressBarInterface

Public Member Functions

void start (const char *nWindowTitle, bool nShowGlobalProgress, bool nShowCancelButton)
 Show the progress bar.
 
void finish ()
 Hide the loading bar.
 
void resetTicks (unsigned int nTicks, const char *nLoadingText)
 Set progress bar ticks and reset the counter to 0.
 
void resetGlobalTicks (unsigned int nGlobalTicks, const char *nLoadingText)
 Set global progress bar ticks (if any) and reset the counter to 0.
 
void update ()
 Progress the loading bar - Add + 1 Tick.
 
void updateGlobal ()
 Progress the global progress bar - Add + 1 Tick.
 
- Public Member Functions inherited from FlowEngine::ProgressBarInterface
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.
 

Detailed Description

Simple/Empty progress bar class.

Member Function Documentation

◆ finish()

void FlowEngine::ProgressBarEmpty::finish ( )
inlinevirtual

Hide the loading bar.

Implements FlowEngine::ProgressBarInterface.

◆ resetGlobalTicks()

void FlowEngine::ProgressBarEmpty::resetGlobalTicks ( unsigned int  nGlobalTicks,
const char *  nLoadingText 
)
inlinevirtual

Set global progress bar ticks (if any) and reset the counter to 0.

Implements FlowEngine::ProgressBarInterface.

◆ resetTicks()

void FlowEngine::ProgressBarEmpty::resetTicks ( unsigned int  nTicks,
const char *  nLoadingText 
)
inlinevirtual

Set progress bar ticks and reset the counter to 0.

Implements FlowEngine::ProgressBarInterface.

◆ start()

void FlowEngine::ProgressBarEmpty::start ( const char *  nWindowTitle,
bool  nShowGlobalProgress,
bool  nShowCancelButton 
)
inlinevirtual

Show the progress bar.

Implements FlowEngine::ProgressBarInterface.

◆ update()

void FlowEngine::ProgressBarEmpty::update ( )
inlinevirtual

Progress the loading bar - Add + 1 Tick.

Implements FlowEngine::ProgressBarInterface.

◆ updateGlobal()

void FlowEngine::ProgressBarEmpty::updateGlobal ( )
inlinevirtual

Progress the global progress bar - Add + 1 Tick.

Implements FlowEngine::ProgressBarInterface.