open_iA 2024.9
Loading...
Searching...
No Matches
iADurationEstimator Class Referenceabstract

Interface for operations providing elapsed time and estimated remaining duration. More...

#include <iADurationEstimator.h>

Inheritance diagram for iADurationEstimator:
[legend]

Public Member Functions

virtual ~iADurationEstimator ()
 
virtual double elapsed () const =0
 Get the time that has elapsed since start of the operation.
 
virtual double estimatedTimeRemaining (double percent) const =0
 Get the estimated, still required time to finish the operation.
 

Detailed Description

Interface for operations providing elapsed time and estimated remaining duration.

Constructor & Destructor Documentation

◆ ~iADurationEstimator()

iADurationEstimator::~iADurationEstimator ( )
virtual

Member Function Documentation

◆ elapsed()

virtual double iADurationEstimator::elapsed ( ) const
pure virtual

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

Returns
elapsed time in seconds

Implemented in iAPercentBasedEstimator.

◆ estimatedTimeRemaining()

virtual double iADurationEstimator::estimatedTimeRemaining ( double percent) const
pure virtual

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

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

Implemented in iAPercentBasedEstimator.


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