Mercurial > hg > Members > kono > Cerium
annotate include/TaskManager/SchedTask.h @ 306:f8184487cf2c
remove unnecessary method delegate
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Jun 2009 19:22:27 +0900 |
parents | b0d37afab06a |
children | 2ac66db4dd11 |
rev | line source |
---|---|
42 | 1 #ifndef INCLUDED_SCHED_TASK |
2 #define INCLUDED_SCHED_TASK | |
3 | |
302 | 4 #include "SchedTaskImpl.h" |
5 | |
6 class SchedTask : public SchedTaskImpl { | |
7 public: | |
109 | 8 |
302 | 9 /* variables */ |
10 | |
11 virtual ~SchedTask() { | |
12 } | |
13 | |
109 | 14 /* constructor */ |
88 | 15 |
109 | 16 BASE_NEW_DELETE(SchedTask); |
42 | 17 |
298 | 18 // ここをユーザが継承して |
19 // それぞれのタスクに対応した処理を記述する | |
302 | 20 virtual int run(void* r, void *w) { return 0;} |
109 | 21 |
302 | 22 }; |
109 | 23 |
184 | 24 extern SchedTask* createSchedTask(TaskPtr); |
302 | 25 |
26 #endif |