Enigma  3.2.0
A Simple, Reliable and Efficient Encryption Tool
KeyTypedEvent Class Reference

#include <KeyEvent.hpp>

Inheritance diagram for KeyTypedEvent:
KeyEvent Event

Public Member Functions

 KeyTypedEvent (const KeyCode keyCode)
 
std::string ToString () const override
 
- Public Member Functions inherited from KeyEvent
KeyCode GetKeyCode () const noexcept
 
- Public Member Functions inherited from Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual std::uint32_t GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category) const noexcept
 
bool IsHandled () const noexcept
 
void SetHandled (const bool handled) noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from KeyEvent
 KeyEvent (const KeyCode keyCode)
 
- Protected Attributes inherited from KeyEvent
KeyCode m_key_code
 
- Protected Attributes inherited from Event
bool m_isHandled {false}
 

Detailed Description

Keyboard button type Event

Definition at line 64 of file KeyEvent.hpp.

Constructor & Destructor Documentation

◆ KeyTypedEvent()

KeyTypedEvent::KeyTypedEvent ( const KeyCode  keyCode)
inlineexplicit

Definition at line 66 of file KeyEvent.hpp.

Member Function Documentation

◆ ToString()

std::string KeyTypedEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from Event.

Definition at line 69 of file KeyEvent.hpp.


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