![]() |
PhoenixClock
0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
|
clock backend for clock More...
#include <PClockNsBackend.h>
Public Member Functions | |
time_t | now () |
Get current time with PClockNsBackend. | |
PClockNsBackend () | |
Constructor of the PClockNsBackend. | |
virtual | ~PClockNsBackend () |
Desstructor of the PClockNsBackend. | |
Private Attributes | |
PClockNs | p_clock |
Clock at nano second precision to be used. | |
clock backend for clock
Definition at line 13 of file PClockNsBackend.h.
PClockNsBackend::PClockNsBackend | ( | ) |
|
virtual |
time_t PClockNsBackend::now | ( | ) |
Get current time with PClockNsBackend.
Definition at line 22 of file PClockNsBackend.cpp.
References p_clock.
|
private |
Clock at nano second precision to be used.
Definition at line 22 of file PClockNsBackend.h.
Referenced by now().