Kactus2
Kactus2 reference guide
Loading...
Searching...
No Matches
ConsoleMediator Class Reference

Console output for user messages. More...

#include <ConsoleMediator.h>

Inheritance diagram for ConsoleMediator:
MessageMediator

Public Member Functions

 ConsoleMediator ()=default
 The constructor.
 
 ~ConsoleMediator () final=default
 The destructor.
 
void showError (QString const &error) const final
 Show the given error to the user.
 
void showFailure (QString const &error) const final
 Show the given failure message to the user.
 
void showMessage (QString const &message) const final
 Show the given message to the user.
 
void showStatusMessage (QString const &status) const final
 Show the given status to the user.
 
- Public Member Functions inherited from MessageMediator
virtual ~MessageMediator ()
 The destructor.
 

Detailed Description

Console output for user messages.

Definition at line 21 of file ConsoleMediator.h.

Constructor & Destructor Documentation

◆ ConsoleMediator()

ConsoleMediator::ConsoleMediator ( )
explicitdefault

The constructor.

◆ ~ConsoleMediator()

ConsoleMediator::~ConsoleMediator ( )
finaldefault

The destructor.

Member Function Documentation

◆ showError()

void ConsoleMediator::showError ( QString const & error) const
finalvirtual

Show the given error to the user.

Implements MessageMediator.

◆ showFailure()

void ConsoleMediator::showFailure ( QString const & error) const
finalvirtual

Show the given failure message to the user.

Implements MessageMediator.

◆ showMessage()

void ConsoleMediator::showMessage ( QString const & message) const
finalvirtual

Show the given message to the user.

Implements MessageMediator.

◆ showStatusMessage()

void ConsoleMediator::showStatusMessage ( QString const & status) const
finalvirtual

Show the given status to the user.

Implements MessageMediator.


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