annotate include/TaskManager/SchedTaskBase.h @ 68:35a6cf176c38

*** empty log message ***
author chiaki
date Sun, 17 Feb 2008 21:45:07 +0900
parents aa11038dbdc1
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_TASK_BASE
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_SCHED_TASK_BASE
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 class Scheduler;
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
9
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
10 class SchedTaskBase {
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
11 public:
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
12 /* constructor */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
13 //SchedTaskBase(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
14 virtual ~SchedTaskBase(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
15
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
16 // noaction in default
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
17 virtual void load(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
18 virtual void read(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
19 virtual void exec(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
20 virtual void write(void) {}
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
21
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
22 /* functions */
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
23 virtual SchedTaskBase* next(Scheduler*, SchedTaskBase*) = 0;
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