annotate include/TaskManager/TaskListInfo.h @ 217:897aeb144569

fix
author gongo@localhost.localdomain
date Wed, 04 Feb 2009 22:50:42 +0900
parents 5c194c71eca8
children 7075842aa155
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_TASK_LIST_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_TASK_LIST_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
3
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 59
diff changeset
4 #ifndef INCLUDED_TYPES
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 59
diff changeset
5 # include "types.h"
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
6 #endif
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
7
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 59
diff changeset
8 #ifndef INCLUDED_TASKLIST
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 59
diff changeset
9 # include "TaskList.h"
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
10 #endif
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
11
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
12 class TaskListInfo {
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
13 public:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
14 /* constructor */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
15 TaskListInfo(void);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
16 virtual ~TaskListInfo(void);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents: 59
diff changeset
17
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
18 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
19 int init(int num);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
20 TaskListPtr create(void);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
21 void free(TaskListPtr list);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
22 static TaskListPtr append(TaskListPtr list, TaskListPtr q);
59
16f9f6251f49 *** empty log message ***
gongo
parents: 46
diff changeset
23 virtual int extend_pool(int num);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
24
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
25 protected:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
26 /* variables */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
27 TaskListPtr taskListPool;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
28 TaskListPtr freeTaskList;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
29
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
30 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
31 void destroy(void);
59
16f9f6251f49 *** empty log message ***
gongo
parents: 46
diff changeset
32
16f9f6251f49 *** empty log message ***
gongo
parents: 46
diff changeset
33 private:
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
34 };
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
35
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
36 #endif