2022-04-10 00:17:06 +00:00
|
|
|
#ifndef _CIOWINMANAGER_HPP
|
|
|
|
#define _CIOWINMANAGER_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "rstl/list.hpp"
|
2022-09-13 04:26:54 +00:00
|
|
|
#include "rstl/rc_ptr.hpp"
|
|
|
|
|
|
|
|
class CIOWin;
|
2022-10-01 06:19:09 +00:00
|
|
|
// TODO
|
|
|
|
class IOWinPQNode;
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
class CIOWinManager {
|
|
|
|
public:
|
2022-09-13 04:26:54 +00:00
|
|
|
CIOWinManager();
|
2022-10-01 06:19:09 +00:00
|
|
|
~CIOWinManager();
|
2022-09-13 04:26:54 +00:00
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
void Draw() const;
|
2022-09-13 04:26:54 +00:00
|
|
|
void AddIOWin(rstl::ncrc_ptr< CIOWin >, int, int);
|
2022-10-01 06:19:09 +00:00
|
|
|
void RemoveAllIOWins();
|
2022-04-10 00:17:06 +00:00
|
|
|
|
2022-10-01 06:19:09 +00:00
|
|
|
inline bool IsEmpty() const { return x4_pumpRoot == nullptr && x0_drawRoot == nullptr; }
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
private:
|
2022-10-01 06:19:09 +00:00
|
|
|
IOWinPQNode* x0_drawRoot;
|
|
|
|
IOWinPQNode* x4_pumpRoot;
|
|
|
|
CArchitectureQueue x8_localGatherQueue;
|
2022-04-10 00:17:06 +00:00
|
|
|
};
|
2022-09-13 04:26:54 +00:00
|
|
|
CHECK_SIZEOF(CIOWinManager, 0x20)
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#endif
|