Mercurial > hg > Game > Cerium
view TaskManager/kernel/schedule/SchedTaskArray.h @ 899:1b9418af3127 draft
minor fix..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 22:20:02 +0900 |
parents | b662e9dd26b0 |
children | 53ad3a61b40b |
line wrap: on
line source
#ifndef INCLUDED_SCHED_TASK_ARRAY #define INCLUDED_SCHED_TASK_ARRAY #include "base.h" #include "Scheduler.h" #include "SchedTask.h" class SchedTaskArray : public SchedTask { public: BASE_NEW_DELETE(SchedTaskArray); /* constructor */ SchedTaskArray(Scheduler *s, SchedTaskBase *savedTask_, Task *task_, Task *array_); /* constructor for old style task */ SchedTaskArray(Scheduler *s, SchedTaskBase *savedTask_); virtual ~SchedTaskArray(); private: /* variables */ /* functions */ Task *last(); // override void read(); void exec(); void write(); SchedTaskBase* next(Scheduler *, SchedTaskBase *); void* get_input(void*, int); memaddr get_inputAddr(int); int get_inputSize(int); void* get_output(void*, int); memaddr get_outputAddr(int); int get_outputSize(int); memaddr get_param(int); int read_size(); } ; #endif