PhoenixClockMock  2.0.0
Tool to manipulate mock of clock (split, merge and get info)
PClockNsBackend.cpp
Go to the documentation of this file.
1 /***************************************
2  Auteur : Pierre Aubert
3  Mail : pierre.aubert@lapp.in2p3.fr
4  Licence : CeCILL-C
5 ****************************************/
6 
7 #include "PClockNsBackend.h"
8 
11 
12 }
13 
16 
17 }
18 
20 
23  return p_clock.getFullTimeNs();
24 }
25 
26 
virtual ~PClockNsBackend()
Desstructor of the PClockNsBackend.
PClockNs p_clock
Clock at nano second precision to be used.
PClockNsBackend()
Constructor of the PClockNsBackend.
time_t now()
Get current time with PClockNsBackend.
std::time_t getFullTimeNs() const
Get the full time in nanoseconds.
Definition: PClockNs.cpp:85