Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions | Public Attributes | Protected Member Functions
mrpt::gui::mrptEventWindowChar Class Reference

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

#include <mrpt/gui/CBaseGUIWindow.h>

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

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). More...
 
mrptKeyModifier key_modifiers
 Modifiers (Shift, Control, etc...) More...
 

Protected Member Functions

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

Constructor & Destructor Documentation

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

Definition at line 161 of file CBaseGUIWindow.h.

Member Function Documentation

virtual void mrpt::gui::mrptEventWindowChar::do_nothing ( )
inlineprotectedvirtual

Just to allow this class to be polymorphic.

Definition at line 159 of file CBaseGUIWindow.h.

Member Data Documentation

int mrpt::gui::mrptEventWindowChar::char_code

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

Definition at line 168 of file CBaseGUIWindow.h.

mrptKeyModifier mrpt::gui::mrptEventWindowChar::key_modifiers

Modifiers (Shift, Control, etc...)

Definition at line 169 of file CBaseGUIWindow.h.

CBaseGUIWindow* mrpt::gui::mrptEventWindowChar::source_object

Definition at line 167 of file CBaseGUIWindow.h.




Page generated by Doxygen 1.8.8 for MRPT 1.2.2 SVN:Unversioned directory at Tue Oct 14 02:14:08 UTC 2014