Panda3D
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
IStreamWrapper Class Reference

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

#include <pandadoc.hpp>

Inheritance diagram for IStreamWrapper:
StreamWrapperBase StreamWrapper

Public Member Functions

 __init__ (Istream stream)
 
Istream getIstream ()
 Returns the istream this object is wrapping.
 
- Public Member Functions inherited from StreamWrapperBase
 acquire ()
 Acquires the internal lock.
 
 release ()
 Releases the internal lock.
 

Public Attributes

Istream istream
 Returns the istream this object is wrapping.
 

Detailed Description

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

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

Member Function Documentation

◆ __init__()

__init__ ( Istream stream)

◆ getIstream()

Istream getIstream ( )

Returns the istream this object is wrapping.

Member Data Documentation

◆ istream

Istream istream

Returns the istream this object is wrapping.