add Timer::GetDelayLeft
This commit is contained in:
1 parent
5d04ece965
commit
b8ddfa1f53
2 files changed
+25
-1
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user