EventListener Class Reference

Models the ability to process events from SDL. More...

#include <EventListener.h>

Inheritance diagram for EventListener:

Object Configuration Console FboManager GlWindow HudMenu Mouse RboManager ShaderManager TextureManager Timer VboManager Webcam

List of all members.

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.


Detailed Description

Models the ability to process events from SDL.

The EventListener is an abstract class designed to be derived from by all classes which intend to recieve and process events from the EventManager


Member Function Documentation

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.

See also:
EventManager

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.


The documentation for this class was generated from the following file:

Generated on Mon Jul 7 13:30:33 2008 for Firefly by  doxygen 1.5.6