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

◆ MessageUser() [2/2]

virtual void drama::thread::TMessHandler::MessageUser ( const std::string &  text) const
pure virtual

Use DRAMA to send a message to the user.

Deprecated:
From the point of view of sending messages, Use the MessageUserF() interface. That matches the more modern C++ style. But that method is implemented using this method.

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

If the message contains line feed characters (
), then they are used to break the message up, with a separate MsgOut() message send for each line.

See also
MsgOut()
MessageUserF() formatted output.
SdsListToUser() for output of an SDS structure
MessageUserStreamBuf to implement a stream buffer that outputs using MessageUser().
Parameters
textThe message to be sent to the user.

Implemented in drama::thread::TAction, and drama::thread::TUface.

Referenced by MessageUser(), and MessageUserF().