acme
Foundational cross-platform layer of the ca2 framework
Toggle main menu visibility
Loading...
Searching...
No Matches
aaa_second.h
1
//
2
// Refactored/Merged by camilon on 2021-10-04 06:45 BRT <3ThomasBorregaardSorensen!![ THE ONE GOD ]
3
// // Created by camilo on 2020-11-16. <3Tbs_!!
4
//
5
6
7
class
CLASS_DECL_ACME second :
8
public
duration
9
{
10
public
:
11
12
13
using
duration::duration;
14
15
16
second() : duration(e_raw, 1) {}
17
second(
const
class ::time &
time
) : ::duration(duration) {}
18
template
< prototype_
int
egral INTEGRAL >
19
second(INTEGRAL integral) : duration(::integral_second(integral)) { }
20
template
< prototype_
float
ing FLOATING >
21
second(FLOATING floating) : duration(::floating_second(floating)) { }
22
23
bool
done()
const
{
return
integral_second().m_i >= 1; }
24
25
26
};
27
28
29
//inline ::second first_second() { return ::duration::first(); }
30
inline ::second get_second() { return ::duration::now(); }
31
32
33
time
Definition
aaa_time.h:13
prototype
time
aaa_second.h
Generated by
1.17.0