![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
#include <roc_core/printer.h>
Public Types | |
enum | { BufferSize = 1024 } |
typedef void(* | PrintlnFunc) (const char *buf, size_t bufsz) |
Printing function. | |
Public Member Functions | |
Printer (PrintlnFunc println_func=NULL) | |
Initialize printer. If println_func is NULL, prints text to console. | |
~Printer () | |
Flush and destroy. | |
size_t | writef (const char *format,...) |
Write text. | |
roc::core::Printer::Printer | ( | PrintlnFunc | println_func = NULL | ) |
Initialize printer. If println_func
is NULL, prints text to console.
roc::core::Printer::~Printer | ( | ) |
Flush and destroy.
Write text.