Mercurial > hg > Members > kono > Cerium
view include/TaskManager/TaskListInfo.h @ 189:7c800a5570f1
fix
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 08 Jan 2009 15:37:52 +0900 |
parents | 5c194c71eca8 |
children | 7075842aa155 |
line wrap: on
line source
#ifndef INCLUDED_TASK_LIST_INFO #define INCLUDED_TASK_LIST_INFO #ifndef INCLUDED_TYPES # include "types.h" #endif #ifndef INCLUDED_TASKLIST # include "TaskList.h" #endif 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