Model Railroad System
2.2.2
|
A callback to log a message. More...
#include <CallBack.h>
Public Types | |
enum | MessageType { Infomational =1 , Warning =2 , Error =3 } |
The three types of messages. More... | |
Public Member Functions | |
LogMessageCallback () | |
Constructor. More... | |
virtual | ~LogMessageCallback () |
Destructor. More... | |
virtual void | LogMessage (MessageType Type, const string Message) const |
Log message callback function. More... | |
A callback to log a message.
This callback class is used to display various sorts of messages in an application dependent way. There are three types of messages, informational messages, warning messages, and error messages. Infomational messages are just to inform the user of of important things that are happening. Warning messages are to inform the user of minor, correctable, problems. Error are to inform the user of serious problems that need to be fixed before proceding much further.
@author Robert Heller \<heller\@deepsoft.com\>
|
inline |
Constructor.
The base constructor does nothing. It is presumed that a derived class might do something useful.
|
inlinevirtual |
Destructor.
The base destructor does nothing. It is presumed that a derived class might do something useful.
|
inlinevirtual |
Log message callback function.
Display a specific type of message in an application specific way.
Type | The message type. |
Message | The message itself. |