Visual Servoing Platform
version 3.0.0
|
#include <visp3/io/vpKeyboard.h>
Public Member Functions | |
vpKeyboard () | |
~vpKeyboard () | |
int | kbhit () |
int | getchar () |
Keybord management under unix (Linux or OSX). This class is not available under windows.
Gets a key from the keyboard without waiting for the "Enter" key.
Definition at line 84 of file vpKeyboard.h.
vpKeyboard::vpKeyboard | ( | ) |
Activates the raw mode to read keys in an non blocking way.
Definition at line 53 of file vpKeyboard.cpp.
vpKeyboard::~vpKeyboard | ( | ) |
Stops the raw mode.
Definition at line 61 of file vpKeyboard.cpp.
int vpKeyboard::getchar | ( | ) |
Get the hit key. kbhit() indicates if a key was hitten.
Definition at line 71 of file vpKeyboard.cpp.
int vpKeyboard::kbhit | ( | ) |