ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ACE_System_Time_Policy Class Reference

Implement the system time policy for ACE. More...

#include <Time_Policy.h>

Public Member Functions

ACE_Time_Value_T< ACE_System_Time_Policyoperator() () const
 Return the current time according to this policy.
 
void set_gettimeofday (ACE_Time_Value(*gettimeofday)())
 Noop. Just here to satisfy backwards compatibility demands.
 

Detailed Description

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.

Member Function Documentation

◆ operator()()

ACE_Time_Value_T< ACE_System_Time_Policy > ACE_System_Time_Policy::operator() ( ) const
inline

Return the current time according to this policy.

◆ set_gettimeofday()

void ACE_System_Time_Policy::set_gettimeofday ( ACE_Time_Value(*)() gettimeofday)
inline

Noop. Just here to satisfy backwards compatibility demands.


The documentation for this class was generated from the following files: