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

This class encapsulates a Key event. More...

Inheritance diagram for makVrv::DtKeyEvent:
Inheritance graph
[legend]

List of all members.

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.
 DtKeyEvent (KeyEventType eventType, const DtKeyState &KeyState)
 Construct a Key event.
virtual ~DtKeyEvent ()
 Destructor.
 DtKeyEvent (const DtKeyEvent &)
 Copy constructor.
DtKeyEventoperator= (const DtKeyEvent &)
 Assignment operator.
const DtKeyStatekeyState () const
 Get the state object associated with this event.
DtKeyStatekeyState ()
 Get the state object associated with this event.
virtual void setKeyState (const DtKeyState &keyState)
 Set the state object associated with this event.
DtKeyEvent::KeyEventType eventType () const
 Get the event type this event.
virtual void setEventType (DtKeyEvent::KeyEventType eventType)
 Set the event type this event.

Protected Attributes

DtKeyEvent::KeyEventType myEventType
DtKeyState myKeyState

Detailed Description

This class encapsulates a Key event.


Member Enumeration Documentation

Enumerate the types of key events supported.

Enumerator:
NO_EVENT 
KEY_DOWN 
KEY_UP 

Constructor & Destructor Documentation

Default constructor.

makVrv::DtKeyEvent::DtKeyEvent ( KeyEventType  eventType,
const DtKeyState KeyState 
)

Construct a Key event.

virtual makVrv::DtKeyEvent::~DtKeyEvent ( ) [virtual]

Destructor.

Copy constructor.


Member Function Documentation

DtKeyEvent& makVrv::DtKeyEvent::operator= ( const DtKeyEvent )

Assignment operator.

const DtKeyState& makVrv::DtKeyEvent::keyState ( ) const [inline]

Get the state object associated with this event.

Get the state object associated with this event.

virtual void makVrv::DtKeyEvent::setKeyState ( const DtKeyState keyState) [virtual]

Set the state object associated with this event.

Get the event type this event.

virtual void makVrv::DtKeyEvent::setEventType ( DtKeyEvent::KeyEventType  eventType) [virtual]

Set the event type this event.


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)