Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::core::IKeyGroupTable Class Reference

Interface class for scan code translation. More...

#include <cr_keyboard.h>

Inheritance diagram for darc::core::IKeyGroupTable:
darc::protox::KeyGroupTable_DIK_GE

List of all members.

Public Member Functions

 IKeyGroupTable ()
virtual std::map< Byte, UInt > * GetScanToBase ()=0
virtual std::map< UInt,
KeyGroup > * 
GetBaseToKeyGroup ()=0
 Returns a DC_KeyGroupContainer object for a specific keyboard layout.
wstring GetPrintableCharacter (Byte _key, const IKeyboardScanner *_pScanner) const

Protected Member Functions

void Setup ()
 This function populates m_pKeyGroup and should be called in the derived classes' constructor.

Protected Attributes

KeyGroup m_pKeyGroup [256]

Detailed Description

Interface class for scan code translation.


Constructor & Destructor Documentation


Member Function Documentation

virtual std::map<UInt, KeyGroup>* darc::core::IKeyGroupTable::GetBaseToKeyGroup ( ) [pure virtual]

Returns a DC_KeyGroupContainer object for a specific keyboard layout.

Implemented in darc::protox::KeyGroupTable_DIK_GE.

wstring darc::core::IKeyGroupTable::GetPrintableCharacter ( Byte  _key,
const IKeyboardScanner _pScanner 
) const [inline]
virtual std::map<Byte, UInt>* darc::core::IKeyGroupTable::GetScanToBase ( ) [pure virtual]
void darc::core::IKeyGroupTable::Setup ( ) [protected]

This function populates m_pKeyGroup and should be called in the derived classes' constructor.


Member Data Documentation


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