casa
$Rev:20696$
|
#include <AsynchronousTools.h>
Classes | |
class | LoggerThread |
Public Member Functions | |
void | log (const char *format,...) |
void | registerName (const String &threadName) |
void | start (const char *logFilename) |
Static Public Member Functions | |
static Logger * | get () |
Private Types | |
typedef map< pthread_t, String > | ThreadNames |
void log (char * format, ...); void setLogFilename (char * logFilename); void terminate (); | |
Private Member Functions | |
Logger () | |
~Logger () | |
Static Private Member Functions | |
static void | initialize () |
Private Attributes | |
LoggerThread * | loggerThread_p |
bool | loggingStarted_p |
Mutex * | nameMutex_p |
ThreadNames | threadNames_p |
Static Private Attributes | |
static Logger * | singleton_p |
Definition at line 214 of file AsynchronousTools.h.
typedef map<pthread_t, String> casa::async::Logger::ThreadNames [private] |
void log (char * format, ...); void setLogFilename (char * logFilename); void terminate ();
Definition at line 257 of file AsynchronousTools.h.
casa::async::Logger::Logger | ( | ) | [private] |
casa::async::Logger::~Logger | ( | ) | [private] |
static Logger* casa::async::Logger::get | ( | ) | [static] |
static void casa::async::Logger::initialize | ( | ) | [static, private] |
void casa::async::Logger::log | ( | const char * | format, |
... | |||
) |
void casa::async::Logger::registerName | ( | const String & | threadName | ) |
void casa::async::Logger::start | ( | const char * | logFilename | ) |
LoggerThread* casa::async::Logger::loggerThread_p [private] |
Definition at line 259 of file AsynchronousTools.h.
bool casa::async::Logger::loggingStarted_p [private] |
Definition at line 260 of file AsynchronousTools.h.
Mutex* casa::async::Logger::nameMutex_p [private] |
Definition at line 261 of file AsynchronousTools.h.
Logger* casa::async::Logger::singleton_p [static, private] |
Definition at line 264 of file AsynchronousTools.h.
Definition at line 262 of file AsynchronousTools.h.