FlowSDK  3.701
Structure from motion and Multiview stereo Interfaces
ProgressBar.h
1 /*
2  *
3  * C@@o ____ _____ __ _
4  * oC8@@@@@@@o |___ \| __ \ / _| |
5  * o@@@@@@@@@@@@O __) | | | | |_| | _____ __
6  * O@O 8@@@@@@@@@O |__ <| | | | _| |/ _ \ \ /\ / /
7  * o@@@@@@@O OOOOOCo ___) | |__| | | | | (_) \ V V /
8  * C@@@@@@@@@@@@Oo |____/|_____/|_| |_|\___/ \_/\_/
9  * o8@@@@@@@@@@@@@@@@8OOCCCC
10  * oO@@@@@@@@@@@@@@@@@@@o 3Dflow s.r.l. - www.3dflow.net
11  * oO8@@@@@@@@@@@@o Copyright 2012
12  * oO88@@@@@@@@8OCo All Rights Reserved
13  * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14  * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15  * @@@Oo oO8@@@@@@@@@@@@@@@@8
16  *
17  */
18 
19 #ifndef PROGRESSBAR_H
20 #define PROGRESSBAR_H
21 
22 namespace FlowCore
23 {
30  {
31  public:
32 
34  virtual void start( const char *nWindowTitle, bool nShowGlobalProgress = false, bool nShowCancelButton = true ) = 0;
35 
37  virtual void finish() = 0;
38 
40  virtual void resetTicks( unsigned int nTicks, const char *nLoadingText = "" ) = 0;
41 
43  virtual void resetGlobalTicks( unsigned int nGlobalTicks, const char *nLoadingText = "" ) = 0;
44 
46  virtual void update( const char *nLoadingName ) = 0;
47 
49  virtual void updateGlobal( const char *nLoadingName ) = 0;
50  };
51 }
52 
53 #endif
virtual void resetGlobalTicks(unsigned int nGlobalTicks, const char *nLoadingText="")=0
Set global progress bar ticks (if any) and reset the counter to 0.
virtual void finish()=0
Hide the loading bar.
virtual void updateGlobal(const char *nLoadingName)=0
Progress the global progress bar - Add + 1 Tick.
Definition: LogListener.h:22
virtual void update(const char *nLoadingName)=0
Progress the loading bar - Add + 1 Tick.
Pure virtual Progress Bar interface.
Definition: ProgressBar.h:29
virtual void resetTicks(unsigned int nTicks, const char *nLoadingText="")=0
Set progress bar ticks and reset the counter to 0.
virtual void start(const char *nWindowTitle, bool nShowGlobalProgress=false, bool nShowCancelButton=true)=0
Show the progress bar.