Open Lighting Architecture
0.10.4
|
Standard Input Handling.
Code to read from stdin
./stdin_handler
is run, it will echo each key pressed except for q which will quit. Files | |
file | StdinHandler.h |
The stdin handler. | |
Namespaces | |
ola | |
The namespace containing all OLA symbols. | |
ola::io | |
Classes for general I/O and event handling. | |
Classes | |
class | ola::io::StdinHandler |
Typedefs | |
typedef ola::Callback1< void, int > | ola::io::StdinHandler::InputCallback |
Functions | |
ola::io::StdinHandler::StdinHandler (SelectServerInterface *ss, InputCallback *callback) | |
Handle data from stdin. More... | |
|
explicit |
Handle data from stdin.
ss | The SelectServer to use |
callback | the callback to run when we get new data on stdin |