#ifndef SPECTRE_MESSAGE_QUEUE_H #define SPECTRE_MESSAGE_QUEUE_H #include #include namespace sp { class MessageQueue { public : void postEvent(SysEvent event); bool pollEvent(SysEvent& event); bool isEmpty() const; protected : std::deque m_queue; }; } // namespace sp #endif /* SPECTRE_MESSAGE_QUEUE_H */