classPiiProgressController
#include <PiiProgressController.h>
An interface for objects that control the functioning of operations that take a long time.
Inherited by PiiClassifierOperation, PiiHttpProtocol::TimeLimiter, PiiNetworkServerThread, PiiRemoteObjectClient
Description
Constructors and destructor
|
virtual
|
Public member functions
|
virtual bool
|
(
Check if the slow operation is still allowed to continue. |
Function details
-
virtual ~PiiProgressController
()[virtual] -
virtual bool canContinue
(- double progressPercentage = NAN
[pure virtual]Check if the slow operation is still allowed to continue.
The implementation should return
trueif the operation is still allowed to run andfalseotherwise.Parameters
- progressPercentage
-
an estimate of the current state of progress as a percentage (0.0 - 1.0). If the value is
NaN, the current state of progress is not known to the caller.
Add a note
Not a single note added yet. Be the first, add yours.