ACE
6.3.1
|
Implement a time policy that delegates to a dynamic time policy. More...
#include <Time_Policy.h>
Public Member Functions | |
ACE_Delegating_Time_Policy (ACE_Dynamic_Time_Policy_Base const *delegate=0) | |
ACE_Time_Value_T < ACE_Delegating_Time_Policy > | operator() () const |
Return the current time according to this policy. More... | |
void | set_delegate (ACE_Dynamic_Time_Policy_Base const *delegate) |
Set delegate. More... | |
ACE_Delegating_Time_Policy & | operator= (ACE_Delegating_Time_Policy const &pol) |
Copy policy. More... | |
void | set_gettimeofday (ACE_Time_Value(*gettimeofday)(void)) |
Noop. Just here to satisfy backwards compatibility demands. More... | |
Private Attributes | |
ACE_Dynamic_Time_Policy_Base const * | delegate_ |
Implement a time policy that delegates to a dynamic time policy.
ACE_Delegating_Time_Policy::ACE_Delegating_Time_Policy | ( | ACE_Dynamic_Time_Policy_Base const * | delegate = 0 | ) |
|
inline |
Return the current time according to this policy.
|
inline |
Copy policy.
|
inline |
Set delegate.
|
inline |
Noop. Just here to satisfy backwards compatibility demands.
|
private |