AppenderAttachable Class Reference

This Interface is for attaching Appenders to objects. More...

Inherits log4cxx::helpers::Object.

Inherited by AsyncAppender [virtual], AppenderAttachableImpl [virtual], and Logger [virtual].

List of all members.

Classes

class  ClazzAppenderAttachable

Public Member Functions

virtual const helpers::ClassgetClass () const
virtual void addAppender (const AppenderPtr &newAppender)=0
 Add an appender.
virtual AppenderList getAllAppenders () const =0
 Get all previously added appenders as an AppenderList.
virtual AppenderPtr getAppender (const LogString &name) const =0
 Get an appender by name.
virtual bool isAttached (const AppenderPtr &appender) const =0
 Returns true if the specified appender is in list of attached attached, false otherwise.
virtual void removeAllAppenders ()=0
 Remove all previously added appenders.
virtual void removeAppender (const AppenderPtr &appender)=0
 Remove the appender passed as parameter from the list of appenders.
virtual void removeAppender (const LogString &name)=0
 Remove the appender with the name passed as parameter from the list of appenders.
virtual ~AppenderAttachable ()

Static Public Member Functions

static const helpers::ClassgetStaticClass ()
static const
log4cxx::helpers::ClassRegistration
registerClass ()

Detailed Description

This Interface is for attaching Appenders to objects.


Constructor & Destructor Documentation

virtual ~AppenderAttachable (  )  [inline, virtual]

Member Function Documentation

virtual void addAppender ( const AppenderPtr newAppender  )  [pure virtual]

Add an appender.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

virtual AppenderList getAllAppenders (  )  const [pure virtual]

Get all previously added appenders as an AppenderList.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

virtual AppenderPtr getAppender ( const LogString name  )  const [pure virtual]

Get an appender by name.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

virtual const helpers::Class& getClass (  )  const [virtual]

Reimplemented from Object.

Reimplemented in Logger.

static const helpers::Class& getStaticClass (  )  [static]

Reimplemented from Object.

Reimplemented in Logger.

virtual bool isAttached ( const AppenderPtr appender  )  const [pure virtual]

Returns true if the specified appender is in list of attached attached, false otherwise.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

static const log4cxx::helpers::ClassRegistration& registerClass (  )  [static]

Reimplemented from Object.

Reimplemented in Logger.

virtual void removeAllAppenders (  )  [pure virtual]

Remove all previously added appenders.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

virtual void removeAppender ( const LogString name  )  [pure virtual]

Remove the appender with the name passed as parameter from the list of appenders.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.

virtual void removeAppender ( const AppenderPtr appender  )  [pure virtual]

Remove the appender passed as parameter from the list of appenders.

Implemented in AsyncAppender, AppenderAttachableImpl, and Logger.


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