90 std::vector<Message *> mFirst;
91 std::vector<Message *> mSecond;
94 std::vector<Message *> *mTarget;
97 std::vector<Message *> *mDraining;
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:41
MsgQueue()
Start with both vectors empty and mFirst accepting.
virtual ~MsgQueue()
Delete every stored message and release both vectors.
void Store(Message *pMsg)
Store a copy of a message without reading its identity first.
virtual void DispatchPriv(Message *pMsg)
Store a copy of a message.
void Poll()
Deliver and discard every stored message.
Receiver of engine messages.
Definition msgsink.h:37
Sender of engine messages, which stores the list of sinks that receive them.
Definition msgsource.h:26