ACE 8.0.1
Loading...
Searching...
No Matches
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_Policyoperator() () 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.
 

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 ACE_HAS_MONOTONIC_TIME_POLICY isn't defined and the policy returns ACE_Time_Value::zero.

Member Function Documentation

◆ operator()()

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

Return the current time according to this policy.

◆ set_gettimeofday()

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: