Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
MessageMediator Class Referenceabstract

Interface for outputting messages to the user. More...

#include <MessageMediator.h>

Inheritance diagram for MessageMediator:
ConsoleMediator NullChannel

Public Member Functions

virtual ~MessageMediator ()
 The destructor.
 
virtual void showError (QString const &error) const =0
 Show the given error to the user.
 
virtual void showFailure (QString const &error) const =0
 Show the given failure message to the user.
 
virtual void showMessage (QString const &message) const =0
 Show the given message to the user.
 
virtual void showStatusMessage (QString const &status) const =0
 Show the given status to the user.
 

Detailed Description

Interface for outputting messages to the user.

Definition at line 20 of file MessageMediator.h.

Constructor & Destructor Documentation

◆ ~MessageMediator()

virtual MessageMediator::~MessageMediator ( )
inlinevirtual

The destructor.

Definition at line 25 of file MessageMediator.h.

Member Function Documentation

◆ showError()

virtual void MessageMediator::showError ( QString const & error) const
pure virtual

Show the given error to the user.

Implemented in ConsoleMediator, and NullChannel.

◆ showFailure()

virtual void MessageMediator::showFailure ( QString const & error) const
pure virtual

Show the given failure message to the user.

Implemented in ConsoleMediator, and NullChannel.

◆ showMessage()

virtual void MessageMediator::showMessage ( QString const & message) const
pure virtual

Show the given message to the user.

Implemented in ConsoleMediator, and NullChannel.

◆ showStatusMessage()

virtual void MessageMediator::showStatusMessage ( QString const & status) const
pure virtual

Show the given status to the user.

Implemented in ConsoleMediator, and NullChannel.


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