Mercurial > hg > Game > Cerium
annotate include/TaskManager/SchedTaskBase.h @ 357:6602b9ba4bfd draft
fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author | root@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 17 Jul 2009 17:13:17 +0900 |
parents | 7f991471d43f |
children |
rev | line source |
---|---|
42 | 1 #ifndef INCLUDED_SCHED_TASK_BASE |
2 #define INCLUDED_SCHED_TASK_BASE | |
3 | |
301
7f991471d43f
remove deprecated source. not work.
tkaito@localhost.localdomain
parents:
109
diff
changeset
|
4 #include "base.h" |
7f991471d43f
remove deprecated source. not work.
tkaito@localhost.localdomain
parents:
109
diff
changeset
|
5 #include "Scheduler.h" |
42 | 6 |
7 class Scheduler; | |
8 | |
9 class SchedTaskBase { | |
10 public: | |
11 /* constructor */ | |
109 | 12 SchedTaskBase(void) {} |
42 | 13 virtual ~SchedTaskBase(void) {} |
14 | |
109 | 15 BASE_NEW_DELETE(SchedTaskBase); |
16 | |
42 | 17 // noaction in default |
18 virtual void load(void) {} | |
19 virtual void read(void) {} | |
20 virtual void exec(void) {} | |
21 virtual void write(void) {} | |
22 | |
23 /* functions */ | |
109 | 24 virtual SchedTaskBase* next(Scheduler*, SchedTaskBase*) {return 0;} |
42 | 25 }; |
26 | |
27 #endif |