ACE
6.1.0
|
Implement the system time policy for ACE. More...
#include <Time_Policy.h>
Public Member Functions | |
ACE_Time_Value | operator() () const |
Return the current time according to this policy. | |
void | set_gettimeofday (ACE_Time_Value(*gettimeofday)(void)) |
Noop. Just here to satisfy backwards compatibility demands. |
Implement the system time policy for ACE.
The most common time policy is to simply use ACE_OS::gettimeofday(), this class implements that policy, i.e., it simply calls that function.
ACE_Time_Value ACE_System_Time_Policy::operator() | ( | ) | const [inline] |
Return the current time according to this policy.
void ACE_System_Time_Policy::set_gettimeofday | ( | ACE_Time_Value(*)(void) | gettimeofday | ) | [inline] |
Noop. Just here to satisfy backwards compatibility demands.