53 void inform(std::string msg,
bool addType =
true) {
54 FXMutexLock locker(
myLock);
66 FXMutexLock locker(
myLock);
72 FXMutexLock locker(
myLock);
77 void clear(
bool resetInformed =
true) {
78 FXMutexLock locker(
myLock);
84 FXMutexLock locker(
myLock);
90 FXMutexLock locker(
myLock);
96 FXMutexLock locker(
myLock);
virtual void addRetriever(OutputDevice *retriever)
Adds a further retriever to the instance responsible for a certain msg type.
virtual void inform(std::string msg, bool addType=true)
adds a new error to the list
virtual void endProcessMsg(std::string msg)
Ends a process information.
virtual bool aggregationThresholdReached(const std::string &format)
virtual void clear(bool resetInformed=true)
Clears information whether an error occurred previously and print aggregated message summary.
virtual void beginProcessMsg(std::string msg, bool addType=true)
Begins a process information.
virtual void removeRetriever(OutputDevice *retriever)
Removes the retriever from the handler.
~MsgHandlerSynchronized()
destructor
bool aggregationThresholdReached(const std::string &format)
void endProcessMsg(std::string msg)
Ends a process information.
void addRetriever(OutputDevice *retriever)
Adds a further retriever to the instance responsible for a certain msg type.
static MsgHandler * create(MsgType type)
void clear(bool resetInformed=true)
Clears information whether an error occurred previously.
MsgHandlerSynchronized(MsgType type)
standard constructor
void removeRetriever(OutputDevice *retriever)
Removes the retriever from the handler.
void inform(std::string msg, bool addType=true)
adds a new error to the list
void beginProcessMsg(std::string msg, bool addType=true)
Begins a process information.
MsgHandlerSynchronized & operator=(const MsgHandlerSynchronized &s)=delete
invalid assignment operator
FXMutex myLock
The lock for synchronizing all outputs using handlers of this class.
MsgHandlerSynchronized(const MsgHandlerSynchronized &s)=delete
invalid copy constructor
Static storage of an output device and its base (abstract) implementation.