cisst-saw
|
#include <cmnGetChar.h>
Public Member Functions | |
cmnGetCharEnvironment (void) | |
~cmnGetCharEnvironment (void) | |
bool | Activate (void) |
bool | DeActivate (void) |
int | GetChar (void) |
Class used to setup a non blocking terminal used to get characters without any flushing, i.e. carriage return or new line
cmnGetCharEnvironment::cmnGetCharEnvironment | ( | void | ) |
cmnGetCharEnvironment::~cmnGetCharEnvironment | ( | void | ) |
bool cmnGetCharEnvironment::Activate | ( | void | ) |
Activate non blocking
bool cmnGetCharEnvironment::DeActivate | ( | void | ) |
De-activate non blocking, i.e. restore original terminal settings
int cmnGetCharEnvironment::GetChar | ( | void | ) |
Get a single character without having to type "return"