annotate include/TaskManager/HTaskInfo.h @ 230:56314060907f draft

fix Random
author gongo@localhost.localdomain
date Fri, 13 Feb 2009 10:53:58 +0900
parents 028ffc9c0375
children 3fc86ddf5d1c
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
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
4 #ifndef INCLUDED_HTASK
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
5 # include "HTask.h"
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
6 #endif
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
7
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
8 class HTaskInfo {
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
9 public:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
10 /* constructor */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
11 HTaskInfo(void);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
12 virtual ~HTaskInfo(void);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
13
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
14 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
15 int init(int num);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
16 HTaskPtr create(int cmd);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
17 void free(HTaskPtr q);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
18 virtual int extend_pool(int num);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
19
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
20 protected:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
21 /* variables */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
22 HTaskPtr htaskPool;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
23 HTaskPtr freeHTask;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
24
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
25 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
26 void destroy(void);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
27
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 88
diff changeset
28 private:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
29 };
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
30
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
31 #endif