FIFE
2008.0
|
#include <ec_icommandcontroller.h>
Public Member Functions | |
virtual void | addCommandListener (ICommandListener *listener)=0 |
virtual void | addCommandListenerFront (ICommandListener *listener)=0 |
virtual void | removeCommandListener (ICommandListener *listener)=0 |
virtual void | dispatchCommand (Command &command)=0 |
Controller provides a way to receive events from the system Using this interface, clients can subscribe themselves to receive events Also command sending is possible
Definition at line 45 of file ec_icommandcontroller.h.
|
pure virtual |
Adds a listener to the back of the listener deque Listener will be notified via the corresponding events
listener | listener to add |
Implemented in FIFE::EventManager.
|
pure virtual |
Adds a listener to the front of the listener deque Listener will be notified via the corresponding events
listener | listener to add |
Implemented in FIFE::EventManager.
|
pure virtual |
Use this method to send command to command listeners
command | command to dispatch |
Implemented in FIFE::EventManager.
|
pure virtual |
Removes an added listener from the controller. Listener will not be notified anymore via the corresponding events
listener | listener to remove |
Implemented in FIFE::EventManager.