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