Mercurial > hg > Members > kono > Cerium
view include/TaskManager/TaskList.h @ 333:8df3f42c7bdd
example/task_config/tasks.xml changed
author | admin@mb16-no-macbook.local |
---|---|
date | Fri, 12 Jun 2009 17:14:44 +0900 |
parents | bcb81858aa62 |
children |
line wrap: on
line source
#ifndef INCLUDED_TASKLIST #define INCLUDED_TASKLIST #include "base.h" #include "Task.h" // sizeof(Task)*TASK_MAX_SIZE = 512 byte #define TASK_MAX_SIZE 16 class TaskList { // 528byte public: BASE_NEW_DELETE(TaskList); int length; // 4 byte TaskList *next; // 4 byte Task tasks[TASK_MAX_SIZE]; // 512 TaskList *output; // 4 byte int a[1]; // padding static TaskList* append(TaskList*, TaskList*); }; typedef TaskList* TaskListPtr; #endif