#include <RtabmapEvent.h>
Public Types | |
enum | Cmd { kCmdInit, kCmdResetMemory, kCmdClose, kCmdDumpMemory, kCmdDumpPrediction, kCmdGenerateDOTGraph, kCmdGenerateDOTLocalGraph, kCmdGenerateTOROGraphLocal, kCmdGenerateTOROGraphGlobal, kCmdCleanDataBuffer, kCmdPublish3DMapLocal, kCmdPublish3DMapGlobal, kCmdPublishTOROGraphGlobal, kCmdPublishTOROGraphLocal, kCmdTriggerNewMap, kCmdPause, kCmdGoal } |
enum | dummy { d } |
Public Member Functions | |
virtual std::string | getClassName () const |
Cmd | getCmd () const |
int | getInt () const |
const ParametersMap & | getParameters () const |
const std::string & | getStr () const |
RtabmapEventCmd (Cmd cmd, const std::string &strValue="", int intValue=0, const ParametersMap ¶meters=ParametersMap()) | |
void | setInt (int v) |
void | setStr (const std::string &str) |
virtual | ~RtabmapEventCmd () |
Private Attributes | |
Cmd | _cmd |
int | _intValue |
ParametersMap | _parameters |
std::string | _strValue |
Definition at line 56 of file RtabmapEvent.h.
Definition at line 60 of file RtabmapEvent.h.
Definition at line 59 of file RtabmapEvent.h.
rtabmap::RtabmapEventCmd::RtabmapEventCmd | ( | Cmd | cmd, |
const std::string & | strValue = "" , |
||
int | intValue = 0 , |
||
const ParametersMap & | parameters = ParametersMap() |
||
) | [inline] |
Definition at line 79 of file RtabmapEvent.h.
virtual rtabmap::RtabmapEventCmd::~RtabmapEventCmd | ( | ) | [inline, virtual] |
Definition at line 86 of file RtabmapEvent.h.
virtual std::string rtabmap::RtabmapEventCmd::getClassName | ( | ) | const [inline, 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.
Implements UEvent.
Definition at line 97 of file RtabmapEvent.h.
Cmd rtabmap::RtabmapEventCmd::getCmd | ( | ) | const [inline] |
Definition at line 87 of file RtabmapEvent.h.
int rtabmap::RtabmapEventCmd::getInt | ( | ) | const [inline] |
Definition at line 93 of file RtabmapEvent.h.
const ParametersMap& rtabmap::RtabmapEventCmd::getParameters | ( | ) | const [inline] |
Definition at line 95 of file RtabmapEvent.h.
const std::string& rtabmap::RtabmapEventCmd::getStr | ( | ) | const [inline] |
Definition at line 90 of file RtabmapEvent.h.
void rtabmap::RtabmapEventCmd::setInt | ( | int | v | ) | [inline] |
Definition at line 92 of file RtabmapEvent.h.
void rtabmap::RtabmapEventCmd::setStr | ( | const std::string & | str | ) | [inline] |
Definition at line 89 of file RtabmapEvent.h.
Cmd rtabmap::RtabmapEventCmd::_cmd [private] |
Definition at line 100 of file RtabmapEvent.h.
int rtabmap::RtabmapEventCmd::_intValue [private] |
Definition at line 102 of file RtabmapEvent.h.
Definition at line 103 of file RtabmapEvent.h.
std::string rtabmap::RtabmapEventCmd::_strValue [private] |
Definition at line 101 of file RtabmapEvent.h.