eckit::CallbackTarget class

Base classes

class LineBasedTarget

Public types

using callback_t = void(*)(void*ctxt, const char*msg)

Constructors, destructors, conversion operators

CallbackTarget(callback_t callback, void* context = 0)
~CallbackTarget() override

Public functions

void attach() const
void detach() const
auto count() const -> size_t
void lock() const
void unlock() const

Private functions

void line(const char* line) override
void print(std::ostream& s) const override

Function documentation

void eckit::CallbackTarget::attach() const

void eckit::CallbackTarget::detach() const

size_t eckit::CallbackTarget::count() const

void eckit::CallbackTarget::lock() const

void eckit::CallbackTarget::unlock() const