view include/TaskManager/SchedNop.h @ 42:aa11038dbdc1

*** empty log message ***
author gongo
date Thu, 14 Feb 2008 18:27:37 +0900
parents
children 5c194c71eca8
line wrap: on
line source

#ifndef INCLUDED_SCHED_NOP
#define INCLUDED_SCHED_NOP

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

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

#include "error.h"

class SchedNop : public SchedTaskBase {
public:
    /* functions */
    SchedTaskBase* next(Scheduler *, SchedTaskBase *);

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

#endif