![]() |
PUMA Library Reference Manual
|
#include <Puma/KeyboardSource.h>
Inheritance diagram for Puma::KeyboardSource:Keyboard input wrapper implementing the Source interface.
Public Member Functions | |
| virtual int | read (char *dest, int n) |
| Read one byte from the keyboard into the given string. | |
Public Member Functions inherited from Puma::Source | |
| Source () | |
| Constructs an empty source object. | |
| virtual | ~Source () |
| Destroys the source object. | |
| virtual int | size () |
| Get the size of the source. | |
|
virtual |
Read one byte from the keyboard into the given string.
| dest | The string used as buffer for the bytes read. |
| n | The number of bytes to read. |
Implements Puma::Source.