|
xmscore
1.0
|
Implementation of the observer class. More...
Public Member Functions | |
| void | BeginOperationString () |
| Starts the timer to know the elapsed time for the operation and to estimate the time remaining. | |
| void | EndOperation () |
| Stops the timer. | |
| double | ElapsedTimeInSeconds () |
| Returns the elapsed time for the operation being observed. More... | |
| double | EstimatedTimeRemainingInSec (double a_percentComplete, double a_elapsedTime) |
| Returns the elapsed time for the operation being observed. More... | |
Public Attributes | |
| boost::timer::cpu_timer | m_timer |
| timer to get elapsed time | |
| double | m_percentComplete |
| percent complete | |
Implementation of the observer class.
Definition at line 42 of file Observer.cpp.
| double xms::Observer::impl::ElapsedTimeInSeconds | ( | ) |
Returns the elapsed time for the operation being observed.
Definition at line 182 of file Observer.cpp.
References m_timer.
| double xms::Observer::impl::EstimatedTimeRemainingInSec | ( | double | a_percentComplete, |
| double | a_elapsedTime | ||
| ) |
Returns the elapsed time for the operation being observed.
| a_percentComplete | The percent complete between 0.0 and 1.0. |
| a_elapsedTime | ??? |
Definition at line 196 of file Observer.cpp.