#include <EventListener.h>

Public Member Functions | |
| virtual void | processEvent (SDL_Event &event)=0 |
| A method to deal with SDL_Event. | |
| virtual string | toString () const =0 |
| Returns a textual representation. | |
| virtual string | className () const =0 |
| Returns the class name of the object. | |
| virtual enum classId | classId () const =0 |
| Returns the class id of the object. | |
The EventListener is an abstract class designed to be derived from by all classes which intend to recieve and process events from the EventManager
| virtual void EventListener::processEvent | ( | SDL_Event & | event | ) | [pure virtual] |
A method to deal with SDL_Event.
Every EventListener must implement this method to receive and process events. Those will usually be sent by the EventManager which calls this method.
Implemented in Configuration, Console, FboManager, GlWindow, HudMenu, Mouse, RboManager, ShaderManager, TextureManager, Timer, VboManager, and Webcam.
| virtual string EventListener::toString | ( | ) | const [pure virtual] |
Returns a textual representation.
Reimplemented from Object.
Implemented in Configuration, Console, FboManager, GlWindow, HudMenu, Mouse, RboManager, ShaderManager, TextureManager, Timer, VboManager, and Webcam.
| virtual string EventListener::className | ( | ) | const [pure virtual] |
Returns the class name of the object.
Reimplemented from Object.
Implemented in Configuration, Console, FboManager, GlWindow, HudMenu, Mouse, RboManager, ShaderManager, TextureManager, Timer, VboManager, and Webcam.
| virtual enum classId EventListener::classId | ( | ) | const [pure virtual] |
Returns the class id of the object.
Reimplemented from Object.
Implemented in Configuration, Console, FboManager, GlWindow, HudMenu, Mouse, RboManager, ShaderManager, TextureManager, Timer, VboManager, and Webcam.
1.5.6