PhoenixClock  0.4.0
Library wrapping the usage of system's clock, allowing to use clock mock-ups
Loading...
Searching...
No Matches
PClockBackend Struct Reference

clock backend for clock More...

#include <PClockBackend.h>

Static Public Member Functions

static time_t now ()
 Get current time with PClockBackend.
 

Detailed Description

clock backend for clock

Definition at line 13 of file PClockBackend.h.

Member Function Documentation

◆ now()

static time_t PClockBackend::now ( )
inlinestatic

Get current time with PClockBackend.

Returns
current time given by clock

Definition at line 17 of file PClockBackend.h.

17 {
18 return clock();
19 }

The documentation for this struct was generated from the following file: