view include/TaskManager/MainScheduler.h @ 275:237a75ab7a9b draft

merge
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 04 Jun 2009 00:12:47 +0900
parents 028ffc9c0375
children 3fc86ddf5d1c
line wrap: on
line source

#ifndef INCLUDED_MAIN_SCHEDULER
#define INCLUDED_MAIN_SCHEDULER

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

#ifndef INCLUDED_MAIL_MANAGER
#  include "MailManager.h"
#endif

class MainScheduler : public Scheduler {
public:
    ~MainScheduler(void) {}

    void init_impl(void);
    void set_mailManager(MailManager *);
    void send_mailList(MailQueuePtr mail_list);
    MailQueuePtr recv_mailList(void);

    virtual void *allocate(int size);
    void mainMem_alloc(int id, int size);
};

#endif