FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::IKeyController Class Referenceabstract

Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events. More...

#include <ikeycontroller.h>

+ Inheritance diagram for FIFE::IKeyController:
+ Collaboration diagram for FIFE::IKeyController:

Public Member Functions

virtual void addKeyListener (IKeyListener *listener)=0
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
virtual void addKeyListenerFront (IKeyListener *listener)=0
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
virtual void removeKeyListener (IKeyListener *listener)=0
 Removes an added listener from the controller. More...
 
virtual ~IKeyController ()
 

Detailed Description

Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events.

Definition at line 43 of file ikeycontroller.h.

Constructor & Destructor Documentation

◆ ~IKeyController()

virtual FIFE::IKeyController::~IKeyController ( )
inlinevirtual

Definition at line 64 of file ikeycontroller.h.

Member Function Documentation

◆ addKeyListener()

virtual void FIFE::IKeyController::addKeyListener ( IKeyListener listener)
pure virtual

Adds a listener to the back of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implemented in FIFE::EventManager.

◆ addKeyListenerFront()

virtual void FIFE::IKeyController::addKeyListenerFront ( IKeyListener listener)
pure virtual

Adds a listener to the front of the listener deque Listener will be notified via the corresponding events.

Parameters
listenerlistener to add

Implemented in FIFE::EventManager.

◆ removeKeyListener()

virtual void FIFE::IKeyController::removeKeyListener ( IKeyListener listener)
pure virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implemented in FIFE::EventManager.


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