annotate include/TaskManager/TaskList.h @ 357:6602b9ba4bfd draft

fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 17 Jul 2009 17:13:17 +0900
parents 7f991471d43f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #ifndef INCLUDED_TASKLIST
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #define INCLUDED_TASKLIST
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
301
7f991471d43f remove deprecated source. not work.
tkaito@localhost.localdomain
parents: 244
diff changeset
4 #include "base.h"
7f991471d43f remove deprecated source. not work.
tkaito@localhost.localdomain
parents: 244
diff changeset
5 #include "Task.h"
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 // sizeof(Task)*TASK_MAX_SIZE = 512 byte
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 #define TASK_MAX_SIZE 16
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 class TaskList { // 528byte
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 public:
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 BASE_NEW_DELETE(TaskList);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 int length; // 4 byte
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 TaskList *next; // 4 byte
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 Task tasks[TASK_MAX_SIZE]; // 512
244
e9735a64cd90 mail modify
e065746@localhost.localdomain
parents: 109
diff changeset
18 TaskList *output; // 4 byte
e9735a64cd90 mail modify
e065746@localhost.localdomain
parents: 109
diff changeset
19 int a[1]; // padding
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 static TaskList* append(TaskList*, TaskList*);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
22 };
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
23
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
24 typedef TaskList* TaskListPtr;
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
25
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
26 #endif