BDE 4.14.0 Production release
|
#include <ball_observer.h>
Public Member Functions | |
virtual | ~Observer () |
Destroy this observer. | |
virtual void | publish (const Record &record, const Context &context) |
virtual void | publish (const bsl::shared_ptr< const Record > &record, const Context &context) |
virtual void | releaseRecords () |
This class provides a protocol for receiving and processing log record output.
See ball_observer
|
virtual |
|
virtual |
Process the specified log record
having the specified publishing context
. The exact definition of publish depends on the implementing class, though the intention is that the log record
(whose publication has occurred according to context
) be distributed in a human or machine readable form.
Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::FilteringObserver, ball::StreamObserver, ball::AsyncFileObserver, ball::BroadcastObserver, ball::FileObserver, ball::FileObserver2, ball::FilteringObserver, ball::MultiplexObserver, ball::ObserverAdapter, ball::StreamObserver, and ball::TestObserver.
Process the specified log record
having the specified publishing context
.
publish
overload instead. Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::FilteringObserver, ball::StreamObserver, ball::FileObserver, ball::FileObserver2, ball::MultiplexObserver, ball::TestObserver, and ball::ObserverAdapter.
|
virtual |
Discard any shared references to Record
objects that were supplied to the publish
method, and are held by this observer. Note that this operation should be called if resources underlying the previously provided shared pointers must be released.
Reimplemented in ball::AsyncFileObserver, ball::BroadcastObserver, ball::FileObserver, ball::FileObserver2, ball::FilteringObserver, ball::MultiplexObserver, ball::ObserverAdapter, ball::StreamObserver, and ball::TestObserver.