ACE  6.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
ACE_Monotonic_Time_Policy Class Reference

Implement a monotonic time policy for ACE. More...

#include <Monotonic_Time_Policy.h>

Public Member Functions

ACE_Time_Value_T
< ACE_Monotonic_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 a monotonic time policy for ACE.

This class implements support for returning monotonic time values on platforms that support that. If a platform does not support monotonic time the policy returns ACE_Time_Value::zero.

Member Function Documentation

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

Return the current time according to this policy.

void ACE_Monotonic_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: