NorMIT-nav  22.09
An IGT application
cx::LogThread Class Referenceabstract

#include <cxLogThread.h>

Inheritance diagram for cx::LogThread:
cx::LogFileWatcherThread cx::ReporterThread

Public Slots

virtual void logMessage (Message msg)
 

Signals

void emittedMessage (Message message)
 emitted for each new message, in addition to writing to observer. More...
 

Public Member Functions

 LogThread (QObject *parent=NULL)
 
virtual ~LogThread ()
 
virtual void setLoggingFolder (QString absoluteLoggingFolderPath)
 call during startup, will fail if called when running More...
 
virtual void installObserver (MessageObserverPtr observer, bool resend)
 
virtual void uninstallObserver (MessageObserverPtr observer)
 

Protected Slots

void processMessage (Message msg)
 

Protected Member Functions

virtual void executeSetLoggingFolder (QString absoluteLoggingFolderPath)=0
 
void callInLogThread (ThreadMethodInvoker::ActionType action)
 
Message cleanupMessage (Message message)
 

Protected Attributes

MessageRepositoryPtr mRepository
 

Detailed Description

Definition at line 84 of file cxLogThread.h.

Constructor & Destructor Documentation

◆ LogThread()

cx::LogThread::LogThread ( QObject *  parent = NULL)

Definition at line 75 of file cxLogThread.cpp.

◆ ~LogThread()

virtual cx::LogThread::~LogThread ( )
inlinevirtual

Definition at line 91 of file cxLogThread.h.

Member Function Documentation

◆ callInLogThread()

void cx::LogThread::callInLogThread ( ThreadMethodInvoker::ActionType  action)
protected

Definition at line 100 of file cxLogThread.cpp.

◆ cleanupMessage()

Message cx::LogThread::cleanupMessage ( Message  message)
protected

Definition at line 115 of file cxLogThread.cpp.

◆ emittedMessage

void cx::LogThread::emittedMessage ( Message  message)
signal

emitted for each new message, in addition to writing to observer.

◆ executeSetLoggingFolder()

virtual void cx::LogThread::executeSetLoggingFolder ( QString  absoluteLoggingFolderPath)
protectedpure virtual

Implemented in cx::ReporterThread.

◆ installObserver()

void cx::LogThread::installObserver ( MessageObserverPtr  observer,
bool  resend 
)
virtual

Definition at line 82 of file cxLogThread.cpp.

◆ logMessage

virtual void cx::LogThread::logMessage ( Message  msg)
inlinevirtualslot

Definition at line 99 of file cxLogThread.h.

◆ processMessage

void cx::LogThread::processMessage ( Message  msg)
protectedslot

Definition at line 105 of file cxLogThread.cpp.

◆ setLoggingFolder()

void cx::LogThread::setLoggingFolder ( QString  absoluteLoggingFolderPath)
virtual

call during startup, will fail if called when running

Definition at line 94 of file cxLogThread.cpp.

◆ uninstallObserver()

void cx::LogThread::uninstallObserver ( MessageObserverPtr  observer)
virtual

Definition at line 88 of file cxLogThread.cpp.

Member Data Documentation

◆ mRepository

MessageRepositoryPtr cx::LogThread::mRepository
protected

Definition at line 105 of file cxLogThread.h.


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