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

Public Member Functions

uint64_t OMNI_PVD_CALL writeBytes (const uint8_t *source, const uint64_t nbrBytes)
 Write n bytes to the shared memory buffer.
 
bool OMNI_PVD_CALL flush ()
 Flushes the writes.
 
bool OMNI_PVD_CALL openStream ()
 Opens the stream.
 
bool OMNI_PVD_CALL closeStream ()
 Closes the stream.
 

Public Attributes

OmniPvdMemoryStreamImpl * mMemoryStream
 

Member Function Documentation

◆ closeStream()

bool OMNI_PVD_CALL OmniPvdMemoryWriteStreamImpl::closeStream ( )
virtual

Closes the stream.

Returns
The success of the operation

Implements OmniPvdWriteStream.

◆ flush()

bool OMNI_PVD_CALL OmniPvdMemoryWriteStreamImpl::flush ( )
virtual

Flushes the writes.

Returns
The success of the operation

Implements OmniPvdWriteStream.

◆ openStream()

bool OMNI_PVD_CALL OmniPvdMemoryWriteStreamImpl::openStream ( )
virtual

Opens the stream.

Returns
The success of the operation

Implements OmniPvdWriteStream.

◆ writeBytes()

uint64_t OMNI_PVD_CALL OmniPvdMemoryWriteStreamImpl::writeBytes ( const uint8_t *  bytes,
const uint64_t  nbrBytes 
)
virtual

Write n bytes to the shared memory buffer.

Parameters
bytespointer to the bytes to write
nbrBytesThe requested number of bytes to write
Returns
The actual number of bytes written

Implements OmniPvdWriteStream.


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