acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_timer.h
1#pragma once
2
3
4//#include "acme/prototype/prototype/matter.h"
5
6
7class CLASS_DECL_ACME timer :
8 virtual public ::particle
9{
10public:
11
12
13 union
14 {
15
16 uptr m_uTimer;
17 enum_timer m_etimer;
18
19 };
20
21 timer_task * m_pTimerTask;
22 bool m_bPeriodic;
23 bool m_bHandling;
24 bool m_bRet;
25 ::pointer<::timer_callback> m_ptimercallback;
26 class ::time m_timeWait;
27 string m_strDebugNote;
28
29
30 timer();
31 timer(uptr uEvent);
32 timer(enum_timer etimer);
33 ~timer() override;
34
35
36 //virtual void destroy() override;
37
38
39 void destroy() override;
40
41
42 const_char_pointer debug_note() const override;
43
44
45};
46