OmniPvdWriteStream#
Defined in pvdruntime/include/OmniPvdWriteStream.h
-
class OmniPvdWriteStream#
Used to abstract a memory write stream.
Allows to write bytes as well as open/close the stream.
Subclassed by OmniPvdFileWriteStream
Public Functions
-
inline virtual ~OmniPvdWriteStream()#
- virtual uint64_t writeBytes(
- const uint8_t *bytes,
- uint64_t nbrBytes,
Write n bytes to the shared memory buffer.
- Parameters:
bytes – pointer to the bytes to write
nbrBytes – The requested number of bytes to write
- Returns:
The actual number of bytes written
-
virtual bool flush() = 0#
Flushes the writes.
- Returns:
The success of the operation
-
virtual bool openStream() = 0#
Opens the stream.
- Returns:
The success of the operation
-
virtual bool closeStream() = 0#
Closes the stream.
- Returns:
The success of the operation
-
inline virtual ~OmniPvdWriteStream()#