PhoenixClock  0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
Loading...
Searching...
No Matches
PClockNsBackend.h
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#ifndef __PCLOCKNSBACKEND_H__
8#define __PCLOCKNSBACKEND_H__
9
10#include "PClockNs.h"
11
14 public:
16 virtual ~PClockNsBackend();
17
18 time_t now();
19
20 private:
23};
24
25
26
27#endif
28
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.
Nanosecond clock.
Definition PClockNs.h:16