view include/TaskManager/SchedTaskBase.h @ 296:8a7b8ae21d60 draft

add BlenderScript/create_mesh.py
author aaa
date Sat, 06 Jun 2009 01:53:29 +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