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

#include <KeyEvent.hpp>

Inheritance diagram for KeyReleasedEvent:
KeyEvent Event

Public Member Functions

 KeyReleasedEvent (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 release Event

Definition at line 49 of file KeyEvent.hpp.

Constructor & Destructor Documentation

◆ KeyReleasedEvent()

KeyReleasedEvent::KeyReleasedEvent ( const KeyCode  keyCode)
inlineexplicit

Definition at line 51 of file KeyEvent.hpp.

Member Function Documentation

◆ ToString()

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

Reimplemented from Event.

Definition at line 54 of file KeyEvent.hpp.


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