cisst-saw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros | Functions
cmnGetChar.h File Reference
#include <cisstCommon/cmnPortability.h>
#include <cisstCommon/cmnExport.h>

Go to the source code of this file.

Classes

class  cmnGetCharEnvironment
 

Macros

#define _cmnGetChar_h
 

Functions

int CISST_EXPORT cmnGetChar (void)
 

Macro Definition Documentation

#define _cmnGetChar_h

Function Documentation

int CISST_EXPORT cmnGetChar ( void  )

Global function to get a single character without having to type "return". This function creates and activates a cmnGetCharEnvironment and deletes it at each call. If you need to get multiple characters you should probably use the cmnGetCharEnvironment class.