
Grabber::setActiveMemBufferCollection Method [Deprecated] |
||||||||||||||
| Sets the MemBufferCollection in which the grabbed images will be stored. | ||||||||||||||
| Syntax: | bool setActiveMemBufferCollection( tMemBufferCollectionPtr pBuffer );
|
|||||||||||||
|
||||||||||||||
| Return value: | true, if the collection was set successfully, false, if an error occurred. |
|||||||||||||
| Remarks: | This method sets the MemBufferCollection to be used for grabbing. The active MemBufferCollection contains the buffers into which grabbed images will be written to. A call to this method will fail, if the grabber is in live mode. Please note that the GrabberListener::frameReady method is only called, if an active MemBufferCollection and a sink type is set. Otherwise, the frameReady event will never be called. A call to Grabber::setVideoFormat and Grabber::setSinkType removes the MemBufferCollection from the sink. Therefore, the sequence of calls to the methods mentioned above has to be:
|
|||||||||||||
| Information: | This method is deprecated since version 3.0. | |||||||||||||
| See also: | Grabber, Grabber::getActiveMemBuffer, Grabber::getActiveMemBufferCollection | |||||||||||||