view include/TaskManager/SchedTaskBase.h @ 135:ac436cebae2a draft

remove xml file
author gongo@charles.cr.ie.u-ryukyu.ac.jp
date Thu, 27 Nov 2008 16:19:50 +0900
parents 028ffc9c0375
children 7f991471d43f
line wrap: on
line source

#ifndef INCLUDED_SCHED_TASK_BASE
#define INCLUDED_SCHED_TASK_BASE

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

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

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