42
|
1 #ifndef INCLUDED_SCHED_NOP
|
|
2 #define INCLUDED_SCHED_NOP
|
|
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 SchedNop : public SchedTaskBase {
|
|
15 public:
|
|
16 /* functions */
|
|
17 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
|
|
18
|
|
19 #if DEBUG
|
|
20 void read(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
|
|
21 void exec(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
|
|
22 void write(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
|
|
23 #endif
|
|
24 };
|
|
25
|
|
26 #endif
|