![]() |
PhoenixClockMock
2.0.0
Tool to manipulate mock of clock (split, merge and get info)
|
clock backend for clock More...
#include <PClockNsBackend.h>
Public Member Functions | |
time_t | now () |
Get current time with PClockNsBackend. More... | |
PClockNsBackend () | |
Constructor of the PClockNsBackend. More... | |
virtual | ~PClockNsBackend () |
Desstructor of the PClockNsBackend. More... | |
Private Attributes | |
PClockNs | p_clock |
Clock at nano second precision to be used. More... | |
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 PClockNs::getFullTimeNs(), and p_clock.
|
private |
Clock at nano second precision to be used.
Definition at line 22 of file PClockNsBackend.h.
Referenced by now().