619
|
1 #ifndef INCLUDED_FIFO_TASK_MANAGER_IMPL
|
|
2 #define INCLUDED_FIFO_TASK_MANAGER_IMPL
|
|
3
|
|
4 #include "TaskManagerImpl.h"
|
|
5 #include "MainScheduler.h"
|
|
6 #include "Scheduler.h"
|
|
7
|
|
8 class SpeTaskManagerImpl : public TaskManagerImpl {
|
|
9 public:
|
|
10 /* constructor */
|
|
11 SpeTaskManagerImpl(int num = 1) : TaskManagerImpl(num) {}
|
|
12 ~SpeTaskManagerImpl(void);
|
|
13
|
|
14 /* variables */
|
|
15 CellScheduler *scheduler;
|
|
16
|
|
17 /* functions */
|
|
18 // call by system
|
|
19 void init(void);
|
|
20 void run(void);
|
|
21
|
|
22 // call by user
|
|
23 int add_data(ListDataPtr, uint32, int);
|
|
24 void* allocate(int size,int align);
|
|
25 void* allocate(int size);
|
|
26 Scheduler* get_scheduler();
|
|
27 };
|
|
28
|
|
29
|
|
30 #endif /* INCLUDED_FIFO_TASK_MANAGER_IMPL */
|