Mercurial > hg > Members > kono > Cerium
view include/TaskManager/BufferManager.h @ 314:2ddf79a7c5fb
debugging
author | root@localhost.localdomain |
---|---|
date | Tue, 09 Jun 2009 01:22:11 +0900 |
parents | 7075842aa155 |
children | b89ba1d96fff |
line wrap: on
line source
#ifndef INCLUDED_BUFFER_MANAGER #define INCLUDED_BUFFER_MANAGER #include "types.h" #include "TaskListInfo.h" #include "TaskQueueInfo.h" #include "HTaskInfo.h" /*! * Task Input/Output buffer manager * */ class BufferManager { public: /* constructor */ BufferManager(int num = 1); virtual ~BufferManager(void); /* variables */ TaskListInfo *taskListImpl; TaskQueueInfo *taskQueueImpl; HTaskInfo *htaskImpl; int machineNum; /* function */ virtual void init(void); // TaskList TaskListPtr create_taskList(void); void free_taskList(TaskListPtr); TaskListPtr clear_taskList(TaskListPtr); // TaskQueue TaskQueuePtr create_taskQueue(HTaskPtr); void free_taskQueue(TaskQueuePtr); // HTask HTaskPtr create_task(int cmd); void free_task(HTaskPtr); void finish(void); private: }; #endif