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