|
RavEngine
|
Used to abstract a memory read stream. More...
#include <OmniPvdReadStream.h>
Public Member Functions | |
| virtual uint64_t OMNI_PVD_CALL | readBytes (uint8_t *bytes, const uint64_t nbrBytes)=0 |
| Read n bytes from the shared memory buffer. | |
| virtual uint64_t OMNI_PVD_CALL | skipBytes (const uint64_t nbrBytes)=0 |
| Skip n bytes from the shared memory buffer. | |
| virtual bool OMNI_PVD_CALL | openStream ()=0 |
| Opens the read stream. | |
| virtual bool OMNI_PVD_CALL | closeStream ()=0 |
| Closes the read stream. | |
Used to abstract a memory read stream.
Allows to read and skip bytes as well as open/close it.
|
pure virtual |
Closes the read stream.
Implemented in OmniPvdFileReadStreamImpl, and OmniPvdMemoryReadStreamImpl.
|
pure virtual |
Opens the read stream.
Implemented in OmniPvdFileReadStreamImpl, and OmniPvdMemoryReadStreamImpl.
|
pure virtual |
Read n bytes from the shared memory buffer.
| bytes | Reads n bytes into the destination pointer |
| nbrBytes | The requested number of bytes to read |
Implemented in OmniPvdFileReadStreamImpl, and OmniPvdMemoryReadStreamImpl.
|
pure virtual |
Skip n bytes from the shared memory buffer.
| nbrBytes | The requested number of bytes to skip |
Implemented in OmniPvdFileReadStreamImpl, and OmniPvdMemoryReadStreamImpl.