Note

You are browsing the documentation for an unreleased preview version of Panda3D. Click here to go to the latest released version.

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.