CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxReporterMessageRepository.h>
Signals | |
void | newMessage (Message message) |
void | newChannel (QString channel) |
Public Member Functions | |
void | sendMessage (const Message &message) |
void | installFilter (MessageFilterPtr filter) |
Mediator between MessageRepository and MessageListener.
MessageListener install the MessageObserver into the MessageRepository, which in turn sends messages that passes the filter.
This class is threadsafe
Definition at line 34 of file cxReporterMessageRepository.h.
void cx::MessageObserver::installFilter | ( | MessageFilterPtr | filter | ) |
Install a filter for use in the reporter. The filter will be cloned, i.e. call after every modification of filter.
Required by MessageListener
Definition at line 47 of file cxReporterMessageRepository.cpp.
|
signal |
|
signal |
void cx::MessageObserver::sendMessage | ( | const Message & | message | ) |
Required by MessageRepository Send message/channel changes to listeners.
Definition at line 21 of file cxReporterMessageRepository.cpp.