ACE  6.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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_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...
 

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

ACE_Time_Value_T< ACE_System_Time_Policy > 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.


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