Mercurial > hg > Members > kono > Cerium
view include/TaskManager/TaskListInfo.h @ 333:8df3f42c7bdd
example/task_config/tasks.xml changed
author | admin@mb16-no-macbook.local |
---|---|
date | Fri, 12 Jun 2009 17:14:44 +0900 |
parents | 7075842aa155 |
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