42
|
1 #ifndef INCLUDED_SCHED_MAIL
|
|
2 #define INCLUDED_SCHED_MAIL
|
|
3
|
109
|
4 #ifndef INCLUDED_BASE_H_
|
|
5 # include "base.h"
|
|
6 #endif
|
|
7
|
42
|
8 #ifndef INCLUDED_SCHEDULER
|
|
9 # include "Scheduler.h"
|
|
10 #endif
|
|
11
|
|
12 #ifndef INCLUDED_SCHED_TASK_BASE
|
|
13 # include "SchedTaskBase.h"
|
|
14 #endif
|
|
15
|
|
16 #include "error.h"
|
|
17
|
|
18 class SchedMail : public SchedTaskBase{
|
|
19 public:
|
|
20 /* constructor */
|
109
|
21 SchedMail(Scheduler *);
|
|
22
|
|
23 BASE_NEW_DELETE(SchedMail);
|
42
|
24
|
|
25 /* variables */
|
|
26 unsigned int params_addr;
|
109
|
27 Scheduler* scheduler;
|
42
|
28
|
|
29 /* functions */
|
|
30 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
|
|
31
|
|
32 #if DEBUG
|
233
|
33 void read(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); }
|
42
|
34 void exec(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); }
|
|
35 void write(void) { __debug("[SchedMail:%s]\n", __FUNCTION__); }
|
|
36 #endif
|
|
37 };
|
|
38
|
|
39 #endif
|