35 #ifndef _IOConsole_H__ 36 #define _IOConsole_H__ 58 void preUpdate(
const Clock& time);
61 void setTerminalMode();
62 void getTerminalSize();
63 void printStatusLines();
67 virtual void linesChanged()
override;
68 virtual void lineAdded()
override;
69 virtual void inputChanged()
override;
70 virtual void cursorChanged()
override;
71 virtual void executed()
override;
72 virtual void exit()
override;
74 bool willPrintStatusLines();
75 void printInputLine();
77 static void resetTerminalMode();
93 static const int minOutputLines_ = 3;
termios * originalTerminalSettings_
Definition: IOConsolePOSIX.h:94
int lastTerminalWidth_
Definition: IOConsolePOSIX.h:85
std::ostream cout_
Definition: IOConsolePOSIX.h:81
int terminalHeight_
Definition: IOConsolePOSIX.h:84
Shared library macros, enums, constants and forward declarations for the core library ...
::std::string string
Definition: gtest-port.h:756
int terminalWidth_
Definition: IOConsolePOSIX.h:83
Shell * shell_
Definition: IOConsolePOSIX.h:79
int statusLineMaxWidth_
Definition: IOConsolePOSIX.h:92
static IOConsole * singletonPtr_s
Definition: IOConsolePOSIX.h:96
The Shell is the logical component of the console that displays output to the user and allows him to ...
Definition: Shell.h:86
InputBuffer * buffer_
Definition: IOConsolePOSIX.h:80
const std::string promptString_
Definition: IOConsolePOSIX.h:87
Base for singleton classes.
Definition: Singleton.h:114
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _CoreExport
Definition: CorePrereqs.h:61
std::ostringstream origCout_
Definition: IOConsolePOSIX.h:82
bool bStatusPrinted_
Definition: IOConsolePOSIX.h:90
int lastTerminalHeight_
Definition: IOConsolePOSIX.h:86
Definition of the Singleton template that is used as base class for classes that allow only one insta...
Simple real time clock based on Ogre::Timer.
Definition: Clock.h:57
LineType
Defines the type of a line of text in the Shell - some types depend on the output level...
Definition: Shell.h:90
An interface, used to get a notification if the state of the Shell changes.
Definition: Shell.h:58
Definition: IOConsolePOSIX.h:50
Declaration of the Shell and ShellListener classes.
bool bPrintStatusLine_
Definition: IOConsolePOSIX.h:89
std::vector< int > statusLineWidths_
Definition: IOConsolePOSIX.h:91