Mercurial > hg > Game > Cerium
view include/TaskManager/SchedTaskBase.h @ 292:2369f477ffbe draft
Document/Cerium_2009.mm
author | aaa |
---|---|
date | Fri, 05 Jun 2009 18:53:42 +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