10 #ifndef CWINDOWOBSERVER_H
11 #define CWINDOWOBSERVER_H
43 std::map<std::string, bool>* codes_to_pressed,
44 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.
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...
mrpt::utils::CTicTac m_tim_show_end
mrpt::utils::CTicTac m_tim_show_start
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...
void OnEvent(const mrpt::utils::mrptEvent &e)
This virtual function will be called upon receive of any event after starting listening at any CObser...
Inherit from this class to get notified about events from any CObservable object after subscribing to...
This class implements a high-performance stopwatch.
The basic event type for the observer-observable pattern in MRPT.
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.