BloombergLP::ball::ObserverAdapter

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

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

Member Functions

NameDescription
~ObserverAdapter [destructor] [virtual]Destroy this observer.
publish publish overloads
releaseRecords [virtual]Discard any shared reference to a Record object held by this observer.