comparison include/TaskManager/TaskQueue.h @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents
children 7075842aa155
comparison
equal deleted inserted replaced
108:6f3b3dd3c095 109:5c194c71eca8
1 #ifndef INCLUDED_TASK_QUEUE
2 #define INCLUDED_TASK_QUEUE
3
4 #ifndef INCLUDED_BASE_H_
5 # include "base.h"
6 #endif
7
8 #ifndef INCLUDED_TASK
9 # include "Task.h"
10 #endif
11
12 #include <stdio.h>
13
14 class TaskQueue {
15 public:
16 TaskQueue(TaskPtr q = NULL);
17
18 BASE_NEW_DELETE(TaskQueue);
19
20 TaskPtr task;
21 class TaskQueue *next;
22
23 static TaskQueue* append(TaskQueue* list, TaskQueue* q);
24 };
25
26 typedef TaskQueue* TaskQueuePtr;
27
28 #endif