view TaskManager/kernel/schedule/SchedTaskArrayLoad.h @ 698:72b2da99e875 draft

no compile error for Task Array
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 13 Dec 2009 20:14:18 +0900
parents 4b6242d03512
children 8ece2ac85149
line wrap: on
line source

#ifndef INCLUDED_SCHED_TASK_ARRAY_LOAD
#define INCLUDED_SCHED_TASK_ARRAY_LOAD

#include "base.h"
#include "Scheduler.h"
#include "SchedTask.h"

class SchedTaskArrayLoad : public SchedTask {
public:
    /* constructor */
    SchedTaskArrayLoad(SchedTaskBase *savedTask_);
    virtual ~SchedTaskArrayLoad();

    BASE_NEW_DELETE(SchedTaskArrayLoad);

    SchedTaskBase *savedTask;

private:
    /* variables */

    void *readbuf;

    /* functions */

    // override
    void read();
    void exec();
    void write();
    SchedTaskBase* next(Scheduler *, SchedTaskBase *);


};


#endif