Mercurial > hg > Members > kono > Cerium
view include/TaskManager/SchedTaskBase.h @ 311:b09784a9cb09
add smanager interface for test_nogl
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 08 Jun 2009 22:35:44 +0900 |
parents | bcb81858aa62 |
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