Name
close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabber — Close specified image acquisition device.
Herror close_framegrabber(const Hlong AcqHandle)
Herror T_close_framegrabber(const Htuple AcqHandle)
void CloseFramegrabber(const HTuple& AcqHandle)
The operator close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber closes the image acquisition device
specified by AcqHandleAcqHandleAcqHandleAcqHandleacqHandle. In particular, allocated memory for data
buffers is released and the image acquisition device is made available for
other processes.
For a multithreaded application all image acquisition operators
(as listed in open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber) are
an own group in which info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberInfoFramegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber,
close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber and close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers are
executed exclusively.
Thus, info_framegrabberinfo_framegrabberInfoFramegrabberInfoFramegrabberInfoFramegrabber, open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber,
close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber and close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers block the
concurrent execution of all other operators within this group, but run in
parallel with all non-exclusive operators outside of this group.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
This operator modifies the state of the following input parameter:
The value of this parameter may not be shared across multiple threads without external synchronization.
Handle of the image acquisition device to be closed.
If the specified image acquisition device could be closed,
close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber returns the value 2 (H_MSG_TRUE).
Otherwise an exception is raised.
grab_imagegrab_imageGrabImageGrabImageGrabImage,
grab_image_asyncgrab_image_asyncGrabImageAsyncGrabImageAsyncGrabImageAsync
open_framegrabberopen_framegrabberOpenFramegrabberOpenFramegrabberOpenFramegrabber
Foundation