Class hierarchy Compound list File list Compound Members
Event_Receiver Class Reference
This is a "container" for events. More...
List of all members.
Public Members
- long handleEvent (Event* E)
- Accepts events and places them in a queue.
- long hasMoreEvents ()
- Checks the event queue for events to process.
- Event* peekEvent ()
- Returns an event to process, without removing it from the queue.
- void popEvent ()
- Removes the next event from the queue.
Detailed Description
This is a "container" for events.
Classes that must process events may
inherit from this class to implement this behavior.
Note: this is a DESTRUCTIVE.
Member Function Documentation
long Event_Receiver::handleEvent(Event* E)
Accepts events and places them in a queue.
long Event_Receiver::hasMoreEvents()
Checks the event queue for events to process.
Event* Event_Receiver::peekEvent()
Returns an event to process, without removing it from the queue.
void Event_Receiver::popEvent()
Removes the next event from the queue.
The documentation for this class was generated from the following file: