Fraxinus  22.04-rc3
An IGT application
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 54 of file cxLogMessage.h.

Constructor & Destructor Documentation

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

Definition at line 33 of file cxLogMessage.cpp.

cx::Message::~Message ( )

Definition at line 45 of file cxLogMessage.cpp.

Member Function Documentation

MESSAGE_LEVEL cx::Message::getMessageLevel ( ) const

The category of the message.

Definition at line 84 of file cxLogMessage.cpp.

QString cx::Message::getPrintableMessage ( ) const

Text containing information appropriate to display.

Definition at line 62 of file cxLogMessage.cpp.

QString cx::Message::getSourceLocation ( ) const

Definition at line 102 of file cxLogMessage.cpp.

QString cx::Message::getText ( ) const

The raw message.

Definition at line 89 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 98 of file cxLogMessage.cpp.

QDateTime cx::Message::getTimeStamp ( ) const

The time at which the message was created.

Definition at line 94 of file cxLogMessage.cpp.

Member Data Documentation

QString cx::Message::mChannel

Definition at line 74 of file cxLogMessage.h.

MESSAGE_LEVEL cx::Message::mMessageLevel

Definition at line 69 of file cxLogMessage.h.

bool cx::Message::mMuted

Definition at line 72 of file cxLogMessage.h.

QString cx::Message::mSourceFile

Definition at line 77 of file cxLogMessage.h.

QString cx::Message::mSourceFunction

Definition at line 78 of file cxLogMessage.h.

int cx::Message::mSourceLine

Definition at line 79 of file cxLogMessage.h.

QString cx::Message::mText

Definition at line 68 of file cxLogMessage.h.

QString cx::Message::mThread

Definition at line 75 of file cxLogMessage.h.

int cx::Message::mTimeoutTime

Definition at line 70 of file cxLogMessage.h.

QDateTime cx::Message::mTimeStamp

Definition at line 71 of file cxLogMessage.h.


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