ACE  6.3.3
Public Member Functions | Private Attributes | List of all members
ACE_Delegating_Time_Policy Class Reference

Implement a time policy that delegates to a dynamic time policy. More...

#include <Time_Policy.h>

Collaboration diagram for ACE_Delegating_Time_Policy:
Collaboration graph
[legend]

Public Member Functions

 ACE_Delegating_Time_Policy (ACE_Dynamic_Time_Policy_Base const *delegate=0)
 
ACE_Time_Value_T< ACE_Delegating_Time_Policyoperator() () const
 Return the current time according to this policy. More...
 
void set_delegate (ACE_Dynamic_Time_Policy_Base const *delegate)
 Set delegate. More...
 
ACE_Delegating_Time_Policyoperator= (ACE_Delegating_Time_Policy const &pol)
 Copy policy. More...
 
void set_gettimeofday (ACE_Time_Value(*gettimeofday)(void))
 Noop. Just here to satisfy backwards compatibility demands. More...
 

Private Attributes

ACE_Dynamic_Time_Policy_Base const * delegate_
 

Detailed Description

Implement a time policy that delegates to a dynamic time policy.

Constructor & Destructor Documentation

ACE_Delegating_Time_Policy::ACE_Delegating_Time_Policy ( ACE_Dynamic_Time_Policy_Base const *  delegate = 0)

Member Function Documentation

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

Return the current time according to this policy.

ACE_Delegating_Time_Policy & ACE_Delegating_Time_Policy::operator= ( ACE_Delegating_Time_Policy const &  pol)
inline

Copy policy.

void ACE_Delegating_Time_Policy::set_delegate ( ACE_Dynamic_Time_Policy_Base const *  delegate)
inline

Set delegate.

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

Noop. Just here to satisfy backwards compatibility demands.

Member Data Documentation

ACE_Dynamic_Time_Policy_Base const* ACE_Delegating_Time_Policy::delegate_
private

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