Mercurial > hg > Game > Cerium
view include/TaskManager/SchedTaskBase.h @ 350:628cb162be88 draft
add tasts.xml renderer.xml
author | admin@mcbk.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Fri, 10 Jul 2009 16:41:20 +0900 |
parents | 7f991471d43f |
children |
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