mermaid::support::logging::ThreadSafeOutput Class Reference

Adds mutual exclusion to another output. More...

#include <Logger.hpp>

Inheritance diagram for mermaid::support::logging::ThreadSafeOutput:
Inheritance graph
[legend]
Collaboration diagram for mermaid::support::logging::ThreadSafeOutput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void outputMessage (const LogMessage &logMessage)
 Logs a message generated by the logger.

Static Public Member Functions

static shared_ptr
< ThreadSafeOutput
build (shared_ptr< LogOutput > output)
 ThreadSafeOutput.

Detailed Description

Adds mutual exclusion to another output.

Author:
Joao Reis

Definition at line 657 of file Logger.hpp.


Member Function Documentation

shared_ptr< ThreadSafeOutput > ThreadSafeOutput::build ( shared_ptr< LogOutput output  )  [static]

ThreadSafeOutput.

Parameters:
output The output to guard.
Returns:
A shared_ptr to the new ThreadSafeOutput.
Author:
Joao Reis

Definition at line 46 of file ThreadSafeOutput.cpp.

void ThreadSafeOutput::outputMessage ( const LogMessage logMessage  )  [virtual]

Logs a message generated by the logger.

Parameters:
logMessage the message to log.
Author:
Joao Reis

Implements mermaid::support::logging::LogOutput.

Definition at line 51 of file ThreadSafeOutput.cpp.

Generated on Fri Mar 4 22:15:49 2011 for MeRMaID::support by  doxygen 1.6.3