CustusX  15.3.3-beta
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

void pendingAction ()
 
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 (PendingActionType &action)
 
Message cleanupMessage (Message message)
 

Protected Attributes

MessageRepositoryPtr mRepository
 

Detailed Description

Definition at line 77 of file cxLogThread.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file cxLogThread.cpp.

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

Definition at line 84 of file cxLogThread.h.

Member Function Documentation

void cx::LogThread::callInLogThread ( PendingActionType &  action)
protected

Definition at line 65 of file cxLogThread.cpp.

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

Definition at line 117 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 47 of file cxLogThread.cpp.

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

Definition at line 93 of file cxLogThread.h.

void cx::LogThread::pendingAction ( )
slot

Definition at line 79 of file cxLogThread.cpp.

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

Definition at line 107 of file cxLogThread.cpp.

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

call during startup, will fail if called when running

Definition at line 59 of file cxLogThread.cpp.

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

Definition at line 53 of file cxLogThread.cpp.

Member Data Documentation

MessageRepositoryPtr cx::LogThread::mRepository
protected

Definition at line 99 of file cxLogThread.h.


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