blob: 7e231a553831d8e93415a1e80d1265493514d4c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#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;
};
|