MemBuffer::lock Method

This method increments the lock count of this buffer by 1, so that the grabber cannot overwrite the data in this buffer.
Syntax:
void lock();
Remarks:

If the grabber cannot write to this buffer, the WasLockedFlag is set.

See also: MemBuffer, MemBuffer::unlock, MemBuffer::forceUnlock, MemBuffer::isLocked, MemBuffer::getWasLockedFlag

<< MemBuffer

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, TX Text Control Blog and Forums.