igor::iEventKeyASCII Class Reference

#include <iEventKeyboard.h>

Inherits igor::iEvent.

Public Member Functions

 iEventKeyASCII (iWindowPtr window, const char character)
 
iEventKindMask getEventKindMask () const override
 
virtual const iaString getInfo () const override
 
char getChar () const
 
- Public Member Functions inherited from igor::iEvent
 iEvent (iWindowPtr window=nullptr)
 
virtual ~iEvent ()=default
 
bool isOfKind (const iEventKind kind)
 
virtual iEventType getEventType () const =0
 
virtual iEventKindMask getEventKindMask () const =0
 
virtual const iaString getName () const =0
 
virtual const iaString getInfo () const
 
iWindowPtr getWindow () const
 
bool isConsumed () const
 
void consume ()
 
template<typename T , typename F >
bool dispatch (const F &func)
 

Detailed Description

key ascii event

Constructor & Destructor Documentation

◆ iEventKeyASCII()

igor::iEventKeyASCII::iEventKeyASCII ( iWindowPtr  window,
const char  character 
)

init members

Parameters
windowthe window this event came from
keythe key code used in this event

Member Function Documentation

◆ getChar()

char igor::iEventKeyASCII::getChar ( ) const
Returns
the key code

◆ getEventKindMask()

iEventKindMask igor::iEventKeyASCII::getEventKindMask ( ) const
overridevirtual
Returns
event kind mask

Implements igor::iEvent.

◆ getInfo()

const iaString igor::iEventKeyASCII::getInfo ( ) const
overridevirtual
Returns
information to event

Reimplemented from igor::iEvent.


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