Main MRPT website > C++ reference
MRPT logo

mrpt::gui::mrptEventWindowChar Class Reference

An event sent by a window upon a char pressed by the user. More...

#include <mrpt/gui/CBaseGUIWindow.h>

Inheritance diagram for mrpt::gui::mrptEventWindowChar:
Inheritance graph
[legend]
Collaboration diagram for mrpt::gui::mrptEventWindowChar:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 mrptEventWindowChar (CBaseGUIWindow *obj, int _char_code, mrptKeyModifier _key_mod)

Public Attributes

CBaseGUIWindowsource_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...).

Protected Member Functions

virtual void do_nothing ()
 Just to allow this class to be polymorphic.

Detailed Description

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.

Definition at line 159 of file CBaseGUIWindow.h.


Constructor & Destructor Documentation

mrpt::gui::mrptEventWindowChar::mrptEventWindowChar ( CBaseGUIWindow obj,
int  _char_code,
mrptKeyModifier  _key_mod 
) [inline]

Definition at line 164 of file CBaseGUIWindow.h.


Member Function Documentation

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 162 of file CBaseGUIWindow.h.


Member Data Documentation

The virtual key code, as defined in <mrpt/gui/keycodes.h> (a replication of wxWidgets key codes).

Definition at line 171 of file CBaseGUIWindow.h.

Modifiers (Shift, Control, etc...).

Definition at line 172 of file CBaseGUIWindow.h.

Definition at line 170 of file CBaseGUIWindow.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010