2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CARCHITECTUREQUEUE
|
|
|
|
#define _CARCHITECTUREQUEUE
|
2022-10-01 06:19:09 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "MetroidPrime/CArchitectureMessage.hpp"
|
|
|
|
|
|
|
|
#include "rstl/list.hpp"
|
|
|
|
|
|
|
|
class CArchitectureQueue {
|
|
|
|
public:
|
2022-10-10 02:27:35 +00:00
|
|
|
bool Push(const CArchitectureMessage& msg) {
|
|
|
|
x0_queue.push_back(msg);
|
|
|
|
}
|
2022-10-01 06:19:09 +00:00
|
|
|
void Pop(); // TODO
|
|
|
|
void Clear(); // TODO
|
|
|
|
bool IsEmpty() const; // TODO
|
|
|
|
|
|
|
|
private:
|
|
|
|
rstl::list< CArchitectureMessage > x0_queue;
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CARCHITECTUREQUEUE
|