C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
TerminalConsole Class Reference

A class dedicated to pure text display such as console, printer, ASCII character line display. More...

#include <display_device.h>

Inheritance diagram for TerminalConsole:
Inheritance graph
Collaboration diagram for TerminalConsole:
Collaboration graph

Public Member Functions

 TerminalConsole (size_t number_of_char_width, size_t number_of_char_hieght)
 Construct a new Terminal Console object.
 
virtual void show ()
 the method that actually print the content of text_buffer on the console
 

Public Attributes

size_t number_of_column
 the size, in number of character of a line
 
size_t number_of_line
 the number of line
 
size_t text_buffer_size
 the number of characters
 
char * text_buffer = nullptr
 the effective character buffer
 

Detailed Description

A class dedicated to pure text display such as console, printer, ASCII character line display.

Constructor & Destructor Documentation

◆ TerminalConsole()

TerminalConsole::TerminalConsole ( size_t number_of_char_width,
size_t number_of_char_hieght )

Construct a new Terminal Console object.

Parameters
number_of_char_widththe size, in number of character of a line
number_of_char_hieghtthe number of line

The documentation for this class was generated from the following files: