Mercurial > hg > Game > Cerium
view include/TaskManager/TaskList.h @ 322:3b77482f4913 draft
remove debug
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 10 Jun 2009 15:29:29 +0900 |
parents | 7f991471d43f |
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