#include <MessageStream.h>
Inherits SubsystemInterface.
Inherited by CommandList, and MessageStream.
Public Member Functions | |
| GameMessageList (void) | |
| virtual | ~GameMessageList () |
| virtual void | init (void) |
| virtual void | reset (void) |
| Initialize system. | |
| virtual void | update (void) |
| Reset system. | |
| GameMessage * | getFirstMessage (void) |
| Update system. | |
| virtual void | appendMessage (GameMessage *msg) |
| Add message to end of the list. | |
| virtual void | insertMessage (GameMessage *msg, GameMessage *messageToInsertAfter) |
| virtual void | removeMessage (GameMessage *msg) |
| Remove message from the list. | |
| virtual Bool | containsMessageOfType (GameMessage::Type type) |
| Return true if a message of type is in the message stream. | |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Protected Attributes | |
| GameMessage * | m_firstMessage |
| The first message on the list. | |
| GameMessage * | m_lastMessage |
| The last message on the list. | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
The GameMessageList class encapsulates the manipulation of lists of GameMessages. Both MessageStream and CommandList derive from this class.
Definition at line 689 of file MessageStream.h.
| GameMessageList::GameMessageList | ( | void | ) |
Constructor
Definition at line 694 of file MessageStream.cpp.
|
virtual |
Destructor
Definition at line 703 of file MessageStream.cpp.
|
virtual |
Add message to end of the list.
Append message to end of message list
Definition at line 720 of file MessageStream.cpp.
|
virtual |
Return true if a message of type is in the message stream.
Return whether or not a message of the given type is in the message list
Definition at line 787 of file MessageStream.cpp.
|
inline |
|
inlinevirtual |
Implements SubsystemInterface.
Reimplemented in CommandList, and MessageStream.
Definition at line 697 of file MessageStream.h.
|
virtual |
Inserts the msg after messageToInsertAfter.
Definition at line 745 of file MessageStream.cpp.
|
virtual |
Remove message from the list.
Remove given message from the list.
Definition at line 769 of file MessageStream.cpp.
|
inlinevirtual |
Initialize system.
Implements SubsystemInterface.
Reimplemented in CommandList, and MessageStream.
Definition at line 698 of file MessageStream.h.
|
inlinevirtual |
Reset system.
Implements SubsystemInterface.
Reimplemented in CommandList, and MessageStream.
Definition at line 699 of file MessageStream.h.
|
protected |
The first message on the list.
Definition at line 711 of file MessageStream.h.
|
protected |
The last message on the list.
Definition at line 712 of file MessageStream.h.