CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 105 of file cxLogThread.h.

Constructor & Destructor Documentation

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

Definition at line 96 of file cxLogThread.cpp.

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

Definition at line 112 of file cxLogThread.h.

Member Function Documentation

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

Definition at line 121 of file cxLogThread.cpp.

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

Definition at line 136 of file cxLogThread.cpp.

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

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

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

Implemented in cx::ReporterThread.

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

Definition at line 103 of file cxLogThread.cpp.

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

Definition at line 120 of file cxLogThread.h.

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

Definition at line 126 of file cxLogThread.cpp.

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

call during startup, will fail if called when running

Definition at line 115 of file cxLogThread.cpp.

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

Definition at line 109 of file cxLogThread.cpp.

Member Data Documentation

MessageRepositoryPtr cx::LogThread::mRepository
protected

Definition at line 126 of file cxLogThread.h.


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