Go to the documentation of this file.
10 #ifndef CWINDOWOBSERVER_H
11 #define CWINDOWOBSERVER_H
38 std::map<std::string, bool>* codes_to_pressed,
39 bool reset_keypresses =
true);
The basic event type for the observer-observable pattern in MRPT.
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 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...
A high-performance stopwatch, with typical resolution of nanoseconds.
mrpt::system::CTicTac m_tim_show_start
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void OnEvent(const mrpt::system::mrptEvent &e)
This virtual function will be called upon receive of any event after starting listening at any CObser...
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
Inherit from this class to get notified about events from any CObservable object after subscribing to...
GLsizei const GLchar ** string
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |