This class provides a helper for implementing the Observer protocol.

Synopsis

Declared in <ball_observeradapter.h>

class ObserverAdapter
    : public Observer

Description

This class aids in the implementation of the Observer protocol by allowing clients to implement that protocol by implementing a single method signature: publish(const Record&, const Context&).

Base Classes

Name

Description

Observer

This class provides a protocol for receiving and processing log record output.

Member Functions

Name

Description

~ObserverAdapter [destructor] [virtual]

Destroy this observer.

publish

publish overloads

releaseRecords [virtual]

Discard any shared reference to a Record object held by this observer.

Created with MrDocs