10 #ifndef CWINDOWOBSERVER_H
11 #define CWINDOWOBSERVER_H
36 std::map<std::string, bool>* codes_to_pressed,
37 bool reset_keypresses =
true);
Monitor events in the visualization window.
void registerKeystroke(const std::string key_str, const std::string key_desc)
Make new keystrokes available in the help message box.
mrpt::system::CTicTac m_tim_show_end
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 OnEvent(const mrpt::system::mrptEvent &e)
This virtual function will be called upon receive of any event after starting listening at any CObser...
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...
mrpt::system::CTicTac m_tim_show_start
Inherit from this class to get notified about events from any CObservable object after subscribing to...
A high-performance stopwatch, with typical resolution of nanoseconds.
The basic event type for the observer-observable pattern in MRPT.
GLsizei const GLchar ** string
SLAM methods related to graphs of pose constraints.