FlowEngine 7.517
Photogrammetry Software Development Kit
Loading...
Searching...
No Matches
ProgressBarInterface.h
Go to the documentation of this file.
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 2022
12 * oO88@@@@@@@@8OCo All Rights Reserved
13 * O@@@@@@@@@@@@@@@@@@@@@@@@@8OCCoooooooCCo
14 * @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@O
15 * @@@Oo oO8@@@@@@@@@@@@@@@@8
16 *
17 */
18
19#ifndef FLOWENGINEPROGRESSBAR_H
20#define FLOWENGINEPROGRESSBAR_H
21
22#pragma once
23
24namespace FlowEngine
25{
32 {
33 public:
34
36 virtual ~ProgressBarInterface() = default;
37
38 public:
39
44 virtual void start( const char *nWindowTitle, bool nShowGlobalProgress, bool nShowCancelButton ) = 0;
45
47 virtual void finish() = 0;
48
53 virtual void resetTicks( unsigned int nTicks, const char *nLoadingText ) = 0;
54
59 virtual void resetGlobalTicks( unsigned int nGlobalTicks, const char *nLoadingText ) = 0;
60
62 virtual void update() = 0;
63
65 virtual void updateGlobal() = 0;
66 };
67}
68
69#endif
Pure virtual Progress Bar interface.
Definition: ProgressBarInterface.h:32
virtual ~ProgressBarInterface()=default
Default virtual destructor.
virtual void updateGlobal()=0
Progress the global progress bar - Add + 1 Tick.
virtual void finish()=0
Hide the loading bar.
virtual void resetGlobalTicks(unsigned int nGlobalTicks, const char *nLoadingText)=0
virtual void resetTicks(unsigned int nTicks, const char *nLoadingText)=0
virtual void update()=0
Progress the loading bar - Add + 1 Tick.
virtual void start(const char *nWindowTitle, bool nShowGlobalProgress, bool nShowCancelButton)=0
Definition: BoundingBoxInterface.cpp:26