33#include <NDEVR/LogStream.h>
34#include <NDEVR/Dictionary.h>
A class that allows for specific log information to be conveyed to a InfoPipe object including inform...
A listener that receives and processes log messages and progress updates from an InfoPipe.
StdPrintType
Defines how messages are printed to the standard output.
@ e_none
Do not print the message.
@ e_print_and_wait
Print the message and wait for user acknowledgment.
@ e_print
Print the message to standard output.
static StdPrintType s_print_regular_message
Controls how regular (non-error) messages are printed.
void addMessage(uint04 id, const LogMessage &message) final override
Adds a log message and prints it to standard output based on the current print settings.
void clearLines(uint04 lines) const
Clears the specified number of lines from the console output.
static uint02 s_max_print_message_size
The maximum number of characters to print per message.
static bool s_print_error_bars
Whether to print error progress bars to standard output.
STDOutputStream()
Constructs a default STDOutputStream.
void printLogo()
Prints the NDEVR ASCII logo to standard output.
static bool s_print_loading_bars
Whether to print loading progress bars to standard output.
void setProgress(uint04 id, fltp04 progress) final override
Updates the progress of an ongoing operation and prints a progress bar to standard output.
static StdPrintType s_print_error_message
Controls how error messages are printed.
The primary namespace for the NDEVR SDK.
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
uint16_t uint02
-Defines an alias representing a 2 byte, unsigned integer -Can represent exact integer values 0 throu...
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...