blob: 9578b93bf9515e68694739f278d3a8d4dc6377d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef T2DLL_LPERIODICAL_H
#define T2DLL_LPERIODICAL_H
#include "../common.h"
class AFX_CLASS_EXPORT LPeriodical {
public:
LPeriodical();
virtual ~LPeriodical();
virtual void StartIdling();
virtual void StopIdling();
static void DevoteTimeToIdlers();
virtual void StartRepeating();
virtual void StopRepeating();
static void DevoteTimeToRepeaters();
static void DeleteIdlerAndRepeaterQueues();
virtual void SpendTime() = 0;
protected:
static LArray* sIdlerQ;
static LArray* sRepeaterQ;
};
#endif
|