FIFE  6e1afdbeda11afe9ac53e6023a4be96ef88f1dc6
FIFE::EventManager Class Reference

Event Manager manages all events related to FIFE. More...

#include <eventmanager.h>

+ Inheritance diagram for FIFE::EventManager:
+ Collaboration diagram for FIFE::EventManager:

Public Member Functions

 EventManager ()
 Constructor. More...
 
virtual ~EventManager ()
 Destructor. More...
 
void addCommandListener (ICommandListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addCommandListenerFront (ICommandListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeCommandListener (ICommandListener *listener)
 Removes an added listener from the controller. More...
 
void dispatchCommand (Command &command)
 Use this method to send command to command listeners. More...
 
void addKeyListener (IKeyListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addKeyListenerFront (IKeyListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeKeyListener (IKeyListener *listener)
 Removes an added listener from the controller. More...
 
void addTextListener (ITextListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addTextListenerFront (ITextListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeTextListener (ITextListener *listener)
 Removes an added listener from the controller. More...
 
void addMouseListener (IMouseListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addMouseListenerFront (IMouseListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeMouseListener (IMouseListener *listener)
 Removes an added listener from the controller. More...
 
void addSdlEventListener (ISdlEventListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addSdlEventListenerFront (ISdlEventListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeSdlEventListener (ISdlEventListener *listener)
 Removes an added listener from the controller. More...
 
void addDropListener (IDropListener *listener)
 Adds a listener to the back of the listener deque Listener will be notified via the corresponding events. More...
 
void addDropListenerFront (IDropListener *listener)
 Adds a listener to the front of the listener deque Listener will be notified via the corresponding events. More...
 
void removeDropListener (IDropListener *listener)
 Removes an added listener from the controller. More...
 
void addJoystickListener (IJoystickListener *listener)
 
void addJoystickListenerFront (IJoystickListener *listener)
 
void removeJoystickListener (IJoystickListener *listener)
 
EventSourceType getEventSourceType ()
 Gets the source type of this event. More...
 
void processEvents ()
 Process the SDL event queue. More...
 
void setKeyFilter (IKeyFilter *keyFilter)
 
void setMouseFilter (IMouseFilter *mouseFilter)
 
void setMouseSensitivity (float sensitivity)
 Sets mouse sensitivity The sensitivity is limited to the range -0.99 - 10.0. More...
 
float getMouseSensitivity () const
 Gets mouse sensitivity. More...
 
void setMouseAccelerationEnabled (bool acceleration)
 Sets mouse acceleration if mouse acceleration is enabled, then the mouse sensitivity is used as speed max. More...
 
bool isMouseAccelerationEnabled () const
 Returns if mouse acceleration is enabled or not. More...
 
bool isClipboardText () const
 Returns if clipboard have text or not. More...
 
std::string getClipboardText () const
 Returns the clipboard text as UTF-8 string. More...
 
void setClipboardText (const std::string &text)
 Sets clipboard text. More...
 
void setJoystickSupport (bool support)
 Sets the joystick support to enabled or disabled. More...
 
JoystickgetJoystick (int32_t instanceId)
 Return the joystick with the given instance id. More...
 
uint8_t getJoystickCount () const
 Return the number of joysticks / gamecontrollers. More...
 
void loadGamepadMapping (const std::string &file)
 Loads controller mappings from given file and if possible, it opens the related controllers. More...
 
void saveGamepadMapping (const std::string guid, const std::string &file)
 Saves controller mapping for given GUID in the specified file. More...
 
void saveGamepadMappings (const std::string &file)
 Saves all controller mappings that were used during the season. More...
 
std::string getGamepadStringMapping (const std::string &guid)
 Return the controller mapping for given GUID as string. More...
 
void setGamepadStringMapping (const std::string &mapping)
 Sets controller mapping from string and adds or updates the related controllers. More...
 
- Public Member Functions inherited from FIFE::ICommandController
virtual ~ICommandController ()
 
- Public Member Functions inherited from FIFE::IKeyController
virtual ~IKeyController ()
 
- Public Member Functions inherited from FIFE::ITextController
virtual ~ITextController ()
 
- Public Member Functions inherited from FIFE::IMouseController
virtual ~IMouseController ()
 
- Public Member Functions inherited from FIFE::ISdlEventController
virtual ~ISdlEventController ()
 
- Public Member Functions inherited from FIFE::IDropController
virtual ~IDropController ()
 
- Public Member Functions inherited from FIFE::IEventSource
virtual ~IEventSource ()
 

Private Member Functions

void processWindowEvent (SDL_Event event)
 
void processKeyEvent (SDL_Event event)
 
void processTextEvent (SDL_Event event)
 
void processMouseEvent (SDL_Event event)
 
void processDropEvent (SDL_Event event)
 
bool combineEvents (SDL_Event &event1, const SDL_Event &event2)
 
bool dispatchSdlEvent (SDL_Event &evt)
 
void dispatchKeyEvent (KeyEvent &evt)
 
void dispatchTextEvent (TextEvent &evt)
 
void dispatchMouseEvent (MouseEvent &evt)
 
void dispatchDropEvent (DropEvent &evt)
 
void fillModifiers (InputEvent &evt)
 
void fillKeyEvent (const SDL_Event &sdlevt, KeyEvent &keyevt)
 
void fillTextEvent (const SDL_Event &sdlevt, TextEvent &txtevt)
 
void fillMouseEvent (const SDL_Event &sdlevt, MouseEvent &mouseevt)
 

Private Attributes

std::deque< ICommandListener * > m_commandlisteners
 
std::deque< ICommandListener * > m_pending_commandlisteners
 
std::deque< ICommandListener * > m_pending_commandlisteners_front
 
std::deque< ICommandListener * > m_pending_cldeletions
 
std::deque< IKeyListener * > m_keylisteners
 
std::deque< IKeyListener * > m_pending_keylisteners
 
std::deque< IKeyListener * > m_pending_keylisteners_front
 
std::deque< IKeyListener * > m_pending_kldeletions
 
std::deque< ITextListener * > m_textListeners
 
std::deque< ITextListener * > m_pendingTextListeners
 
std::deque< ITextListener * > m_pendingTextListenersFront
 
std::deque< ITextListener * > m_pendingTlDeletions
 
std::deque< IMouseListener * > m_mouselisteners
 
std::deque< IMouseListener * > m_pending_mouselisteners
 
std::deque< IMouseListener * > m_pending_mouselisteners_front
 
std::deque< IMouseListener * > m_pending_mldeletions
 
std::deque< ISdlEventListener * > m_sdleventlisteners
 
std::deque< ISdlEventListener * > m_pending_sdleventlisteners
 
std::deque< ISdlEventListener * > m_pending_sdleventlisteners_front
 
std::deque< ISdlEventListener * > m_pending_sdldeletions
 
std::deque< IDropListener * > m_dropListeners
 
std::deque< IDropListener * > m_pendingDropListeners
 
std::deque< IDropListener * > m_pendingDropListenersFront
 
std::deque< IDropListener * > m_pendingDlDeletions
 
std::map< int32_t, bool > m_keystatemap
 
IKeyFilterm_keyfilter
 
IMouseFilterm_mousefilter
 
int32_t m_mousestate
 
MouseEvent::MouseButtonType m_mostrecentbtn
 
float m_mouseSensitivity
 
bool m_acceleration
 
bool m_warp
 
bool m_enter
 
uint16_t m_oldX
 
uint16_t m_oldY
 
uint32_t m_lastTicks
 
float m_oldVelocity
 
JoystickManagerm_joystickManager
 

Detailed Description

Event Manager manages all events related to FIFE.

Definition at line 80 of file eventmanager.h.

Constructor & Destructor Documentation

FIFE::EventManager::EventManager ( )

Constructor.

Definition at line 48 of file eventmanager.cpp.

FIFE::EventManager::~EventManager ( )
virtual

Destructor.

Definition at line 70 of file eventmanager.cpp.

References m_joystickManager.

Member Function Documentation

void FIFE::EventManager::addCommandListener ( ICommandListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ICommandController.

Definition at line 84 of file eventmanager.cpp.

References m_pending_commandlisteners.

void FIFE::EventManager::addCommandListenerFront ( ICommandListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ICommandController.

Definition at line 88 of file eventmanager.cpp.

References m_pending_commandlisteners_front.

void FIFE::EventManager::addDropListener ( IDropListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IDropController.

Definition at line 144 of file eventmanager.cpp.

References m_pendingDropListeners.

void FIFE::EventManager::addDropListenerFront ( IDropListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IDropController.

Definition at line 148 of file eventmanager.cpp.

References m_pendingDropListenersFront.

void FIFE::EventManager::addJoystickListener ( IJoystickListener listener)
void FIFE::EventManager::addJoystickListenerFront ( IJoystickListener listener)
void FIFE::EventManager::addKeyListener ( IKeyListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IKeyController.

Definition at line 96 of file eventmanager.cpp.

References m_pending_keylisteners.

void FIFE::EventManager::addKeyListenerFront ( IKeyListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IKeyController.

Definition at line 100 of file eventmanager.cpp.

References m_pending_keylisteners_front.

void FIFE::EventManager::addMouseListener ( IMouseListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IMouseController.

Definition at line 120 of file eventmanager.cpp.

References m_pending_mouselisteners.

void FIFE::EventManager::addMouseListenerFront ( IMouseListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::IMouseController.

Definition at line 124 of file eventmanager.cpp.

References m_pending_mouselisteners_front.

void FIFE::EventManager::addSdlEventListener ( ISdlEventListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ISdlEventController.

Definition at line 132 of file eventmanager.cpp.

References m_pending_sdleventlisteners.

void FIFE::EventManager::addSdlEventListenerFront ( ISdlEventListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ISdlEventController.

Definition at line 136 of file eventmanager.cpp.

References m_pending_sdleventlisteners_front.

void FIFE::EventManager::addTextListener ( ITextListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ITextController.

Definition at line 108 of file eventmanager.cpp.

References m_pendingTextListeners.

void FIFE::EventManager::addTextListenerFront ( ITextListener listener)
virtual

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

Parameters
listenerlistener to add

Implements FIFE::ITextController.

Definition at line 112 of file eventmanager.cpp.

References m_pendingTextListenersFront.

bool FIFE::EventManager::combineEvents ( SDL_Event &  event1,
const SDL_Event &  event2 
)
private

Definition at line 488 of file eventmanager.cpp.

Referenced by processEvents().

+ Here is the caller graph for this function:

void FIFE::EventManager::dispatchCommand ( Command command)
virtual

Use this method to send command to command listeners.

Parameters
commandcommand to dispatch

Implements FIFE::ICommandController.

Definition at line 174 of file eventmanager.cpp.

References FIFE::Command::isConsumed(), m_commandlisteners, m_pending_cldeletions, m_pending_commandlisteners, and m_pending_commandlisteners_front.

Referenced by processEvents(), and processWindowEvent().

+ Here is the caller graph for this function:

void FIFE::EventManager::dispatchDropEvent ( DropEvent evt)
private

Definition at line 446 of file eventmanager.cpp.

References m_dropListeners, m_pendingDlDeletions, m_pendingDropListeners, and m_pendingDropListenersFront.

Referenced by processDropEvent().

+ Here is the caller graph for this function:

void FIFE::EventManager::dispatchKeyEvent ( KeyEvent evt)
private
bool FIFE::EventManager::dispatchSdlEvent ( SDL_Event &  evt)
private
void FIFE::EventManager::dispatchTextEvent ( TextEvent evt)
private
void FIFE::EventManager::fillKeyEvent ( const SDL_Event &  sdlevt,
KeyEvent keyevt 
)
private
void FIFE::EventManager::fillTextEvent ( const SDL_Event &  sdlevt,
TextEvent txtevt 
)
private

Definition at line 836 of file eventmanager.cpp.

References FIFE::_log, FIFE::TextEvent::EDIT, FL_WARN, FIFE::TextEvent::INPUT, FIFE::TextEvent::setText(), and FIFE::TextEvent::setType().

Referenced by processTextEvent().

+ Here is the caller graph for this function:

std::string FIFE::EventManager::getClipboardText ( ) const

Returns the clipboard text as UTF-8 string.

Returns
UTF-8 string or an empty string if the cliboard have no text.

Definition at line 898 of file eventmanager.cpp.

EventSourceType FIFE::EventManager::getEventSourceType ( )
virtual

Gets the source type of this event.

Returns
source type of this event

Implements FIFE::IEventSource.

Definition at line 861 of file eventmanager.cpp.

References FIFE::ES_ENGINE.

std::string FIFE::EventManager::getGamepadStringMapping ( const std::string &  guid)

Return the controller mapping for given GUID as string.

Definition at line 951 of file eventmanager.cpp.

References FIFE::JoystickManager::getStringMapping(), and m_joystickManager.

Joystick * FIFE::EventManager::getJoystick ( int32_t  instanceId)

Return the joystick with the given instance id.

Definition at line 919 of file eventmanager.cpp.

References FIFE::JoystickManager::getJoystick(), and m_joystickManager.

uint8_t FIFE::EventManager::getJoystickCount ( ) const

Return the number of joysticks / gamecontrollers.

Definition at line 926 of file eventmanager.cpp.

References FIFE::JoystickManager::getJoystickCount(), and m_joystickManager.

float FIFE::EventManager::getMouseSensitivity ( ) const

Gets mouse sensitivity.

Definition at line 882 of file eventmanager.cpp.

References m_mouseSensitivity.

bool FIFE::EventManager::isClipboardText ( ) const

Returns if clipboard have text or not.

Returns
True if the clipboard contains text, false if not.

Definition at line 894 of file eventmanager.cpp.

bool FIFE::EventManager::isMouseAccelerationEnabled ( ) const

Returns if mouse acceleration is enabled or not.

Returns
True if mouse acceleration is enabled, false if not.

Definition at line 890 of file eventmanager.cpp.

References m_acceleration.

void FIFE::EventManager::loadGamepadMapping ( const std::string &  file)

Loads controller mappings from given file and if possible, it opens the related controllers.

Definition at line 933 of file eventmanager.cpp.

References FIFE::JoystickManager::loadMapping(), and m_joystickManager.

void FIFE::EventManager::processDropEvent ( SDL_Event  event)
private

Definition at line 730 of file eventmanager.cpp.

References dispatchDropEvent(), FIFE::DropEvent::setPath(), and FIFE::DropEvent::setSource().

Referenced by processEvents().

+ Here is the caller graph for this function:

void FIFE::EventManager::processEvents ( )

Process the SDL event queue.

This is to be called only by the engine itself once per frame. It passes appropriate events to their listeners

Definition at line 505 of file eventmanager.cpp.

References FIFE::CMD_QUIT_GAME, combineEvents(), dispatchCommand(), m_joystickManager, FIFE::JoystickManager::processControllerEvent(), processDropEvent(), FIFE::JoystickManager::processJoystickEvent(), processKeyEvent(), processMouseEvent(), processTextEvent(), processWindowEvent(), FIFE::Command::setCommandType(), and FIFE::Command::setSource().

Referenced by FIFE::Engine::initializePumping(), and FIFE::Engine::pump().

+ Here is the caller graph for this function:

void FIFE::EventManager::processKeyEvent ( SDL_Event  event)
private
void FIFE::EventManager::processTextEvent ( SDL_Event  event)
private

Definition at line 636 of file eventmanager.cpp.

References dispatchSdlEvent(), dispatchTextEvent(), fillTextEvent(), and FIFE::TextEvent::setSource().

Referenced by processEvents().

+ Here is the caller graph for this function:

void FIFE::EventManager::processWindowEvent ( SDL_Event  event)
private
void FIFE::EventManager::removeCommandListener ( ICommandListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ICommandController.

Definition at line 92 of file eventmanager.cpp.

References m_pending_cldeletions.

void FIFE::EventManager::removeDropListener ( IDropListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IDropController.

Definition at line 152 of file eventmanager.cpp.

References m_pendingDlDeletions.

void FIFE::EventManager::removeJoystickListener ( IJoystickListener listener)
void FIFE::EventManager::removeKeyListener ( IKeyListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IKeyController.

Definition at line 104 of file eventmanager.cpp.

References m_pending_kldeletions.

void FIFE::EventManager::removeMouseListener ( IMouseListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::IMouseController.

Definition at line 128 of file eventmanager.cpp.

References m_pending_mldeletions.

void FIFE::EventManager::removeSdlEventListener ( ISdlEventListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ISdlEventController.

Definition at line 140 of file eventmanager.cpp.

References m_pending_sdldeletions.

void FIFE::EventManager::removeTextListener ( ITextListener listener)
virtual

Removes an added listener from the controller.

Listener will not be notified anymore via the corresponding events

Parameters
listenerlistener to remove

Implements FIFE::ITextController.

Definition at line 116 of file eventmanager.cpp.

References m_pendingTlDeletions.

void FIFE::EventManager::saveGamepadMapping ( const std::string  guid,
const std::string &  file 
)

Saves controller mapping for given GUID in the specified file.

Definition at line 939 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::saveMapping().

void FIFE::EventManager::saveGamepadMappings ( const std::string &  file)

Saves all controller mappings that were used during the season.

Definition at line 945 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::saveMappings().

void FIFE::EventManager::setClipboardText ( const std::string &  text)

Sets clipboard text.

Parameters
textThe text in UTF-8 format.

Definition at line 906 of file eventmanager.cpp.

void FIFE::EventManager::setGamepadStringMapping ( const std::string &  mapping)

Sets controller mapping from string and adds or updates the related controllers.

Definition at line 959 of file eventmanager.cpp.

References m_joystickManager, and FIFE::JoystickManager::setStringMapping().

void FIFE::EventManager::setJoystickSupport ( bool  support)

Sets the joystick support to enabled or disabled.

Definition at line 910 of file eventmanager.cpp.

References m_joystickManager.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

void FIFE::EventManager::setKeyFilter ( IKeyFilter keyFilter)

Definition at line 865 of file eventmanager.cpp.

References m_keyfilter.

void FIFE::EventManager::setMouseAccelerationEnabled ( bool  acceleration)

Sets mouse acceleration if mouse acceleration is enabled, then the mouse sensitivity is used as speed max.

Definition at line 886 of file eventmanager.cpp.

References m_acceleration.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

void FIFE::EventManager::setMouseFilter ( IMouseFilter mouseFilter)

Definition at line 869 of file eventmanager.cpp.

References m_mousefilter.

void FIFE::EventManager::setMouseSensitivity ( float  sensitivity)

Sets mouse sensitivity The sensitivity is limited to the range -0.99 - 10.0.

Definition at line 873 of file eventmanager.cpp.

References m_mouseSensitivity.

Referenced by FIFE::Engine::init().

+ Here is the caller graph for this function:

Member Data Documentation

bool FIFE::EventManager::m_acceleration
private
std::deque<ICommandListener*> FIFE::EventManager::m_commandlisteners
private

Definition at line 232 of file eventmanager.h.

Referenced by dispatchCommand().

std::deque<IDropListener*> FIFE::EventManager::m_dropListeners
private

Definition at line 257 of file eventmanager.h.

Referenced by dispatchDropEvent().

bool FIFE::EventManager::m_enter
private

Definition at line 274 of file eventmanager.h.

Referenced by processMouseEvent().

IKeyFilter* FIFE::EventManager::m_keyfilter
private

Definition at line 263 of file eventmanager.h.

Referenced by processKeyEvent(), and setKeyFilter().

std::deque<IKeyListener*> FIFE::EventManager::m_keylisteners
private

Definition at line 237 of file eventmanager.h.

Referenced by dispatchKeyEvent().

std::map<int32_t, bool> FIFE::EventManager::m_keystatemap
private

Definition at line 262 of file eventmanager.h.

Referenced by fillModifiers(), and processKeyEvent().

uint32_t FIFE::EventManager::m_lastTicks
private

Definition at line 277 of file eventmanager.h.

Referenced by processMouseEvent().

MouseEvent::MouseButtonType FIFE::EventManager::m_mostrecentbtn
private

Definition at line 266 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().

IMouseFilter* FIFE::EventManager::m_mousefilter
private

Definition at line 264 of file eventmanager.h.

Referenced by processMouseEvent(), and setMouseFilter().

std::deque<IMouseListener*> FIFE::EventManager::m_mouselisteners
private

Definition at line 247 of file eventmanager.h.

Referenced by dispatchMouseEvent().

float FIFE::EventManager::m_mouseSensitivity
private

Definition at line 271 of file eventmanager.h.

Referenced by getMouseSensitivity(), processMouseEvent(), and setMouseSensitivity().

int32_t FIFE::EventManager::m_mousestate
private

Definition at line 265 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().

float FIFE::EventManager::m_oldVelocity
private

Definition at line 278 of file eventmanager.h.

Referenced by processMouseEvent().

uint16_t FIFE::EventManager::m_oldX
private

Definition at line 275 of file eventmanager.h.

Referenced by processMouseEvent().

uint16_t FIFE::EventManager::m_oldY
private

Definition at line 276 of file eventmanager.h.

Referenced by processMouseEvent().

std::deque<ICommandListener*> FIFE::EventManager::m_pending_cldeletions
private

Definition at line 235 of file eventmanager.h.

Referenced by dispatchCommand(), and removeCommandListener().

std::deque<ICommandListener*> FIFE::EventManager::m_pending_commandlisteners
private

Definition at line 233 of file eventmanager.h.

Referenced by addCommandListener(), and dispatchCommand().

std::deque<ICommandListener*> FIFE::EventManager::m_pending_commandlisteners_front
private

Definition at line 234 of file eventmanager.h.

Referenced by addCommandListenerFront(), and dispatchCommand().

std::deque<IKeyListener*> FIFE::EventManager::m_pending_keylisteners
private

Definition at line 238 of file eventmanager.h.

Referenced by addKeyListener(), and dispatchKeyEvent().

std::deque<IKeyListener*> FIFE::EventManager::m_pending_keylisteners_front
private

Definition at line 239 of file eventmanager.h.

Referenced by addKeyListenerFront(), and dispatchKeyEvent().

std::deque<IKeyListener*> FIFE::EventManager::m_pending_kldeletions
private

Definition at line 240 of file eventmanager.h.

Referenced by dispatchKeyEvent(), and removeKeyListener().

std::deque<IMouseListener*> FIFE::EventManager::m_pending_mldeletions
private

Definition at line 250 of file eventmanager.h.

Referenced by dispatchMouseEvent(), and removeMouseListener().

std::deque<IMouseListener*> FIFE::EventManager::m_pending_mouselisteners
private

Definition at line 248 of file eventmanager.h.

Referenced by addMouseListener(), and dispatchMouseEvent().

std::deque<IMouseListener*> FIFE::EventManager::m_pending_mouselisteners_front
private

Definition at line 249 of file eventmanager.h.

Referenced by addMouseListenerFront(), and dispatchMouseEvent().

std::deque<ISdlEventListener*> FIFE::EventManager::m_pending_sdldeletions
private

Definition at line 255 of file eventmanager.h.

Referenced by dispatchSdlEvent(), and removeSdlEventListener().

std::deque<ISdlEventListener*> FIFE::EventManager::m_pending_sdleventlisteners
private

Definition at line 253 of file eventmanager.h.

Referenced by addSdlEventListener(), and dispatchSdlEvent().

std::deque<ISdlEventListener*> FIFE::EventManager::m_pending_sdleventlisteners_front
private

Definition at line 254 of file eventmanager.h.

Referenced by addSdlEventListenerFront(), and dispatchSdlEvent().

std::deque<IDropListener*> FIFE::EventManager::m_pendingDlDeletions
private

Definition at line 260 of file eventmanager.h.

Referenced by dispatchDropEvent(), and removeDropListener().

std::deque<IDropListener*> FIFE::EventManager::m_pendingDropListeners
private

Definition at line 258 of file eventmanager.h.

Referenced by addDropListener(), and dispatchDropEvent().

std::deque<IDropListener*> FIFE::EventManager::m_pendingDropListenersFront
private

Definition at line 259 of file eventmanager.h.

Referenced by addDropListenerFront(), and dispatchDropEvent().

std::deque<ITextListener*> FIFE::EventManager::m_pendingTextListeners
private

Definition at line 243 of file eventmanager.h.

Referenced by addTextListener(), and dispatchTextEvent().

std::deque<ITextListener*> FIFE::EventManager::m_pendingTextListenersFront
private

Definition at line 244 of file eventmanager.h.

Referenced by addTextListenerFront(), and dispatchTextEvent().

std::deque<ITextListener*> FIFE::EventManager::m_pendingTlDeletions
private

Definition at line 245 of file eventmanager.h.

Referenced by dispatchTextEvent(), and removeTextListener().

std::deque<ISdlEventListener*> FIFE::EventManager::m_sdleventlisteners
private

Definition at line 252 of file eventmanager.h.

Referenced by dispatchSdlEvent().

std::deque<ITextListener*> FIFE::EventManager::m_textListeners
private

Definition at line 242 of file eventmanager.h.

Referenced by dispatchTextEvent().

bool FIFE::EventManager::m_warp
private

Definition at line 273 of file eventmanager.h.

Referenced by fillMouseEvent(), and processMouseEvent().


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