34#include <NDEVR/LogMessage.h>
35#include <NDEVR/LogStream.h>
36#include <NDEVR/ProgressInfo.h>
37#include <NDEVR/LogMessage.h>
76 static constexpr fltp08 s_progress_epsilon = 0.001f;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Serves as the primary program interface for processes to report issues and allows any number of LogSt...
Definition Log.h:48
void sortMessagesByTime()
fltp04 m_progress
Definition Log.h:74
void concatenate(const Log &log)
bool cancelRequested() const override
Definition Log.h:62
bool addMessage(const String &message, uint01 log_level=10) override
bool addMessage(const char *const message, uint01 log_level=10) final override
bool setProgress(fltp04 percent) final override
void setCancelRequest(bool cancel) override
Definition Log.h:63
void sortMessagesByPriority()
bool m_request_cancel
Definition Log.h:73
void allowCancel(bool cancel) override
void insertMessages(uint04 index, const Buffer< LogMessage > &messages)
bool addMessage(const LogMessage &message) override
void addStream(LogStream *stream, bool add_all) final override
void removeStream(LogStream *stream) final override
A class that has any number of children that also feed into the log. Can be used to easily collect lo...
Definition LogManager.h:14
A class that allows for specific log information to be conveyed to a ProgressInfo object including in...
Definition LogMessage.h:44
A class that listens to a log object and processes the updates in a specified way....
Definition LogStream.h:46
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
The core String class for the NDEVR API.
Definition String.h:69
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
float fltp04
Defines an alias representing a 4 byte floating-point number Bit layout is as follows: -Sign: 1 bit a...
Definition BaseValues.hpp:127
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:80
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer
Definition BaseValues.hpp:106
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:96
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149