All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4KeyboardCallbackInterface Class Referenceabstract

#include <C4KeyboardInput.h>

Inheritance diagram for C4KeyboardCallbackInterface:
Collaboration diagram for C4KeyboardCallbackInterface:

Public Member Functions

virtual bool OnKeyEvent (const C4KeyCodeEx &key, C4KeyEventType eEv)=0
void Ref ()
void Deref ()
 C4KeyboardCallbackInterface ()=default
virtual ~C4KeyboardCallbackInterface ()=default
bool IsOriginalKey (const class C4CustomKey *pCheckKey) const

Public Attributes

class C4CustomKeypOriginalKey {nullptr}


class C4KeyboardMapping

Detailed Description

Definition at line 270 of file C4KeyboardInput.h.

Constructor & Destructor Documentation

C4KeyboardCallbackInterface::C4KeyboardCallbackInterface ( )
virtual C4KeyboardCallbackInterface::~C4KeyboardCallbackInterface ( )

Member Function Documentation

void C4KeyboardCallbackInterface::Deref ( )

Definition at line 284 of file C4KeyboardInput.h.

Referenced by C4CustomKey::KillCallbacks().

284 { if (!--iRef) delete this; }

Here is the caller graph for this function:

bool C4KeyboardCallbackInterface::IsOriginalKey ( const class C4CustomKey pCheckKey) const

Definition at line 289 of file C4KeyboardInput.h.

References pOriginalKey.

Referenced by C4KeyboardCallbackInterfaceHasOriginalKey().

289 { return pCheckKey == pOriginalKey; }
class C4CustomKey * pOriginalKey

Here is the caller graph for this function:

virtual bool C4KeyboardCallbackInterface::OnKeyEvent ( const C4KeyCodeEx key,
C4KeyEventType  eEv 
pure virtual
void C4KeyboardCallbackInterface::Ref ( )

Definition at line 283 of file C4KeyboardInput.h.

Referenced by C4CustomKey::C4CustomKey().

283 { ++iRef; }

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class C4KeyboardMapping

Definition at line 280 of file C4KeyboardInput.h.

Member Data Documentation

class C4CustomKey* C4KeyboardCallbackInterface::pOriginalKey {nullptr}

Definition at line 275 of file C4KeyboardInput.h.

Referenced by C4CustomKey::C4CustomKey(), and IsOriginalKey().

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