29#ifndef OMNI_PVD_FILE_READ_STREAM_IMPL_H
30#define OMNI_PVD_FILE_READ_STREAM_IMPL_H
32#include "OmniPvdFileReadStream.h"
42 void OMNI_PVD_CALL
setFileName(
const char *fileName);
45 uint64_t OMNI_PVD_CALL
readBytes(uint8_t*
bytes,
const uint64_t nbrBytes);
46 uint64_t OMNI_PVD_CALL
skipBytes(
const uint64_t nbrBytes);
Definition OmniPvdFileReadStreamImpl.h:38
uint64_t OMNI_PVD_CALL readBytes(uint8_t *bytes, const uint64_t nbrBytes)
Read n bytes from the shared memory buffer.
Definition OmniPvdFileReadStreamImpl.cpp:107
bool OMNI_PVD_CALL openFile()
Opens the file.
Definition OmniPvdFileReadStreamImpl.cpp:60
bool OMNI_PVD_CALL openStream()
Opens the read stream.
Definition OmniPvdFileReadStreamImpl.cpp:130
bool OMNI_PVD_CALL closeFile()
Closes the file.
Definition OmniPvdFileReadStreamImpl.cpp:96
bool OMNI_PVD_CALL closeStream()
Closes the read stream.
Definition OmniPvdFileReadStreamImpl.cpp:135
uint64_t OMNI_PVD_CALL skipBytes(const uint64_t nbrBytes)
Skip n bytes from the shared memory buffer.
Definition OmniPvdFileReadStreamImpl.cpp:118
void OMNI_PVD_CALL setFileName(const char *fileName)
Sets the file name of the file to read from.
Definition OmniPvdFileReadStreamImpl.cpp:45
Used to abstract a file read stream.
Definition OmniPvdFileReadStream.h:40