1

Vorgabe01 Aufgabe01

This commit is contained in:
churl
2022-04-16 14:46:02 +02:00
parent d106ef85fa
commit 702eb9cbbd
20 changed files with 1813 additions and 0 deletions

33
devices/CGA_Stream.h Executable file
View File

@ -0,0 +1,33 @@
/*****************************************************************************
* *
* C G A _ S T R E A M *
* *
*---------------------------------------------------------------------------*
* Beschreibung: Die Klasse CGA_Stream ermoeglicht die Ausgabe verschied. *
* Datentypen als Zeichenketten auf dem CGA-Bildschirm eines*
* PCs. Fuer weitergehende Formatierung oder spezielle *
* Effekte stehen die Methoden der Klasse CGA zur *
* Verfuegung. *
* *
* Autor: Olaf Spinczyk, TU Dortmund *
* Aenderungen von Michael Schoettner, HHU, 06.04.20 *
*****************************************************************************/
#ifndef __CGA_Stream_include__
#define __CGA_Stream_include__
#include "devices/CGA.h"
#include "lib/OutStream.h"
class CGA_Stream : public OutStream, public CGA {
private:
CGA_Stream(CGA_Stream &copy); // Verhindere Kopieren
public:
CGA_Stream () : OutStream(), CGA () { flush(); }
// Methode zur Ausgabe des Pufferinhalts der Basisklasse StringBuffer.
virtual void flush ();
};
#endif