10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
DefaultClock.h
1
#ifndef TENDUKE_TIME_DEFAULTCLOCK_H
2
#define TENDUKE_TIME_DEFAULTCLOCK_H
3
4
#include "./Clock.h"
5
6
namespace
tenduke
{
namespace
time
{
7
8
12
class
DefaultClock :
public
Clock
13
{
14
public
:
15
DefaultClock() =
default
;
16
17
// tenduke::time::Clock interface
18
std::int64_t
epochSeconds
()
const
noexcept
override
;
19
};
20
21
22
}}
23
24
#endif
// TENDUKE_TIME_DEFAULTCLOCK_H
Clock
A clock-service to generate timestamps.
Definition
Clock.h:13
tenduke::time::DefaultClock::epochSeconds
std::int64_t epochSeconds() const noexcept override
Returns current time as seconds from epoch.
Definition
DefaultClock.cpp:7
tenduke::time
Date/time related services.
Definition
Clock.h:6
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
time
DefaultClock.h
Generated by
1.17.0