10 #ifndef CWINDOWOBSERVER_H 11 #define CWINDOWOBSERVER_H 36 std::map<std::string, bool>* codes_to_pressed,
37 bool reset_keypresses =
true);
void OnEvent(const mrpt::system::mrptEvent &e)
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
GLsizei const GLchar ** string
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...