#include <Countdown_Time_T.h>
◆ ACE_Countdown_Time_T()
Cache the max_wait_time and call start()
.
◆ ~ACE_Countdown_Time_T()
Destructor, makes sure the max_wait_time that got passed as pointer to the constructor is updated with the time elapsed.
◆ set_time_policy()
Allows applications to control how the timer queue gets the time of day.
◆ start()
Cache the current time and enter a start state.
◆ stop()
Subtract the elapsed time from max_wait_time_ and enter a stopped state.
◆ stopped()
Returns true if we've already been stopped, else false.
◆ update()
Calls stop and then start. max_wait_time_ is modified by the call to stop.
◆ max_wait_time_
Maximum time we are monitoring.
◆ max_wait_value_
Copy of the maximum time value, used to avoid nested decrements.
◆ start_time_
Beginning of the start time.
◆ stopped_
Keeps track of whether we've already been stopped.
◆ time_policy_
The policy to return the current time of day.
The documentation for this class was generated from the following files: