Mercurial > hg > Members > kono > Cerium
view include/TaskManager/TaskQueue.h @ 184:907bda4a1a14
fix
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 06 Jan 2009 15:39:48 +0900 |
parents | 5c194c71eca8 |
children | 7075842aa155 |
line wrap: on
line source
#ifndef INCLUDED_TASK_QUEUE #define INCLUDED_TASK_QUEUE #ifndef INCLUDED_BASE_H_ # include "base.h" #endif #ifndef INCLUDED_TASK # include "Task.h" #endif #include <stdio.h> class TaskQueue { public: TaskQueue(TaskPtr q = NULL); BASE_NEW_DELETE(TaskQueue); TaskPtr task; class TaskQueue *next; static TaskQueue* append(TaskQueue* list, TaskQueue* q); }; typedef TaskQueue* TaskQueuePtr; #endif