![]() |
Open Lighting Architecture 0.10.9
|
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 | |
| namespace | ola |
| The namespace containing all OLA symbols. | |
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. | |
|
explicit |
Handle data from stdin.
| ss | The SelectServer to use |
| callback | the callback to run when we get new data on stdin |