Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::Console Class Reference

Console. More...

#include <console.h>

Inheritance diagram for roc::core::Console:
Collaboration diagram for roc::core::Console:

Public Member Functions

bool colors_supported ()
 Check if colors can be used. More...
 
void println (Color color, const char *format,...)
 Print line. More...
 
bool colors_supported ()
 Check if colors can be used. More...
 
void println (Color color, const char *format,...)
 Print line. More...
 

Static Public Member Functions

static Consoleinstance ()
 Get logger instance. More...
 
static Consoleinstance ()
 Get logger instance. More...
 

Friends

class Singleton< Console >
 

Detailed Description

Console.

Definition at line 28 of file console.h.

Member Function Documentation

◆ colors_supported() [1/2]

bool roc::core::Console::colors_supported ( )

Check if colors can be used.

◆ colors_supported() [2/2]

bool roc::core::Console::colors_supported ( )

Check if colors can be used.

◆ instance() [1/2]

static Console& roc::core::Console::instance ( )
inlinestatic

Get logger instance.

Definition at line 31 of file console.h.

◆ instance() [2/2]

static Console& roc::core::Console::instance ( )
inlinestatic

Get logger instance.

Definition at line 40 of file console.h.

◆ println() [1/2]

void roc::core::Console::println ( Color  color,
const char *  format,
  ... 
)

Print line.

◆ println() [2/2]

void roc::core::Console::println ( Color  color,
const char *  format,
  ... 
)

Print line.


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