Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedTaskBase.h @ 461:009a2db963de draft
overlay worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Sep 2009 13:01:22 +0900 |
parents | e2f29e912d0b |
children | d41c62201b1e |
line wrap: on
line source
#ifndef INCLUDED_SCHED_TASK_BASE #define INCLUDED_SCHED_TASK_BASE #include "base.h" #include "Scheduler.h" class Scheduler; class SchedTaskBase { public: /* constructor */ SchedTaskBase(void) {} virtual ~SchedTaskBase(void) {} BASE_NEW_DELETE(SchedTaskBase); // noaction in default virtual void load(void) {} virtual void read(void) {} virtual void exec(void) {} virtual void write(void) {} /* functions */ virtual SchedTaskBase* next(Scheduler *, SchedTaskBase*) {return 0;} }; #endif