Main MRPT website > C++ reference
MRPT logo
Public Member Functions | Public Attributes | Protected Member Functions
mrpt::gui::mrptEventMouseDown Class Reference

Detailed Description

An event sent by a window upon a mouse click, giving the (x,y) pixel coordinates.

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.

See also:
mrptEventMouseDown

#include <mrpt/gui/CBaseGUIWindow.h>

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

List of all members.

Public Member Functions

 mrptEventMouseDown (CBaseGUIWindow *obj, mrpt::utils::TPixelCoord _coords, bool _leftButton, bool _rightButton)
template<class EVENTTYPE >
bool isOfType () const
template<class EVENTTYPE >
const EVENTTYPE * getAs () const

Public Attributes

CBaseGUIWindowsource_object
mrpt::utils::TPixelCoord coords
bool leftButton
bool rightButton
mrpt::system::TTimeStamp timestamp

Protected Member Functions

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

Constructor & Destructor Documentation

mrpt::gui::mrptEventMouseDown::mrptEventMouseDown ( CBaseGUIWindow obj,
mrpt::utils::TPixelCoord  _coords,
bool  _leftButton,
bool  _rightButton 
) [inline]

Definition at line 218 of file CBaseGUIWindow.h.


Member Function Documentation

virtual void mrpt::gui::mrptEventMouseDown::do_nothing ( ) [inline, protected, virtual]

Just to allow this class to be polymorphic.

Reimplemented from mrpt::utils::mrptEvent.

Definition at line 216 of file CBaseGUIWindow.h.

template<class EVENTTYPE >
const EVENTTYPE* mrpt::utils::mrptEvent::getAs ( ) const [inline, inherited]

Definition at line 66 of file mrptEvent.h.

template<class EVENTTYPE >
bool mrpt::utils::mrptEvent::isOfType ( ) const [inline, inherited]

Definition at line 63 of file mrptEvent.h.


Member Data Documentation

Definition at line 227 of file CBaseGUIWindow.h.

Definition at line 228 of file CBaseGUIWindow.h.

Definition at line 229 of file CBaseGUIWindow.h.

Definition at line 226 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