Panda3D
Public Member Functions | Public Attributes | List of all members
OStreamWrapper Class Reference

This class provides a locking wrapper around an arbitrary ostream pointer. More...

Inheritance diagram for OStreamWrapper:
StreamWrapperBase StreamWrapper

Public Member Functions

 __init__ (Ostream stream)
 
Ostream getOstream ()
 Returns the ostream this object is wrapping. More...
 
- Public Member Functions inherited from StreamWrapperBase
 acquire ()
 Acquires the internal lock. More...
 
 release ()
 Releases the internal lock. More...
 

Public Attributes

Ostream ostream
 Returns the ostream this object is wrapping. More...
 

Detailed Description

This class provides a locking wrapper around an arbitrary ostream pointer.

A thread may use this class to perform an atomic seek/write operation.

Member Function Documentation

◆ __init__()

__init__ ( Ostream  stream)

◆ getOstream()

Ostream getOstream ( )

Returns the ostream this object is wrapping.

Member Data Documentation

◆ ostream

Ostream ostream

Returns the ostream this object is wrapping.