plumbing::logging_tee Class Reference

#include <tee.h>

Inheritance diagram for plumbing::logging_tee:

Public Member Functions

virtual ~logging_tee ()
 logging_tee (logging *lhs, logging *rhs)

Protected Member Functions

void deliver_message_text (const char *txt)

Private Member Functions

 logging_tee ()
 logging_tee (const logging_tee &)
logging_teeoperator= (const logging_tee &)

Private Attributes


Detailed Description

The plumbing::logging_tee class is used to represent a logging stream which can deliver the messages to two destinations simultaneously.

Definition at line 29 of file tee.h.

Constructor & Destructor Documentation

plumbing::logging_tee::~logging_tee (  )  [virtual]

The destructor.

Definition at line 21 of file

plumbing::logging_tee::logging_tee ( logging lhs,
logging rhs 

The constructor.

Definition at line 26 of file

plumbing::logging_tee::logging_tee (  )  [private]

The default constructor. Do not use.

plumbing::logging_tee::logging_tee ( const logging_tee  )  [private]

The copy constructor. Do not use.

Member Function Documentation

void plumbing::logging_tee::deliver_message_text ( const char *  txt  )  [protected, virtual]

The deliver_message_text method is used to actually deliver a log message to the logging medium. All formatting has been completed, the text requires no further substitutions.

Implements plumbing::logging.

Definition at line 35 of file

logging_tee& plumbing::logging_tee::operator= ( const logging_tee  )  [private]

The assignment operator. Do not use.

Field Documentation

The lhs instance variable is used to remember the first logging stream.

Definition at line 52 of file tee.h.

The rhs instance variable is used to remember the second logging stream.

Definition at line 58 of file tee.h.

The documentation for this class was generated from the following files:
Generated on Thu Sep 16 14:51:27 2010 for Plumbing by  doxygen 1.6.3