#include <UEvent.h>
Public Member Functions | |
virtual std::string | getClassName () const =0 |
int | getCode () const |
virtual | ~UEvent () |
Protected Member Functions | |
UEvent (int code=0) | |
Private Attributes | |
int | code_ |
This is the base class for all events used with the UEventsManager. Inherited classes must redefined the virtual method getClassName() to return their class name.
Example:
|
inlineprotected |
|
pure virtual |
This method is used to get the class name of the event. For example, if a class MouseEvent inherits from UEvent, it must return the "MouseEvent" string.
Implemented in PostRenderEvent, rtabmap::RtabmapGoalStatusEvent, rtabmap::RtabmapLabelErrorEvent, rtabmap::RtabmapGlobalPathEvent, rtabmap::RtabmapEvent3DMap, rtabmap::RtabmapEventInit, ULogEvent, rtabmap::RtabmapEventCmd, rtabmap::OdometryResetEvent, rtabmap::IMUEvent, rtabmap::CameraEvent, rtabmap::OdometryEvent, rtabmap::CameraTangoEvent, rtabmap::RtabmapEvent, rtabmap::PoseEvent, rtabmap::ParamEvent, rtabmap::UserDataEvent, UObjDeletedEvent, and rtabmap::ProgressEvent.
|
inline |