Base class for erratum sink. More...
#include <Errata.h>
Inherits ts::IntrusivePtrCounter.
Inherited by ts::Errata::SinkFunctionWrapper.
Public Types | |
typedef Sink | self |
Self reference type. | |
typedef IntrusivePtr< self > | Handle |
Handle type. | |
Public Member Functions | |
virtual void | operator() (Errata const &) const =0 |
Handle an abandoned errata. | |
virtual | ~Sink () |
Force virtual destructor. |
Base class for erratum sink.
When an errata is abandoned, this will be called on it to perform any client specific logging. It is passed around by handle so that it doesn't have to support copy semantics (and is not destructed until application shutdown). Clients can subclass this class in order to preserve arbitrary data for the sink or retain a handle to the sink for runtime modifications.
Definition at line 279 of file Errata.h.
typedef IntrusivePtr<self> ts::Errata::Sink::Handle |
typedef Sink ts::Errata::Sink::self |
virtual ts::Errata::Sink::~Sink | ( | ) | [inline, virtual] |
virtual void ts::Errata::Sink::operator() | ( | Errata const & | ) | const [pure virtual] |
Handle an abandoned errata.
Implemented in ts::Errata::SinkFunctionWrapper.