The basic event type for the observer-observable pattern in MRPT.
You can sub-class this base class to create custom event types, then tell between them in runtime with isOfType<T>(), for example:
Definition at line 54 of file mrptEvent.h.
#include <mrpt/utils/mrptEvent.h>

Public Member Functions | |
| mrptEvent () | |
| Default ctor. | |
| template<class EVENTTYPE > | |
| bool | isOfType () const |
| template<class EVENTTYPE > | |
| const EVENTTYPE * | getAs () const |
| template<class EVENTTYPE > | |
| EVENTTYPE * | getAsNonConst () const |
Public Attributes | |
| mrpt::system::TTimeStamp | timestamp |
Protected Member Functions | |
| virtual void | do_nothing () |
| Just to allow this class to be polymorphic. | |
|
inline |
Default ctor.
Definition at line 60 of file mrptEvent.h.
|
inlineprotectedvirtual |
Just to allow this class to be polymorphic.
Reimplemented in mrpt::opengl::mrptEventGLPostRender, mrpt::opengl::mrptEventGLPreRender, mrpt::utils::mrptEventOnDestroy, mrpt::slam::mrptEventMetricMapInsert, and mrpt::slam::mrptEventMetricMapClear.
Definition at line 57 of file mrptEvent.h.
|
inline |
Definition at line 66 of file mrptEvent.h.
|
inline |
Definition at line 69 of file mrptEvent.h.
|
inline |
Definition at line 63 of file mrptEvent.h.
| mrpt::system::TTimeStamp mrpt::utils::mrptEvent::timestamp |
Definition at line 71 of file mrptEvent.h.
| Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013 |