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
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
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_SCHED_TASK
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
3
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
4 #include "SchedTaskImpl.h"
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
5
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
6 class SchedTask : public SchedTaskImpl {
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
7 public:
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 105
diff changeset
8
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
9 /* variables */
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
10
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
11 virtual ~SchedTask() {
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
12 }
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
13
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 105
diff changeset
14 /* constructor */
88
504899860e66 *** empty log message ***
gongo
parents: 82
diff changeset
15
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 105
diff changeset
16 BASE_NEW_DELETE(SchedTask);
42
aa11038dbdc1 *** empty log message ***
gongo
parents:
diff changeset
17
298
58fd16298954 from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 212
diff changeset
18 // ここをユーザが継承して
58fd16298954 from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 212
diff changeset
19 // それぞれのタスクに対応した処理を記述する
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
20 virtual int run(void* r, void *w) { return 0;}
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 105
diff changeset
21
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
22 };
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 105
diff changeset
23
184
gongo@gendarme.cr.ie.u-ryukyu.ac.jp
parents: 182
diff changeset
24 extern SchedTask* createSchedTask(TaskPtr);
302
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
25
b0d37afab06a working on macosx
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 301
diff changeset
26 #endif