MIRA
Namespaces | Enumerations | Functions
Console.h File Reference

Platform dependent functions to control the console and its settings. More...

#include <platform/Platform.h>
Include dependency graph for Console.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 
 mira::console
 

Enumerations

enum  TextColor {
  DEFAULT = 0, BLACK, DARKGREY, LIGHTGREY,
  WHITE, RED, GREEN, YELLOW,
  BLUE, MAGENTA, CYAN, LIGHTRED,
  LIGHTGREEN, LIGHTYELLOW, LIGHTBLUE, LIGHTMAGENTA,
  LIGHTCYAN
}
 
enum  StdOutput { STD_OUTPUT, STD_ERROR }
 

Functions

void enableEcho (bool enable=true)
 Enables or disables echo for text that is typed when using std input, e.g. More...
 
void setTextColor (TextColor color=DEFAULT, StdOutput output=STD_OUTPUT)
 Sets the color of the console text as specified. More...
 
int getWidth ()
 Returns the number of columns of the console, i.e. More...
 

Detailed Description

Platform dependent functions to control the console and its settings.

Author
Erik Einhorn
Date
2011/02/20