Public Types | Public Member Functions

ts::Errata::Sink Class Reference

Base class for erratum sink. More...

#include <Errata.h>

Inherits ts::IntrusivePtrCounter.

Inherited by ts::Errata::SinkFunctionWrapper.

Collaboration diagram for ts::Errata::Sink:
Collaboration graph
[legend]

Public Types

typedef Sink self
 Self reference type.
typedef IntrusivePtr< selfHandle
 Handle type.

Public Member Functions

virtual void operator() (Errata const &) const =0
 Handle an abandoned errata.
virtual ~Sink ()
 Force virtual destructor.

Detailed Description

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.


Member Typedef Documentation

Handle type.

Definition at line 282 of file Errata.h.

Self reference type.

Definition at line 281 of file Errata.h.


Constructor & Destructor Documentation

virtual ts::Errata::Sink::~Sink (  )  [inline, virtual]

Force virtual destructor.

Definition at line 287 of file Errata.h.


Member Function Documentation

virtual void ts::Errata::Sink::operator() ( Errata const &   )  const [pure virtual]

Handle an abandoned errata.

Implemented in ts::Errata::SinkFunctionWrapper.


The documentation for this class was generated from the following file: