CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::MessageRepository Class Reference

#include <cxReporterMessageRepository.h>

Inheritance diagram for cx::MessageRepository:

Public Member Functions

 ~MessageRepository ()
void setMessage (Message message)
void install (MessageObserverPtr observer, bool resend)
void uninstall (MessageObserverPtr observer)
void setMessageQueueMaxSize (int count)
int getMessageQueueMaxSize () const
void clearQueue ()

Static Public Member Functions

static MessageRepositoryPtr create ()

Detailed Description

Utility for listening to the Reporter and storing messages from it.

Messages are passed through MessageFilter before being emitted from this class.


Definition at line 74 of file cxReporterMessageRepository.h.

Constructor & Destructor Documentation

cx::MessageRepository::~MessageRepository ( )

Definition at line 71 of file cxReporterMessageRepository.cpp.

Member Function Documentation

void cx::MessageRepository::clearQueue ( )

Definition at line 137 of file cxReporterMessageRepository.cpp.

MessageRepositoryPtr cx::MessageRepository::create ( )


Definition at line 61 of file cxReporterMessageRepository.cpp.

int cx::MessageRepository::getMessageQueueMaxSize ( ) const

Definition at line 132 of file cxReporterMessageRepository.cpp.

void cx::MessageRepository::install ( MessageObserverPtr  observer,
bool  resend 

Definition at line 99 of file cxReporterMessageRepository.cpp.

void cx::MessageRepository::setMessage ( Message  message)

Definition at line 75 of file cxReporterMessageRepository.cpp.

void cx::MessageRepository::setMessageQueueMaxSize ( int  count)

Definition at line 126 of file cxReporterMessageRepository.cpp.

void cx::MessageRepository::uninstall ( MessageObserverPtr  observer)

Definition at line 119 of file cxReporterMessageRepository.cpp.

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