open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | List of all members
iAPercentBasedEstimator Class Reference

Simple estimator: starts the clock as soon as it is created, and estimates remaining time by percentage of completion and elapsed time. More...

Inheritance diagram for iAPercentBasedEstimator:
[legend]
Collaboration diagram for iAPercentBasedEstimator:
[legend]

Public Member Functions

 iAPercentBasedEstimator ()
 
double elapsed () const override
 Get the time that has elapsed since start of the operation. More...
 
double estimatedTimeRemaining (double percent) const override
 Get the estimated, still required time to finish the operation. More...
 
- Public Member Functions inherited from iADurationEstimator
virtual ~iADurationEstimator ()
 

Detailed Description

Simple estimator: starts the clock as soon as it is created, and estimates remaining time by percentage of completion and elapsed time.

Constructor & Destructor Documentation

◆ iAPercentBasedEstimator()

iAPercentBasedEstimator::iAPercentBasedEstimator ( )
inline

Member Function Documentation

◆ elapsed()

double iAPercentBasedEstimator::elapsed ( ) const
inlineoverridevirtual

Get the time that has elapsed since start of the operation.

Returns
elapsed time in seconds

Implements iADurationEstimator.

◆ estimatedTimeRemaining()

double iAPercentBasedEstimator::estimatedTimeRemaining ( double  percent) const
inlineoverridevirtual

Get the estimated, still required time to finish the operation.

Returns
the estimated remaining time in seconds -1 if remaining time still unknown

Implements iADurationEstimator.


The documentation for this class was generated from the following file: