|
LibSWOC++ 1.5.14
Solid Wall of C++
|
Convenience wrapper class to enable using functions directly for sinks. More...
#include <Errata.h>


Public Member Functions | |
| SinkWrapper (SinkHandler const &f) | |
| Constructor. | |
| SinkWrapper (SinkHandler &&f) | |
| void | operator() (Errata const &e) const override |
| Operator to invoke the function. | |
Public Member Functions inherited from swoc::Errata::Sink | |
| virtual | ~Sink () |
| Force virtual destructor. | |
Public Attributes | |
| SinkHandler | _f |
| Client supplied handler. | |
Additional Inherited Members | |
Public Types inherited from swoc::Errata::Sink | |
| using | Handle = std::shared_ptr<self_type> |
| Handle type. | |
Convenience wrapper class to enable using functions directly for sinks.
|
inline |
|
inline |
|
inlineoverridevirtual |
Operator to invoke the function.
Implements swoc::Errata::Sink.
| SinkHandler swoc::Errata::SinkWrapper::_f |