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 34 of file mrptEvent.h.
#include <mrpt/utils/mrptEvent.h>

Public Member Functions | |
| mrptEvent () | |
| Default ctor. More... | |
| 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 |
|
inline |
Default ctor.
Definition at line 40 of file mrptEvent.h.
|
inline |
Definition at line 46 of file mrptEvent.h.
|
inline |
Definition at line 49 of file mrptEvent.h.
|
inline |
Definition at line 43 of file mrptEvent.h.
| mrpt::system::TTimeStamp mrpt::utils::mrptEvent::timestamp |
Definition at line 51 of file mrptEvent.h.
| Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Tue Mar 3 09:15:16 UTC 2020 |