acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaaa_millisecond.h
1
// Refactored/Merged by camilon on 2021-10-04 06:45 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
2
#pragma once
3
4
5
class
CLASS_DECL_ACME millisecond :
6
public
time
7
{
8
public
:
9
10
11
using
timeclass ::time;
12
13
millisecond() : time(e_raw, 0, 1'000'000) {}
14
millisecond(
const
class
time & time) : class ::time(time) {}
15
template
< prototype_
int
egral INTEGRAL >
16
millisecond(INTEGRAL integral) : time(::integral_millisecond(integral)) { }
17
template
< prototype_
float
ing FLOATING >
18
millisecond(FLOATING floating) : time(::floating_millisecond(floating)) { }
19
20
21
bool
done()
const
{
return
integral_millisecond().m_i >= 1; }
22
23
24
};
25
26
27
//inline class ::time first_class ::time() { return class ::time::first(); }
28
inline ::millisecond get_millisecond() {
return
class ::time::now(); }
29
30
prototype
time
aaaa_millisecond.h
Generated by
1.17.0