cae  0.0.0
Cross-API graphics engine
Loading...
Searching...
No Matches
cae::IKeyboard Interface Referenceabstract

Interface for keyboard. More...

#include <IKeyboard.hpp>

+ Inheritance diagram for cae::IKeyboard:
+ Collaboration diagram for cae::IKeyboard:

Public Member Functions

 ~IKeyboard () override=default
 
virtual bool isKeyPressed (KeyCode keyCode) const =0
 
- Public Member Functions inherited from utl::IPlugin
virtual ~IPlugin ()=default
 
virtual std::string getName () const =0
 Get the name of the plugin.
 
virtual PluginType getType () const =0
 Get the type of the plugin.
 
virtual PluginPlatform getPlatform () const =0
 Get the handled platform of the plugin.
 

Private Attributes

std::array< KeyState, static_cast< size_t >(KeyCode::Count)> m_keyMap {}
 

Detailed Description

Interface for keyboard.

Definition at line 23 of file IKeyboard.hpp.

Constructor & Destructor Documentation

◆ ~IKeyboard()

cae::IKeyboard::~IKeyboard ( )
overridedefault

Member Function Documentation

◆ isKeyPressed()

virtual bool cae::IKeyboard::isKeyPressed ( KeyCode keyCode) const
pure virtual

Member Data Documentation

◆ m_keyMap

std::array<KeyState, static_cast<size_t>(KeyCode::Count)> cae::IKeyboard::m_keyMap {}
private

Definition at line 32 of file IKeyboard.hpp.


The documentation for this interface was generated from the following file: