C++ DevKit
C++ set of OOP library
Loading...
Searching...
No Matches
PrinterDevice 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 PrinterDevice:
Inheritance graph
Collaboration diagram for PrinterDevice:
Collaboration graph

Public Member Functions

 PrinterDevice (size_t number_of_char_width, size_t number_of_char_hight)
 Construct a new Printer Device 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

◆ PrinterDevice()

PrinterDevice::PrinterDevice ( size_t number_of_char_width,
size_t number_of_char_hight )

Construct a new Printer Device object.

Parameters
number_of_char_width
number_of_char_hight

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