Mercurial > hg > Members > kono > Cerium
view include/TaskManager/TaskQueueInfo.h @ 201:b257e27d995c
add SceneGraphIterator
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 26 Jan 2009 16:46:59 +0900 |
parents | 5c194c71eca8 |
children | 7075842aa155 |
line wrap: on
line source
#ifndef INCLUDED_TASK_QUEUE_INFO #define INCLUDED_TASK_QUEUE_INFO #ifndef INCLUDED_TASK_QUEUE # include "TaskQueue.h" #endif class TaskQueueInfo { public: /* constructor */ TaskQueueInfo(void); ~TaskQueueInfo(void); /* functions */ int init(int num); TaskQueuePtr create(TaskPtr task); void free(TaskQueuePtr queue); private: /* variables */ TaskQueuePtr taskQueuePool; TaskQueuePtr freeTaskQueue; /* functions */ int extend_pool(int num); void destroy(void); }; #endif