35 std::map<std::string, bool>* codes_to_pressed,
36 bool reset_keypresses =
true);
43 const std::string key_str,
const std::string key_desc);
void OnEvent(const mrpt::system::mrptEvent &e) override
This virtual function will be called upon receive of any event after starting listening at any CObser...
mrpt::system::CTicTac m_tim_show_end
The basic event type for the observer-observable pattern in MRPT.
A high-performance stopwatch, with typical resolution of nanoseconds.
void returnEventsStruct(std::map< std::string, bool > *codes_to_pressed, bool reset_keypresses=true)
Return a map of key code to a boolean indicating whether it was pressed since the previous time the c...
void registerKeystroke(const std::string key_str, const std::string key_desc)
Make new keystrokes available in the help message box.
SLAM methods related to graphs of pose constraints.
Inherit from this class to get notified about events from any CObservable object after subscribing to...
mrpt::system::CTicTac m_tim_show_start
Monitor events in the visualization window.
std::map< std::string, bool > m_key_codes_to_pressed
Map from registered char_code (std::string to support <C-c>) to boolean true/false indicating whether...