annotate include/TaskManager/HTaskInfo.h @ 311:b09784a9cb09

add smanager interface for test_nogl
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 08 Jun 2009 22:35:44 +0900
parents 7075842aa155
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
1 #ifndef INCLUDED_HTASK_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_HTASK_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
3
307
7075842aa155 clean up include
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
4 #include "HTask.h"
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
5
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
6 class HTaskInfo {
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
7 public:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
8 /* constructor */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
9 HTaskInfo(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
10 virtual ~HTaskInfo(void);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
11
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
12 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
13 int init(int num);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
14 HTaskPtr create(int cmd);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
15 void free(HTaskPtr q);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
16 virtual int extend_pool(int num);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
17
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
18 protected:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
19 /* variables */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
20 HTaskPtr htaskPool;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
21 HTaskPtr freeHTask;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
22
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
23 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
24 void destroy(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
25
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
26 private:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
27 };
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
28
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
29 #endif