Mercurial > hg > Game > Cerium
view include/TaskManager/SchedTaskBase.h @ 267:943c2ebe4483 draft
merge 172 264
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 03 Jun 2009 23:58:22 +0900 |
parents | 028ffc9c0375 |
children | 7f991471d43f |
line wrap: on
line source
#ifndef INCLUDED_SCHED_TASK_BASE #define INCLUDED_SCHED_TASK_BASE #ifndef INCLUDED_BASE_H_ # include "base.h" #endif #ifndef INCLUDED_SCHEDULER # include "Scheduler.h" #endif 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