Mercurial > hg > Members > kono > Cerium
view include/TaskManager/SchedTaskBase.h @ 184:907bda4a1a14
fix
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Tue, 06 Jan 2009 15:39:48 +0900 |
parents | 5c194c71eca8 |
children | bcb81858aa62 |
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