view include/TaskManager/MainScheduler.h @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents 7927e00fb8e2
children 7075842aa155
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