BDE 4.14.0 Production release
|
#include <ball_observeradapter.h>
Public Member Functions | |
~ObserverAdapter () BSLS_KEYWORD_OVERRIDE | |
Destroy this observer. | |
void | publish (const Record &record, const Context &context) BSLS_KEYWORD_OVERRIDE=0 |
void | publish (const bsl::shared_ptr< const Record > &record, const Context &context) BSLS_KEYWORD_OVERRIDE |
void | releaseRecords () BSLS_KEYWORD_OVERRIDE |
Public Member Functions inherited from ball::Observer | |
virtual | ~Observer () |
Destroy this observer. | |
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&)
.
ball::ObserverAdapter::~ObserverAdapter | ( | ) |
|
inlinevirtual |
Process the specified log record
having the specified publishing context
.
Reimplemented from ball::Observer.
Process the record referred by the specified log shared pointer record
. Note that classes that derive from ObserverAdapter
should not implement this method.
Reimplemented from ball::Observer.
|
inlinevirtual |
Discard any shared reference to a Record
object that was supplied to the publish
method and is held by this observer. Note that classes that derive from ObserverAdapter
should not implement this method. Also note that this operation should be called if resources underlying the previously provided shared-pointers must be released.
Reimplemented from ball::Observer.