CppCommon  1.0.4.1
C++ Common Library
Public Member Functions | Static Public Member Functions | List of all members
CppCommon::Console Class Reference

Console management static class. More...

#include <console.h>

Public Member Functions

 Console ()=delete
 
 Console (const Console &)=delete
 
 Console (Console &&)=delete
 
 ~Console ()=delete
 
Consoleoperator= (const Console &)=delete
 
Consoleoperator= (Console &&)=delete
 

Static Public Member Functions

static void SetColor (Color color, Color background=Color::BLACK)
 Set console text color. More...
 

Detailed Description

Console management static class.

Provides console management functionality such as setting text and background colors.

Thread-safe.

Definition at line 62 of file console.h.

Constructor & Destructor Documentation

◆ Console() [1/3]

CppCommon::Console::Console ( )
delete

◆ Console() [2/3]

CppCommon::Console::Console ( const Console )
delete

◆ Console() [3/3]

CppCommon::Console::Console ( Console &&  )
delete

◆ ~Console()

CppCommon::Console::~Console ( )
delete

Member Function Documentation

◆ operator=() [1/2]

Console& CppCommon::Console::operator= ( Console &&  )
delete

◆ operator=() [2/2]

Console& CppCommon::Console::operator= ( const Console )
delete

◆ SetColor()

void CppCommon::Console::SetColor ( Color  color,
Color  background = Color::BLACK 
)
static

Set console text color.

Parameters
color- Console text color
background- Console background color (default is Color::BLACK)
Examples
system_console.cpp.

Definition at line 19 of file console.cpp.


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