view include/TaskManager/TaskQueue.h @ 195:4e66b3327c50 draft

fix
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Sun, 25 Jan 2009 17:44:17 +0900
parents 028ffc9c0375
children 3fc86ddf5d1c
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