CustusX  18.04-rc6
An IGT application
cx::MessageObserver Class Reference

#include <cxReporterMessageRepository.h>

Inheritance diagram for cx::MessageObserver:

Signals

void newMessage (Message message)
 
void newChannel (QString channel)
 

Public Member Functions

void sendMessage (const Message &message)
 
void installFilter (MessageFilterPtr filter)
 

Detailed Description

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 36 of file cxReporterMessageRepository.h.

Member Function Documentation

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.

void cx::MessageObserver::newChannel ( QString  channel)
signal
void cx::MessageObserver::newMessage ( Message  message)
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.


The documentation for this class was generated from the following files: