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

#include <AsynchronousTools.h>

Classes

class  LoggerThread
 

Public Member Functions

 Logger (const Logger &)=delete
 make noncopyable... More...
 
Loggeroperator= (const Logger &)=delete
 
void log (const char *format,...)
 
void registerName (const casacore::String &threadName)
 
void start (const char *logFilename)
 

Static Public Member Functions

static Loggerget ()
 

Private Types

typedef map< pthread_t,
casacore::String
ThreadNames
 void log (char * format,...); void setLogFilename (char * logFilename); void terminate (); More...
 

Private Member Functions

 Logger ()
 
 ~Logger ()
 

Static Private Member Functions

static void initialize ()
 

Private Attributes

LoggerThreadloggerThread_p
 
bool loggingStarted_p
 
MutexnameMutex_p
 
ThreadNames threadNames_p
 

Static Private Attributes

static Loggersingleton_p
 

Detailed Description

Definition at line 211 of file AsynchronousTools.h.

Member Typedef Documentation

typedef map<pthread_t, casacore::String> casa::async::Logger::ThreadNames
private

void log (char * format,...); void setLogFilename (char * logFilename); void terminate ();

Definition at line 258 of file AsynchronousTools.h.

Constructor & Destructor Documentation

casa::async::Logger::Logger ( const Logger )
delete

make noncopyable...

casa::async::Logger::Logger ( )
private
casa::async::Logger::~Logger ( )
private

Member Function Documentation

static Logger* casa::async::Logger::get ( )
static
static void casa::async::Logger::initialize ( )
staticprivate
void casa::async::Logger::log ( const char *  format,
  ... 
)
Logger& casa::async::Logger::operator= ( const Logger )
delete
void casa::async::Logger::registerName ( const casacore::String threadName)
void casa::async::Logger::start ( const char *  logFilename)

Member Data Documentation

LoggerThread* casa::async::Logger::loggerThread_p
private

Definition at line 260 of file AsynchronousTools.h.

bool casa::async::Logger::loggingStarted_p
private

Definition at line 261 of file AsynchronousTools.h.

Mutex* casa::async::Logger::nameMutex_p
private

Definition at line 262 of file AsynchronousTools.h.

Logger* casa::async::Logger::singleton_p
staticprivate

Definition at line 265 of file AsynchronousTools.h.

ThreadNames casa::async::Logger::threadNames_p
private

Definition at line 263 of file AsynchronousTools.h.


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