blob: 5ca5d55cfce31ad220c12870aea75aea2285dcb3 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*
* Ivy League
*
* Scheduler-based signal handlers
*
* Copyright 1993-2000
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
* code by Stephane Chatty
*
* $Id$
*
*/
#ifndef IvlScheduledHandler_H_
#define IvlScheduledHandler_H_
#ifdef __GNUG__
#pragma interface
#endif
#include "ivl/Signal.h"
class IvlBaseScheduledHandler : public IvlBaseSignalHandler {
friend class IvlBaseScheduler;
protected:
IvlBaseScheduler& MyScd;
void Handle ();
public:
IvlBaseScheduledHandler (IvlBaseScheduler&, int);
virtual ~IvlBaseScheduledHandler ();
protected:
/*?public?*/
virtual void DeferredHandle (int);
};
class IvlScheduledHandler : public IvlBaseScheduledHandler {
protected:
void (*Handler) (int, int);
void DeferredHandle (int);
public:
IvlScheduledHandler (IvlBaseScheduler&, int, void (*) (int, int));
~IvlScheduledHandler ();
};
#endif /* IvlScheduledHandler_H_ */
|