42
|
1 #ifndef INCLUDED_MAIN_SCHEDULER
|
|
2 #define INCLUDED_MAIN_SCHEDULER
|
|
3
|
|
4 #ifndef INCLUDED_SCHEDULER
|
|
5 # include "Scheduler.h"
|
|
6 #endif
|
|
7
|
|
8 #ifndef INCLUDED_MAIL_MANAGER
|
|
9 # include "MailManager.h"
|
|
10 #endif
|
|
11
|
|
12 class MainScheduler : public Scheduler {
|
|
13 public:
|
109
|
14 ~MainScheduler(void) {}
|
|
15
|
42
|
16 void init_impl(void);
|
|
17 void set_mailManager(MailManager *);
|
|
18 void send_mailList(MailQueuePtr mail_list);
|
|
19 MailQueuePtr recv_mailList(void);
|
109
|
20
|
|
21 virtual void *allocate(int size);
|
|
22 void mainMem_alloc(int id, int size);
|
42
|
23 };
|
|
24
|
|
25 #endif
|