sofa::core::objectmodel::KeypressedEvent Class Reference

This event is propagated along the objects when a key on the keyboard is pressed. More...

#include <KeypressedEvent.h>

Inheritance diagram for sofa::core::objectmodel::KeypressedEvent:

Inheritance graph
[legend]
Collaboration diagram for sofa::core::objectmodel::KeypressedEvent:

Collaboration graph
[legend]

Public Member Functions

 KeypressedEvent (char)
 Constructor.
 ~KeypressedEvent ()
 Destructor.
char getKey () const
 Return the key pressed.

Protected Attributes

char m_char
 Store the key.

Detailed Description

This event is propagated along the objects when a key on the keyboard is pressed.

Author:
Francois Faure

Definition at line 45 of file KeypressedEvent.h.


Constructor & Destructor Documentation

sofa::core::objectmodel::KeypressedEvent::KeypressedEvent ( char  c  ) 

Constructor.

Definition at line 49 of file KeypressedEvent.cpp.

sofa::core::objectmodel::KeypressedEvent::~KeypressedEvent (  ) 

Destructor.

Definition at line 56 of file KeypressedEvent.cpp.


Member Function Documentation

char sofa::core::objectmodel::KeypressedEvent::getKey (  )  const


Field Documentation

Store the key.

Definition at line 57 of file KeypressedEvent.h.

Referenced by getKey().


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

Generated on Sun Nov 23 04:23:46 2008 for Sofa by  doxygen 1.5.7.1