cisst-saw
Loading...
Searching...
No Matches
cmnGetCharEnvironment Class Reference

#include <cmnGetChar.h>

Public Member Functions

 cmnGetCharEnvironment (void)
 ~cmnGetCharEnvironment (void)
bool Activate (void)
bool DeActivate (void)
int GetChar (void)

Detailed Description

Class used to setup a non blocking terminal used to get characters without any flushing, i.e. carriage return or new line

Constructor & Destructor Documentation

◆ cmnGetCharEnvironment()

cmnGetCharEnvironment::cmnGetCharEnvironment ( void )

◆ ~cmnGetCharEnvironment()

cmnGetCharEnvironment::~cmnGetCharEnvironment ( void )

Member Function Documentation

◆ Activate()

bool cmnGetCharEnvironment::Activate ( void )

Activate non blocking

◆ DeActivate()

bool cmnGetCharEnvironment::DeActivate ( void )

De-activate non blocking, i.e. restore original terminal settings

◆ GetChar()

int cmnGetCharEnvironment::GetChar ( void )

Get a single character without having to type "return"


The documentation for this class was generated from the following file: