Clear the Event queue.
Update the parameter event and set the data of the current event in it.
Push an event of the given type inside the Event queue.
Set a state for a Event.Type.
Waits for the given Event. If the seconds parameter is greater then -1, it waits maximal timeout seconds.
These class handles incomming events and returns outcomming events.