22 #ifndef FIFE_EVENTCHANNEL_ICOMMAND_CONTROLLER_H 23 #define FIFE_EVENTCHANNEL_ICOMMAND_CONTROLLER_H Controller provides a way to receive events from the system Using this interface, clients can subscri...
virtual void dispatchCommand(Command &command)=0
Use this method to send command to command listeners.
Listener of command events.
virtual void addCommandListenerFront(ICommandListener *listener)=0
Adds a listener to the front of the listener deque Listener will be notified via the corresponding ev...
virtual void addCommandListener(ICommandListener *listener)=0
Adds a listener to the back of the listener deque Listener will be notified via the corresponding eve...
virtual ~ICommandController()
Class for commands Commands are arbitrary events e.g.
virtual void removeCommandListener(ICommandListener *listener)=0
Removes an added listener from the controller.