An event sent by a window upon a char pressed by the user.
IMPORTANTE NOTICE: Event handlers in your observer class will be invoked from the wxWidgets internal MRPT thread, so all your code in the handler must be thread safe.
#include <mrpt/gui/CBaseGUIWindow.h>

Public Member Functions | |
| mrptEventWindowChar (CBaseGUIWindow *obj, int _char_code, mrptKeyModifier _key_mod) | |
| template<class EVENTTYPE > | |
| bool | isOfType () const |
| template<class EVENTTYPE > | |
| const EVENTTYPE * | getAs () const |
Public Attributes | |
| CBaseGUIWindow * | source_object |
| int | char_code |
| The virtual key code, as defined in <mrpt/gui/keycodes.h> (a replication of wxWidgets key codes). | |
| mrptKeyModifier | key_modifiers |
| Modifiers (Shift, Control, etc...) | |
| mrpt::system::TTimeStamp | timestamp |
Protected Member Functions | |
| virtual void | do_nothing () |
| Just to allow this class to be polymorphic. | |
| mrpt::gui::mrptEventWindowChar::mrptEventWindowChar | ( | CBaseGUIWindow * | obj, |
| int | _char_code, | ||
| mrptKeyModifier | _key_mod | ||
| ) | [inline] |
Definition at line 176 of file CBaseGUIWindow.h.
| virtual void mrpt::gui::mrptEventWindowChar::do_nothing | ( | ) | [inline, protected, virtual] |
Just to allow this class to be polymorphic.
Reimplemented from mrpt::utils::mrptEvent.
Definition at line 174 of file CBaseGUIWindow.h.
| const EVENTTYPE* mrpt::utils::mrptEvent::getAs | ( | ) | const [inline, inherited] |
Definition at line 66 of file mrptEvent.h.
| bool mrpt::utils::mrptEvent::isOfType | ( | ) | const [inline, inherited] |
Definition at line 63 of file mrptEvent.h.
The virtual key code, as defined in <mrpt/gui/keycodes.h> (a replication of wxWidgets key codes).
Definition at line 183 of file CBaseGUIWindow.h.
Modifiers (Shift, Control, etc...)
Definition at line 184 of file CBaseGUIWindow.h.
Definition at line 182 of file CBaseGUIWindow.h.
Definition at line 68 of file mrptEvent.h.
| Page generated by Doxygen 1.7.5 for MRPT 0.9.5 SVN: at Thu Oct 13 21:25:36 UTC 2011 |