|
RavEngine
|
Used to abstract a memory write stream. More...
#include <OmniPvdWriteStream.h>
Public Member Functions | |
| virtual uint64_t OMNI_PVD_CALL | writeBytes (const uint8_t *bytes, const uint64_t nbrBytes)=0 |
| Write n bytes to the shared memory buffer. | |
| virtual bool OMNI_PVD_CALL | flush ()=0 |
| Flushes the writes. | |
| virtual bool OMNI_PVD_CALL | openStream ()=0 |
| Opens the stream. | |
| virtual bool OMNI_PVD_CALL | closeStream ()=0 |
| Closes the stream. | |
Used to abstract a memory write stream.
Allows to write bytes as well as open/close the stream.
|
pure virtual |
Closes the stream.
Implemented in OmniPvdFileWriteStreamImpl, and OmniPvdMemoryWriteStreamImpl.
|
pure virtual |
Flushes the writes.
Implemented in OmniPvdFileWriteStreamImpl, and OmniPvdMemoryWriteStreamImpl.
|
pure virtual |
Opens the stream.
Implemented in OmniPvdFileWriteStreamImpl, and OmniPvdMemoryWriteStreamImpl.
|
pure virtual |
Write n bytes to the shared memory buffer.
| bytes | pointer to the bytes to write |
| nbrBytes | The requested number of bytes to write |
Implemented in OmniPvdFileWriteStreamImpl, and OmniPvdMemoryWriteStreamImpl.