FrameHandlerSink::getLastAcqMemBuffer Method

Returns the MemBuffer, in which the last frame was fully copied. Each restart of the sink sets the start of the MemBufferCollection to the first buffer. After stopping the sink, this function returns the last acquired frame until the sink is restarted.
Syntax:
smart_ptr<MemBuffer> getLastAcqMemBuffer() const;
Return Value:

The last filler MemBuffer This function returns 0, if no frame has yet been acquired, or no MemBufferCollection is set.

See also: FrameHandlerSink, FrameHandlerSink::create, MemBufferCollection, MemBuffer

<< FrameHandlerSink