VR-Forces 4.0.4 Class Documentation
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtReverseKeyMap Class Reference

a Reverse Key Map allows us to easily look up all the key bindings associated with a given function in a key map. More...

List of all members.

Public Types

typedef std::list< DtKeyMapping * > MappedKeyList
typedef std::map< std::string,
MappedKeyList * > 
ReverseKeyMap
 Used for reverse key map; maps function name to all the key events mapped to it.

Public Member Functions

 DtReverseKeyMap ()
 CTOR.
virtual ~DtReverseKeyMap ()
 DTOR.
 DtReverseKeyMap (const DtReverseKeyMap &orig)
 Copy Constructor (Deep copy)
DtReverseKeyMapoperator= (const DtReverseKeyMap &orig)
 Assignment Operator (Deep copy)
ReverseKeyMapmap ()
const ReverseKeyMapmap () const
void addKeyBinding (std::string functionName, DtKeyState::KeyType key, DtKeyState::KeyModifier modifiers, DtKeyEvent::KeyEventType eventType)
void removeKeyBinding (std::string functionName, DtKeyState::KeyType key, DtKeyState::KeyModifier modifiers, DtKeyEvent::KeyEventType eventType)
void clearMap ()

Protected Member Functions

void copyMap (const ReverseKeyMap &orig)

Protected Attributes

ReverseKeyMap myReverseKeyMap

Detailed Description

a Reverse Key Map allows us to easily look up all the key bindings associated with a given function in a key map.

It's generated when a key map is loaded, and any time the map is changed.


Member Typedef Documentation

typedef std::map<std::string, MappedKeyList*> makVrv::DtReverseKeyMap::ReverseKeyMap

Used for reverse key map; maps function name to all the key events mapped to it.


Constructor & Destructor Documentation

CTOR.

DTOR.

Copy Constructor (Deep copy)


Member Function Documentation

DtReverseKeyMap& makVrv::DtReverseKeyMap::operator= ( const DtReverseKeyMap orig)

Assignment Operator (Deep copy)

void makVrv::DtReverseKeyMap::addKeyBinding ( std::string  functionName,
DtKeyState::KeyType  key,
DtKeyState::KeyModifier  modifiers,
DtKeyEvent::KeyEventType  eventType 
)
void makVrv::DtReverseKeyMap::removeKeyBinding ( std::string  functionName,
DtKeyState::KeyType  key,
DtKeyState::KeyModifier  modifiers,
DtKeyEvent::KeyEventType  eventType 
)
void makVrv::DtReverseKeyMap::copyMap ( const ReverseKeyMap orig) [protected]

Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)