flimEngine
KeyboardEventManager Class Reference

#include <KeyboardEventManager.h>

Collaboration diagram for KeyboardEventManager:
Collaboration graph

Public Member Functions

 KeyboardEventManager ()=default
 
 ~KeyboardEventManager ()
 
KeyboardEventManageroperator= (const KeyboardEventManager &)=default
 
 KeyboardEventManager (const KeyboardEventManager &)=default
 
void Register (Inputable *in, AZUL_KEY k, input_type in_type)
 Registers an inputable to a certain input event on the given key. More...
 
void Deregister (Inputable *in, AZUL_KEY k, input_type in_type)
 Deregisters an inputable to a certain input event on the given key. More...
 
void ProcessKeys ()
 Process the registered inputables. More...
 

Private Attributes

std::map< AZUL_KEY, KeyEvent * > keyManagers
 

Constructor & Destructor Documentation

◆ KeyboardEventManager() [1/2]

KeyboardEventManager::KeyboardEventManager ( )
default

◆ ~KeyboardEventManager()

KeyboardEventManager::~KeyboardEventManager ( )

◆ KeyboardEventManager() [2/2]

KeyboardEventManager::KeyboardEventManager ( const KeyboardEventManager )
default

Member Function Documentation

◆ operator=()

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

◆ ProcessKeys()

void KeyboardEventManager::ProcessKeys ( )

Process the registered inputables.

Author
Jack Campbell
Date
3/5/2017

Member Data Documentation

◆ keyManagers

std::map<AZUL_KEY, KeyEvent*> KeyboardEventManager::keyManagers
private

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