view include/TaskManager/SchedNop2Ready.h @ 201:b257e27d995c

add SceneGraphIterator
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 16:46:59 +0900
parents 5c194c71eca8
children 7075842aa155
line wrap: on
line source

#ifndef INCLUDED_SCHED_NOP2READY
#define INCLUDED_SCHED_NOP2READY

#ifndef INCLUDED_BASE_H_
#  include "base.h"
#endif

#ifndef INCLUDED_SCHEDULER
#  include "Scheduler.h"
#endif

#ifndef INCLUDED_SCHED_TASK_BASE
#  include "SchedTaskBase.h"
#endif

#ifndef INCLUDED_SCHED_NOP
#  include "SchedNop.h"
#endif

#include "error.h"

class SchedNop2Ready : public SchedNop {
public:
    /* constructor */
    SchedNop2Ready(Scheduler*);

    BASE_NEW_DELETE(SchedNop2Ready);

    /* variables */
    Scheduler* scheduler;

    /* functions */
    void exec(void);
    SchedTaskBase* next(Scheduler *, SchedTaskBase *);

#if DEBUG
    void read(void)  { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
    void write(void) { __debug("[SchedNop2Ready:%s]\n", __FUNCTION__); }
#endif
};

#endif