![]() |
VR-Forces 4.3 Class Documentation
|
MAK includes. More...

Public Slots | |
| static void | allowByDefault (bool) |
| static void | addSource (const QString &source) |
| static void | removeSource (const QString &source) |
Signals | |
| void | msgItem (const DtMsgItem &) |
Public Member Functions | |
| DtMsgHandler () | |
| virtual | ~DtMsgHandler () |
Static Public Member Functions | |
| static void | setDump (bool b) |
| Set whether or not you should dump the message to standard out in addition to emitting a signal. | |
| static void | setOutputFile (const QString &filename, bool clear=false) |
| If printing in immediate mode, we print to this file. | |
| static DtMsgHandler * | defaultInstance () |
| Needed since only instances can emit signals. | |
| static void | cleanupDefaultInstance () |
| static void | generalMsg (const QString &msg, const QString &source) |
| Various types of messages. | |
| static void | debug (const QString &msg) |
| static void | info (const QString &msg) |
| debugging msg | |
| static void | verbose (const QString &msg) |
| information | |
| static void | warn (const QString &msg) |
| verbose | |
| static void | config (const QString &msg) |
| warning | |
| static void | error (const QString &msg) |
| configuration error | |
| static void | status (const QString &msg) |
| error | |
| static void | info (const char *cformat,...) |
| status message | |
| static void | warn (const char *cformat,...) |
Static Protected Member Functions | |
| static void | printMsg (const QString &msg) |
| static void | vargprint (char *updateBuff, const char *cformat,...) |
Static Protected Attributes | |
| static bool | myIsDump |
| static QString | sOutputFile |
| static DtMsgHandler * | sDefaultInstance |
| static bool | sAllowDefault |
| static QHash< QString, QString > | sSourceCollection |
| static char | myBuff [2048] |
MAK includes.
Qt includes Handles all text messages passed by the system. This could be internal warning or error messages, as well as exercise messages, or any other information you want passed to the user.
This class can dump to standard output as well as emit a signal that you can hook up to another object for a more robust way of viewing your messages
| DtMsgHandler::DtMsgHandler | ( | ) |
|
virtual |
|
static |
Set whether or not you should dump the message to standard out in addition to emitting a signal.
|
static |
If printing in immediate mode, we print to this file.
|
static |
Needed since only instances can emit signals.
|
static |
|
static |
Various types of messages.
|
static |
|
static |
debugging msg
|
static |
information
|
static |
verbose
|
static |
warning
|
static |
configuration error
|
static |
error
|
static |
status message
For backwards compatibility with vrlink. Easy to use, but don't translate well.
|
static |
|
staticslot |
|
staticslot |
|
staticslot |
|
signal |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |