view include/TaskManager/MainScheduler.h @ 292:2369f477ffbe draft

Document/Cerium_2009.mm
author aaa
date Fri, 05 Jun 2009 18:53:42 +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