OStreamWrapper

class OStreamWrapper

Bases: StreamWrapperBase

This class provides a locking wrapper around an arbitrary ostream pointer. A thread may use this class to perform an atomic seek/write operation.

Inheritance diagram

Inheritance diagram of OStreamWrapper

explicit OStreamWrapper(std::ostream &stream)
std::ostream *get_ostream(void) const

Returns the ostream this object is wrapping.