ACE
6.3.3
|
Template class implementing a dynamic time policy based on another time policy. More...
#include <Time_Policy_T.h>
Public Member Functions | |
ACE_Time_Policy_T (TIME_POLICY const &time_policy=TIME_POLICY()) | |
virtual | ~ACE_Time_Policy_T () |
ACE_Time_Value_T< ACE_Delegating_Time_Policy > | operator() () const |
Return the current time according to this policy. More... | |
void | set_time_policy (TIME_POLICY const &time_policy) |
void | set_gettimeofday (ACE_Time_Value(*gettimeofday)(void)) |
Noop. Just here to satisfy backwards compatibility demands. More... | |
Public Member Functions inherited from ACE_Dynamic_Time_Policy_Base | |
virtual | ~ACE_Dynamic_Time_Policy_Base () |
ACE_Time_Value_T< ACE_Delegating_Time_Policy > | operator() () const |
Return the current time according to this policy. More... | |
void | set_gettimeofday (ACE_Time_Value(*gettimeofday)(void)) |
Noop. Just here to satisfy backwards compatibility demands. More... | |
Protected Member Functions | |
virtual ACE_Time_Value_T< ACE_Delegating_Time_Policy > | gettimeofday () const |
Return the current time according to policy implementation. More... | |
Private Attributes | |
TIME_POLICY | time_policy_ |
The policy to return the current time of day. More... | |
Template class implementing a dynamic time policy based on another time policy.
|
inline |
|
virtual |
|
protectedvirtual |
Return the current time according to policy implementation.
Implements ACE_Dynamic_Time_Policy_Base.
|
inline |
Return the current time according to this policy.
|
inline |
Noop. Just here to satisfy backwards compatibility demands.
|
inline |
Allows applications to control how the timer queue gets the time of day.
|
private |
The policy to return the current time of day.