NorMIT-nav  2023.01.05-dev+develop.0da12
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 34 of file cxReporterMessageRepository.h.

Member Function Documentation

◆ installFilter()

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.

◆ newChannel

void cx::MessageObserver::newChannel ( QString  channel)
signal

◆ newMessage

void cx::MessageObserver::newMessage ( Message  message)
signal

◆ sendMessage()

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: