![]() |
VR-Forces 4.10 Class Documentation
|
This class encapsulates a Key event. More...

Public Types | |
| enum | KeyEventType { NO_EVENT = 0, KEY_DOWN, KEY_UP } |
| Enumerate the types of key events supported. More... | |
Public Member Functions | |
| DtKeyEvent () | |
| Default constructor. More... | |
| DtKeyEvent (KeyEventType eventType, const DtKeyState &KeyState) | |
| Construct a Key event. More... | |
| virtual | ~DtKeyEvent () |
| Destructor. More... | |
| DtKeyEvent (const DtKeyEvent &) | |
| Copy constructor. More... | |
| DtKeyEvent & | operator= (const DtKeyEvent &) |
| Assignment operator. More... | |
| const DtKeyState & | keyState () const |
| Get the state object associated with this event. More... | |
| DtKeyState & | keyState () |
| Get the state object associated with this event. More... | |
| virtual void | setKeyState (const DtKeyState &keyState) |
| Set the state object associated with this event. More... | |
| DtKeyEvent::KeyEventType | eventType () const |
| Get the event type this event. More... | |
| virtual void | setEventType (DtKeyEvent::KeyEventType eventType) |
| Set the event type this event. More... | |
Protected Attributes | |
| DtKeyEvent::KeyEventType | myEventType |
| DtKeyState | myKeyState |
This class encapsulates a Key event.
| makVrv::DtKeyEvent::DtKeyEvent | ( | ) |
Default constructor.
| makVrv::DtKeyEvent::DtKeyEvent | ( | KeyEventType | eventType, |
| const DtKeyState & | KeyState | ||
| ) |
Construct a Key event.
|
virtual |
Destructor.
| makVrv::DtKeyEvent::DtKeyEvent | ( | const DtKeyEvent & | ) |
Copy constructor.
| DtKeyEvent& makVrv::DtKeyEvent::operator= | ( | const DtKeyEvent & | ) |
Assignment operator.
|
inline |
Get the state object associated with this event.
|
inline |
Get the state object associated with this event.
|
virtual |
Set the state object associated with this event.
|
inline |
Get the event type this event.
|
virtual |
Set the event type this event.
|
protected |
|
protected |