view include/TaskManager/TaskQueue.h @ 247:0098b5ff0d11

change example
author aaa
date Mon, 01 Jun 2009 19:33:09 +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