view include/TaskManager/TaskQueue.h @ 350:628cb162be88 draft

add tasts.xml renderer.xml
author admin@mcbk.cr.ie.u-ryukyu.ac.jp
date Fri, 10 Jul 2009 16:41:20 +0900
parents 3fc86ddf5d1c
children
line wrap: on
line source

#ifndef INCLUDED_TASK_QUEUE
#define INCLUDED_TASK_QUEUE

#include "base.h"
#include "Task.h"

#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