AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ MessageUser() [2/2]

virtual void drama::MessageHandler::MessageUser ( const std::string &  text) const
virtualinherited

Use DRAMA to send a message to the user.

The supplied text is send to the user using, see MsgOut(). Normally this appears the user interface.

If the message contains line feed characters (\n), then they are used to break the message up.

Note
Only valid if invoked in the contact of MessageReceived() being invoked.
Parameters
textThe string to output to the user.

Reimplemented in drama::thread::TAction.

Examples
dramahello.cpp.

Referenced by drama::MessageHandler::MessageUser(), and drama::thread::TAction::MessageUser().