#include <Time_Policy.h>
◆ FPtr
ACE_FPointer_Time_Policy::FPtr |
Short-hand for the right type of pointer to function.
◆ ACE_FPointer_Time_Policy() [1/2]
ACE_FPointer_Time_Policy::ACE_FPointer_Time_Policy |
( |
| ) |
|
|
inline |
Default constructor uses ACE_OS::gettimeofday()
ACE_T requires a default constructor that leaves the policy in a functional state. Therefore, a null pointer would not be desirable, in other words, we need a non-trivial default constructor.
◆ ACE_FPointer_Time_Policy() [2/2]
Constructor from a pointer to function.
Construct from a pointer to function.
◆ operator()()
Return the current time according to this policy.
◆ set_gettimeofday()
void ACE_FPointer_Time_Policy::set_gettimeofday |
( |
ACE_Time_Value(*)(void) |
gettimeofday | ) |
|
|
inline |
Satisfy backwards compatibility demands.
◆ function_
FPtr ACE_FPointer_Time_Policy::function_ |
|
private |
The documentation for this class was generated from the following files: