Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::FormattingChannel Class Reference

#include <FormattingChannel.h>

Inheritance diagram for Poco::FormattingChannel:
Collaboration diagram for Poco::FormattingChannel:

List of all members.

Public Member Functions

void close ()
 Opens the attached channel.
void duplicate () const
 FormattingChannel (Formatter *pFormatter)
 Creates a FormattingChannel.
 FormattingChannel (Formatter *pFormatter, Channel *pChannel)
 Creates a FormattingChannel and attaches a Formatter.
ChannelgetChannel () const
FormattergetFormatter () const
std::string getProperty (const std::string &name) const
 Throws a PropertyNotSupportedException.
void log (const Message &msg)
void open ()
int referenceCount () const
void release () const
 Increments the object's reference count.
void setChannel (Channel *pChannel)
void setFormatter (Formatter *pFormatter)
void setProperty (const std::string &name, const std::string &value)

Protected Member Functions

 ~FormattingChannel ()
 Closes the attached channel.

Private Attributes


Detailed Description

The FormattingChannel is a filter channel that routes a Message through a Formatter before passing it on to the destination channel.

Definition at line 53 of file FormattingChannel.h.

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

Generated by  Doxygen 1.6.0   Back to index