add Timer::GetDelayLeft

This commit is contained in:
Mathieu Lacage committed 2007-10-04 09:22:05 +02:00
1 parent 5d04ece965
commit b8ddfa1f53
2 files changed
+25 -1

No files matched your search

+6
View File
@@ -177,6 +177,12 @@ public:
* \returns the currently-configured delay for the next Schedule.
*/
Time GetDelay (void) const;
/**
* \returns the amount of time left until this timer expires.
*
* This method returns zero if the timer is in EXPIRED state.
*/
Time GetDelayLeft (void) const;
/**
* Cancel the currently-running event if there is one. Do nothing
* otherwise.