vulp
2.2.2
|
Source for reading Keyboard inputs. More...
#include <Keyboard.h>
Public Member Functions | |
Keyboard () | |
Constructor sets up the terminal in non-canonical mode where input is available immediately without waiting for a newline. More... | |
~Keyboard () override | |
Destructor. More... | |
std::string | prefix () const noexcept final |
Prefix of output in the observation dictionary. More... | |
void | write (Dictionary &output) final |
Write output to a dictionary. More... | |
Public Member Functions inherited from vulp::observation::Source | |
virtual | ~Source () |
Destructor is virtual to deallocate lists of observers properly. More... | |
Source for reading Keyboard inputs.
Definition at line 71 of file Keyboard.h.
vulp::observation::sources::Keyboard::Keyboard | ( | ) |
Constructor sets up the terminal in non-canonical mode where input is available immediately without waiting for a newline.
Definition at line 7 of file Keyboard.cpp.
|
override |
Destructor.
Definition at line 20 of file Keyboard.cpp.
|
inlinefinalvirtualnoexcept |
Prefix of output in the observation dictionary.
Reimplemented from vulp::observation::Source.
Definition at line 82 of file Keyboard.h.
|
finalvirtual |
Write output to a dictionary.
[out] | output | Dictionary to write observations to. |
Reimplemented from vulp::observation::Source.
Definition at line 83 of file Keyboard.cpp.