Sly Engine
KeyboardEventManager Class Reference

#include <KeyboardEventManager.h>

Collaboration diagram for KeyboardEventManager:
Collaboration graph

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...
 
KeyboardEventManageroperator= (const KeyboardEventManager &)=delete
 Assignment operator. More...
 
KeyboardEventManageroperator= (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...
 

Member Typedef Documentation

◆ MapKeyManager

Defines an alias representing manager for map key.

Constructor & Destructor Documentation

◆ KeyboardEventManager() [1/3]

KeyboardEventManager::KeyboardEventManager ( )
default

Default constructor.

◆ KeyboardEventManager() [2/3]

KeyboardEventManager::KeyboardEventManager ( const KeyboardEventManager )
delete

Copy constructor.

◆ KeyboardEventManager() [3/3]

KeyboardEventManager::KeyboardEventManager ( KeyboardEventManager &&  )
delete

Move constructor.

◆ ~KeyboardEventManager()

KeyboardEventManager::~KeyboardEventManager ( )

Deconstructor.

Member Function Documentation

◆ Deregister()

void KeyboardEventManager::Deregister ( Inputable inputCallback,
AZUL_KEY  k,
Inputable::EVENT_TYPE  e 
)

Deregisters this.

Parameters
[in,out]inputCallbackIf non-null, the input callback.
kAn AZUL_KEY to process.
eAn Inputable::EVENT_TYPE to process.
Here is the caller graph for this function:

◆ operator=() [1/2]

KeyboardEventManager& KeyboardEventManager::operator= ( const KeyboardEventManager )
delete

Assignment operator.

◆ operator=() [2/2]

KeyboardEventManager& KeyboardEventManager::operator= ( KeyboardEventManager &&  )
delete

Move assignment operator.

◆ ProcessKeyEvents()

void KeyboardEventManager::ProcessKeyEvents ( )

Make all items within MapKeyManager called their process.

Here is the caller graph for this function:

◆ Register()

void KeyboardEventManager::Register ( Inputable inputCallback,
AZUL_KEY  k,
Inputable::EVENT_TYPE  e 
)

Registers this.

Parameters
[in,out]inputCallbackIf non-null, the input callback.
kAn AZUL_KEY to process.
eAn Inputable::EVENT_TYPE to process.
Here is the caller graph for this function:

Member Data Documentation

◆ mapSKMgrs

MapKeyManager KeyboardEventManager::mapSKMgrs
private

The map sk mgrs.


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