29#ifndef OMNI_PVD_READ_STREAM_H
30#define OMNI_PVD_READ_STREAM_H
32#include "OmniPvdDefines.h"
53 virtual uint64_t OMNI_PVD_CALL
readBytes(uint8_t*
bytes,
const uint64_t nbrBytes) = 0;
61 virtual uint64_t OMNI_PVD_CALL
skipBytes(
const uint64_t nbrBytes) = 0;
Used to abstract a memory read stream.
Definition OmniPvdReadStream.h:40
virtual bool OMNI_PVD_CALL closeStream()=0
Closes the read stream.
virtual bool OMNI_PVD_CALL openStream()=0
Opens the read stream.
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.