Sly Engine
|
#include <KeyboardEventManager.h>
Public Types | |
typedef std::map< AZUL_KEY, SingleKeyEventManager * > | MapKeyManager |
Defines an alias representing manager for map key. More... | |
Public Member Functions | |
KeyboardEventManager ()=default | |
Default constructor. More... | |
KeyboardEventManager (const KeyboardEventManager &)=delete | |
Copy constructor. More... | |
KeyboardEventManager (KeyboardEventManager &&)=delete | |
Move constructor. More... | |
KeyboardEventManager & | operator= (const KeyboardEventManager &)=delete |
Assignment operator. More... | |
KeyboardEventManager & | operator= (KeyboardEventManager &&)=delete |
Move assignment operator. More... | |
~KeyboardEventManager () | |
Deconstructor. More... | |
void | ProcessKeyEvents () |
Make all items within MapKeyManager called their process. More... | |
void | Register (Inputable *inputCallback, AZUL_KEY k, Inputable::EVENT_TYPE e) |
Registers this. More... | |
void | Deregister (Inputable *inputCallback, AZUL_KEY k, Inputable::EVENT_TYPE e) |
Deregisters this. More... | |
Private Attributes | |
MapKeyManager | mapSKMgrs |
The map sk mgrs. More... | |
std::map< AZUL_KEY, SingleKeyEventManager * > KeyboardEventManager::MapKeyManager |
Defines an alias representing manager for map key.
|
default |
Default constructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
KeyboardEventManager::~KeyboardEventManager | ( | ) |
Deconstructor.
void KeyboardEventManager::Deregister | ( | Inputable * | inputCallback, |
AZUL_KEY | k, | ||
Inputable::EVENT_TYPE | e | ||
) |
Deregisters this.
[in,out] | inputCallback | If non-null, the input callback. |
k | An AZUL_KEY to process. | |
e | An Inputable::EVENT_TYPE to process. |
|
delete |
Assignment operator.
|
delete |
Move assignment operator.
void KeyboardEventManager::ProcessKeyEvents | ( | ) |
Make all items within MapKeyManager called their process.
void KeyboardEventManager::Register | ( | Inputable * | inputCallback, |
AZUL_KEY | k, | ||
Inputable::EVENT_TYPE | e | ||
) |
Registers this.
[in,out] | inputCallback | If non-null, the input callback. |
k | An AZUL_KEY to process. | |
e | An Inputable::EVENT_TYPE to process. |
|
private |
The map sk mgrs.