view include/TaskManager/SchedMail.h @ 311:b09784a9cb09

add smanager interface for test_nogl
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 08 Jun 2009 22:35:44 +0900
parents 7075842aa155
children
line wrap: on
line source

#ifndef INCLUDED_SCHED_MAIL
#define INCLUDED_SCHED_MAIL

#include "base.h"
#include "Scheduler.h"
#include "SchedTaskBase.h"

#include "error.h"

class SchedMail : public SchedTaskBase{
public:
    /* constructor */
    SchedMail(Scheduler *);

    BASE_NEW_DELETE(SchedMail);

    /* variables */
    unsigned int params_addr;
    Scheduler* scheduler;

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

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

#endif