Mercurial > hg > Members > kono > Cerium
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/TaskManager/TaskQueue.h Wed Nov 12 17:39:33 2008 +0900 @@ -0,0 +1,28 @@ +#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