annotate include/TaskManager/SchedNop.h @ 42:aa11038dbdc1

*** empty log message ***
author gongo
date Thu, 14 Feb 2008 18:27:37 +0900
parents
children 5c194c71eca8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_SCHED_NOP
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_SCHED_NOP
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
3
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
4 #ifndef INCLUDED_SCHEDULER
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
5 # include "Scheduler.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
6 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
7
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
8 #ifndef INCLUDED_SCHED_TASK_BASE
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
9 # include "SchedTaskBase.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
11
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
12 #include "error.h"
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
13
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
14 class SchedNop : public SchedTaskBase {
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
15 public:
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
16 /* functions */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
17 SchedTaskBase* next(Scheduler *, SchedTaskBase *);
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
18
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
19 #if DEBUG
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
20 void read(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
21 void exec(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
22 void write(void) { __debug("[SchedNop:%s]\n", __FUNCTION__); }
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
23 #endif
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
24 };
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
25
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
26 #endif