NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::Message Class Reference

#include <cxLogMessage.h>

Public Member Functions

 Message (QString text="", MESSAGE_LEVEL messageLevel=mlDEBUG, int timeoutTime=-1)
 
 ~Message ()
 
QString getPrintableMessage () const
 Text containing information appropriate to display. More...
 
MESSAGE_LEVEL getMessageLevel () const
 The category of the message. More...
 
QString getText () const
 The raw message. More...
 
QDateTime getTimeStamp () const
 The time at which the message was created. More...
 
int getTimeout () const
 Timout tells the statusbar how long it should be displayed, this depends on the message level. More...
 
QString getSourceLocation () const
 

Public Attributes

QString mText
 
MESSAGE_LEVEL mMessageLevel
 
int mTimeoutTime
 
QDateTime mTimeStamp
 
bool mMuted
 
QString mChannel
 
QString mThread
 
QString mSourceFile
 
QString mSourceFunction
 
int mSourceLine
 

Detailed Description

Definition at line 75 of file cxLogMessage.h.

Constructor & Destructor Documentation

cx::Message::Message ( QString  text = "",
MESSAGE_LEVEL  messageLevel = mlDEBUG,
int  timeoutTime = -1 
)

Definition at line 55 of file cxLogMessage.cpp.

cx::Message::~Message ( )

Definition at line 66 of file cxLogMessage.cpp.

Member Function Documentation

MESSAGE_LEVEL cx::Message::getMessageLevel ( ) const

The category of the message.

Definition at line 105 of file cxLogMessage.cpp.

QString cx::Message::getPrintableMessage ( ) const

Text containing information appropriate to display.

Definition at line 83 of file cxLogMessage.cpp.

QString cx::Message::getSourceLocation ( ) const

Definition at line 123 of file cxLogMessage.cpp.

QString cx::Message::getText ( ) const

The raw message.

Definition at line 110 of file cxLogMessage.cpp.

int cx::Message::getTimeout ( ) const

Timout tells the statusbar how long it should be displayed, this depends on the message level.

Definition at line 119 of file cxLogMessage.cpp.

QDateTime cx::Message::getTimeStamp ( ) const

The time at which the message was created.

Definition at line 115 of file cxLogMessage.cpp.

Member Data Documentation

QString cx::Message::mChannel

Definition at line 95 of file cxLogMessage.h.

MESSAGE_LEVEL cx::Message::mMessageLevel

Definition at line 90 of file cxLogMessage.h.

bool cx::Message::mMuted

Definition at line 93 of file cxLogMessage.h.

QString cx::Message::mSourceFile

Definition at line 98 of file cxLogMessage.h.

QString cx::Message::mSourceFunction

Definition at line 99 of file cxLogMessage.h.

int cx::Message::mSourceLine

Definition at line 100 of file cxLogMessage.h.

QString cx::Message::mText

Definition at line 89 of file cxLogMessage.h.

QString cx::Message::mThread

Definition at line 96 of file cxLogMessage.h.

int cx::Message::mTimeoutTime

Definition at line 91 of file cxLogMessage.h.

QDateTime cx::Message::mTimeStamp

Definition at line 92 of file cxLogMessage.h.


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