MemBuffer::getWasLockedFlag Method

Returns true, if the buffer was locked when the grabber tried to write data to it.
Syntax:
bool getWasLockedFlag();
Return value:

true, if the flag is set, false otherwise.

Remarks:

This method returns true, if the grabber tried to copy a new frame to MemBuffer, but failed because the MemBuffer was locked (due to a call to MemBuffer::lock ).

See also: MemBuffer, MemBuffer::lock, MemBuffer::unlock, MemBuffer::isLocked

<< MemBuffer