Class Dune::XT::Common::SuspendableStrBuffer

Friends Dune::XT::Common::CombinedBuffer.

class Dune::XT::Common::SuspendableStrBuffer

a string buffer whose input can be temporarily suspended (priority-based) and that respects log flags

Method Dune::XT::Common::SuspendableStrBuffer::suspend

void Dune::XT::Common::SuspendableStrBuffer::suspend(PriorityType priority)

stop accepting input into the buffer the suspend_priority_ mechanism provides a way to silence streams from ‘higher’ modules no-op if already suspended *

Method Dune::XT::Common::SuspendableStrBuffer::resume

void Dune::XT::Common::SuspendableStrBuffer::resume(PriorityType priority)

start accepting input into the buffer again no-op if not suspended *

Method Dune::XT::Common::SuspendableStrBuffer::pubsync

int Dune::XT::Common::SuspendableStrBuffer::pubsync()

No documentation provided.

Method Dune::XT::Common::SuspendableStrBuffer::xsputn

std::streamsize Dune::XT::Common::SuspendableStrBuffer::xsputn(const int *s, std::streamsize count) override

No documentation provided.

Method Dune::XT::Common::SuspendableStrBuffer::overflow

int Dune::XT::Common::SuspendableStrBuffer::overflow(int ch) override

No documentation provided.

Method Dune::XT::Common::SuspendableStrBuffer::enabled

inline bool Dune::XT::Common::SuspendableStrBuffer::enabled() const

No documentation provided.

Constructor Dune::XT::Common::SuspendableStrBuffer::SuspendableStrBuffer

Dune::XT::Common::SuspendableStrBuffer::SuspendableStrBuffer(int loglevel, int &logflags)

No documentation provided.

Constructor Dune::XT::Common::SuspendableStrBuffer::SuspendableStrBuffer

Dune::XT::Common::SuspendableStrBuffer::SuspendableStrBuffer(const SuspendableStrBuffer&) = delete

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::logflags_

int &Dune::XT::Common::SuspendableStrBuffer::logflags_

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::loglevel_

int Dune::XT::Common::SuspendableStrBuffer::loglevel_

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::suspended_logflags_

int Dune::XT::Common::SuspendableStrBuffer::suspended_logflags_

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::is_suspended_

bool Dune::XT::Common::SuspendableStrBuffer::is_suspended_

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::suspend_priority_

PriorityType Dune::XT::Common::SuspendableStrBuffer::suspend_priority_

No documentation provided.

Field Dune::XT::Common::SuspendableStrBuffer::mutex_

std::mutex Dune::XT::Common::SuspendableStrBuffer::mutex_

No documentation provided.

Variable Dune::XT::Common::SuspendableStrBuffer::default_suspend_priority

const PriorityType Dune::XT::Common::SuspendableStrBuffer::default_suspend_priority

No documentation provided.

Type alias Dune::XT::Common::SuspendableStrBuffer::PriorityType

type Dune::XT::Common::SuspendableStrBuffer::PriorityType

No documentation provided.