FIFE  be64c707dea6b3250bd4355bf5c825d25920087d
FIFE::IJoystickController Class Referenceabstract

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

#include <ijoystickcontroller.h>

+ Inheritance diagram for FIFE::IJoystickController:
+ Collaboration diagram for FIFE::IJoystickController:

Public Member Functions

virtual void addJoystickListener (IJoystickListener *listener)=0
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
virtual void addJoystickListenerFront (IJoystickListener *listener)=0
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
virtual void removeJoystickListener (IJoystickListener *listener)=0
 Removes an added listener from the controller. More...
 
virtual ~IJoystickController ()
 

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 ijoystickcontroller.h.

Constructor & Destructor Documentation

◆ ~IJoystickController()

virtual FIFE::IJoystickController::~IJoystickController ( )
inlinevirtual

Definition at line 64 of file ijoystickcontroller.h.

Member Function Documentation

◆ addJoystickListener()

virtual void FIFE::IJoystickController::addJoystickListener ( IJoystickListener 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::JoystickManager.

◆ addJoystickListenerFront()

virtual void FIFE::IJoystickController::addJoystickListenerFront ( IJoystickListener 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::JoystickManager.

◆ removeJoystickListener()

virtual void FIFE::IJoystickController::removeJoystickListener ( IJoystickListener 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::JoystickManager.


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