view include/TaskManager/TaskListInfo.h @ 307:7075842aa155

clean up include
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 08 Jun 2009 19:32:38 +0900
parents 5c194c71eca8
children
line wrap: on
line source

#ifndef INCLUDED_TASK_LIST_INFO
#define INCLUDED_TASK_LIST_INFO

#include "types.h"
#include "TaskList.h"

class TaskListInfo {
public:
    /* constructor */
    TaskListInfo(void);
    virtual ~TaskListInfo(void);

    /* functions */
    int init(int num);
    TaskListPtr create(void);
    void free(TaskListPtr list);
    static TaskListPtr append(TaskListPtr list, TaskListPtr q);
    virtual int extend_pool(int num);

protected:
    /* variables */
    TaskListPtr taskListPool;
    TaskListPtr freeTaskList;

    /* functions */
    void destroy(void);

private:
};

#endif