Fraxinus  16.5.0-fx-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 57 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 68 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 42 of file cxReporterMessageRepository.cpp.


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