Mercurial > hg > Game > Cerium
view TaskManager/Fifo/FifoTaskManagerImpl.h @ 833:577bde5d0cec draft
poling (may recurse..)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 25 May 2010 18:22:59 +0900 |
parents | 3c404a32719c |
children | 6ffeb543e8d4 |
line wrap: on
line source
#ifndef INCLUDED_FIFO_TASK_MANAGER_IMPL #define INCLUDED_FIFO_TASK_MANAGER_IMPL #include "TaskManagerImpl.h" #include "MainScheduler.h" #include "Scheduler.h" class FifoTaskManagerImpl : public TaskManagerImpl { public: /* constructor */ FifoTaskManagerImpl(int num = 1) : TaskManagerImpl(num) {} ~FifoTaskManagerImpl(void); /* variables */ int machineNum; TaskListInfoPtr taskListInfo; TaskListInfoPtr ppeTaskList; // running task MailManager *mailManager; MainScheduler *mainScheduler; /* functions */ // call by system void init(); void init(MainScheduler*, TaskManagerImpl*); void poll(); // called from CellTaskManagerImpl void run(); void show_profile() {}; void start_profile() {}; void polling(); void mail_check(); void set_runTaskList(); void sendTaskList(); // call by user }; #endif /* INCLUDED_FIFO_TASK_MANAGER_IMPL */