34#include <NDEVR/BaseValues.h>
35#include <NDEVR/ProgressInfo.h>
36#include <NDEVR/Buffer.h>
37#include <NDEVR/LogMessage.h>
50 m_linked_logs.add(stream);
54 m_linked_logs.removeElement(stream);
63 addMessage(messages[i]);
68 for (
uint04 i = 0; i < m_linked_logs.size(); i++)
70 m_linked_logs[i]->removeStream(
this);
72 m_linked_logs.clear();
76 m_ignore_message = ignore;
80 return m_ignore_message;
84 bool m_ignore_message =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
constexpr t_index_type size() const
Definition Buffer.hpp:1461
Definition LogMessage.h:40
Definition LogStream.h:42
virtual void addMessages(const Buffer< LogMessage > &messages)
Definition LogStream.h:59
virtual void attach(ProgressInfo *stream)
Definition LogStream.h:48
virtual void allowCancel(bool)
Definition LogStream.h:56
void setIgnoreMessages(bool ignore)
Definition LogStream.h:74
void clearLinks()
Definition LogStream.h:66
virtual void setProgress(fltp04 progress)=0
virtual ~LogStream()
Definition LogStream.h:44
virtual void detach(ProgressInfo *stream)
Definition LogStream.h:52
virtual void addMessage(const LogMessage &message)=0
Buffer< ProgressInfo * > m_linked_logs
Definition LogStream.h:83
bool ignoringMessages() const
Definition LogStream.h:78
Definition ProgressInfo.hpp:43
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120