annotate include/TaskManager/TaskQueueInfo.h @ 132:9550e4ce2868 draft

add XML
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Tue, 25 Nov 2008 18:19:53 +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_TASK_QUEUE_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
2 #define INCLUDED_TASK_QUEUE_INFO
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
3
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 54
diff changeset
4 #ifndef INCLUDED_TASK_QUEUE
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 54
diff changeset
5 # include "TaskQueue.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 TaskQueueInfo {
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 TaskQueueInfo(void);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
12 ~TaskQueueInfo(void);
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: 54
diff changeset
16 TaskQueuePtr create(TaskPtr task);
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
17 void free(TaskQueuePtr queue);
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents: 54
diff changeset
18
46
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
19 private:
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
20 /* variables */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
21 TaskQueuePtr taskQueuePool;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
22 TaskQueuePtr freeTaskQueue;
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
23
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
24 /* functions */
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
25 int extend_pool(int num);
f154d9d07a42 *** empty log message ***
gongo
parents:
diff changeset
26 void destroy(void);
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