Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
timer.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
13
#include "
core/config.h
"
14
#if __WIN32__
15
#include "
timing/win32/win32timer.h
"
16
namespace
Timing
17
{
18
class
Timer
:
public
Win32::Win32Timer
19
{ };
20
}
21
#elif __linux__
22
#include "
timing/posix/posixtimer.h
"
23
namespace
Timing
24
{
25
class
Timer
:
public
Posix::PosixTimer
26
{ };
27
}
28
#else
29
#error "Timing::Timer not implemented on this platform!"
30
#endif
31
Posix::PosixTimer
Posix implementation of the Time::Timer class.
Definition
posixtimer.h:26
Timer
A timer object is the most basic object for time measurement.
Win32::Win32Timer
Win32 implementation of the Time::Timer class.
Definition
win32timer.h:27
config.h
Nebula compiler specific defines and configuration.
Timing
Definition
calendartimebase.h:19
posixtimer.h
win32timer.h
code
foundation
timing
timer.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.