#include <console.h>
Inheritance diagram for ConsoleOutput::

Public Methods | |
| ConsoleOutput (char *writeFile, CallBackObj *toCall) | |
| initialize hardware console output. More... | |
| ~ConsoleOutput () | |
| clean up console emulation. More... | |
| void | PutChar (char ch) |
| Write "ch" to the console display, and return immediately. "callWhenDone" will called when the I/O completes. More... | |
| void | CallBack () |
| Invoked when next character can be put out to the display. More... | |
Private Attributes | |
| int | writeFileNo |
| UNIX file emulating the display. More... | |
| CallBackObj* | callWhenDone |
| Interrupt handler to call when the next char can be put. More... | |
| bool | putBusy |
| Is a PutChar operation in progress? If so, you can't do another one! More... | |
Definition at line 75 of file console.h.
|
|
initialize hardware console output. ConsoleOutput::ConsoleOutput Initialize the simulation of the output for a hardware console device. "writeFile" -- UNIX file simulating the display (NULL -> use stdout) "toCall" is the interrupt handler to call when a write to the display completes. Definition at line 111 of file console.cc. |
|
|
clean up console emulation. ConsoleOutput::~ConsoleOutput Clean up console output emulation Definition at line 127 of file console.cc. |
|
|
Invoked when next character can be put out to the display. ConsoleOutput::CallBack() Simulator calls this when the next character can be output to the display. Reimplemented from CallBackObj. Definition at line 140 of file console.cc. |
|
|
Write "ch" to the console display, and return immediately. "callWhenDone" will called when the I/O completes. ConsoleOutput::PutChar() Write a character to the simulated display, schedule an interrupt to occur in the future, and return. Definition at line 154 of file console.cc. Referenced by SynchConsoleOutput::PutChar().
|
|
|
Interrupt handler to call when the next char can be put.
|
|
|
Is a PutChar operation in progress? If so, you can't do another one!
|
|
|
UNIX file emulating the display.
|
1.2.8.1 written by Dimitri van Heesch,
© 1997-2001