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