Namespace: Rx::LFR – Class: CSeqFileWriter – Header: Rx.LFR/SeqFileWriter.h

CSeqFileWriter Class

C++
#include "Rx.LFR/SeqFileWriter.h"
class CSeqFileWriter : public CPimpl<CSeqFileWriter_Impl, ESeqFileWriterInterface>

Provides methods for writing frames into a sequence in a rays file.

Constructors

CSeqFileWriter()

Default constructor.

CSeqFileWriter(xSeqFileWriter)

Move constructor.

Destructor

~CSeqFileWriter()

Destructor. Closes the opened file.

Methods

Open(sxFilename, uFrameBufferCount)

Opens the given ray sequence for writing.

StartWriting(xFrameFormat, xCalib, xMeta, uDoubleShotMode)

Starts the write process. This starts the background buffer thread.

WriteFrame(xFrame, xCalib, bSequential)

Writes the given frame at the current frame index.

Close()

Closes the opened sequence file and stops the background buffer thread.

GetFrameFormat()

Gets the frame format that has been passed in StartWriting.

GetUsedFrameBufferCount()

Gets the current number of used buffer slots.

GetFrameCount()

Gets the current number of frames in the opened sequence.

GetFrameSize()

Gets the size of a frame in bytes.

GetFileSize()

Gets the current file size in bytes.

GetDoubleShotMode()

Gets the double shot mode that has been passed in StartWriting.

IsOpen()

Queries if a file has been opened.

IsWriting()

Queries if StartWriting has been called.

GetImpl()

Gets the non constant implementation.

(Inherited from CPimpl)
GetImpl()

Gets the constant implementation.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
GetInterface(eInterface)

Gets the interface defined by the given interface ID.

(Inherited from CPimpl)
HasInterface(eInterface)

Queries if this object has the given interface.

(Inherited from CPimpl)

Operators

operator=(xSeqFileWriter)

Move assignment operator.