RavEngine
Loading...
Searching...
No Matches
OmniPvdMemoryStreamImpl Class Reference
Inheritance diagram for OmniPvdMemoryStreamImpl:
[legend]
Collaboration diagram for OmniPvdMemoryStreamImpl:
[legend]

Public Member Functions

OmniPvdReadStream *OMNI_PVD_CALL getReadStream ()
 Used to get the read stream.
 
OmniPvdWriteStream *OMNI_PVD_CALL getWriteStream ()
 Used to get the write stream.
 
uint64_t OMNI_PVD_CALL setBufferSize (uint64_t bufferLength)
 Sets the buffer size in bytes of the memory streams.
 
uint64_t readBytes (uint8_t *destination, uint64_t nbrBytes)
 
uint64_t skipBytes (const uint64_t nbrBytes)
 
uint64_t writeBytes (const uint8_t *source, const uint64_t nbrBytes)
 
bool flush ()
 

Public Attributes

OmniPvdMemoryReadStreamImpl * mReadStream
 
OmniPvdMemoryWriteStreamImpl * mWriteStream
 
uint8_t * mBuffer
 
uint64_t mBufferLength
 
uint64_t mWrittenBytes
 
uint64_t mWritePosition
 
uint64_t mReadPosition
 

Member Function Documentation

◆ getReadStream()

OmniPvdReadStream *OMNI_PVD_CALL OmniPvdMemoryStreamImpl::getReadStream ( )
virtual

Used to get the read stream.

Returns
The read stream

Implements OmniPvdMemoryStream.

◆ getWriteStream()

OmniPvdWriteStream *OMNI_PVD_CALL OmniPvdMemoryStreamImpl::getWriteStream ( )
virtual

Used to get the write stream.

Returns
The write stream

Implements OmniPvdMemoryStream.

◆ setBufferSize()

uint64_t OMNI_PVD_CALL OmniPvdMemoryStreamImpl::setBufferSize ( uint64_t  bufferLength)
virtual

Sets the buffer size in bytes of the memory streams.

Returns
The actually allocated length of the memory stream

Implements OmniPvdMemoryStream.


The documentation for this class was generated from the following files: