casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::async::Logger::LoggerThread Class Reference

#include <AsynchronousTools.h>

Inheritance diagram for casa::async::Logger::LoggerThread:
casa::async::Thread

Public Member Functions

 LoggerThread ()
 
 ~LoggerThread ()
 
void log (const string &text)
 
void setLogFilename (const casacore::String &filename)
 
void terminate ()
 
- Public Member Functions inherited from casa::async::Thread
 Thread ()
 
virtual ~Thread ()
 
pthread_t getId () const
 
pid_t gettid () const
 
bool isTerminationRequested () const
 
void * join ()
 
void startThread ()
 

Protected Member Functions

void * run ()
 
- Protected Member Functions inherited from casa::async::Thread
bool isStarted () const
 

Private Attributes

bool deleteStream_p
 
casacore::String logFilename_p
 
Condition loggerChanged_p
 
std::ostream * logStream_p
 
Mutex mutex_p
 
queue< std::string > outputQueue_p
 

Additional Inherited Members

- Public Types inherited from casa::async::Thread
typedef void *(* ThreadFunction )(void *)
 
- Static Protected Member Functions inherited from casa::async::Thread
static void * threadFunction (void *)
 

Detailed Description

Definition at line 227 of file AsynchronousTools.h.

Constructor & Destructor Documentation

casa::async::Logger::LoggerThread::LoggerThread ( )
casa::async::Logger::LoggerThread::~LoggerThread ( )

Member Function Documentation

void casa::async::Logger::LoggerThread::log ( const string &  text)
void* casa::async::Logger::LoggerThread::run ( )
protectedvirtual

Implements casa::async::Thread.

void casa::async::Logger::LoggerThread::setLogFilename ( const casacore::String filename)
void casa::async::Logger::LoggerThread::terminate ( )
virtual

Reimplemented from casa::async::Thread.

Member Data Documentation

bool casa::async::Logger::LoggerThread::deleteStream_p
private

Definition at line 243 of file AsynchronousTools.h.

casacore::String casa::async::Logger::LoggerThread::logFilename_p
private

Definition at line 244 of file AsynchronousTools.h.

Condition casa::async::Logger::LoggerThread::loggerChanged_p
private

Definition at line 245 of file AsynchronousTools.h.

std::ostream* casa::async::Logger::LoggerThread::logStream_p
private

Definition at line 246 of file AsynchronousTools.h.

Mutex casa::async::Logger::LoggerThread::mutex_p
private

Definition at line 247 of file AsynchronousTools.h.

queue<std::string> casa::async::Logger::LoggerThread::outputQueue_p
private

Definition at line 248 of file AsynchronousTools.h.


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