LibSWOC++ 1.5.14
Solid Wall of C++
Loading...
Searching...
No Matches
swoc::Errata::Sink Class Referenceabstract

#include <Errata.h>

Inheritance diagram for swoc::Errata::Sink:
Inheritance graph
Collaboration diagram for swoc::Errata::Sink:
Collaboration graph

Public Types

using Handle = std::shared_ptr<self_type>
 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 630 of file Errata.h.

Member Typedef Documentation

◆ Handle

using swoc::Errata::Sink::Handle = std::shared_ptr<self_type>

Handle type.

Definition at line 634 of file Errata.h.

Constructor & Destructor Documentation

◆ ~Sink()

virtual swoc::Errata::Sink::~Sink ( )
inlinevirtual

Force virtual destructor.

Definition at line 639 of file Errata.h.

Member Function Documentation

◆ operator()()

virtual void swoc::Errata::Sink::operator() ( Errata const & ) const
pure virtual

Handle an abandoned errata.

Implemented in swoc::Errata::SinkWrapper.


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