close_all_framegrabbers ( : : : )

Close all frame grabbers.

The operator close_all_framegrabbers closes all frame grabbers. It is used to cope with deadlocks resulting from damaged frame grabber handles (in that case the use of close_framegrabber is impossible).


Attention

Since all frame grabbers are closed by close_all_framegrabbers all frame grabber handles become invalid.


Result

If it is possible to close the frame grabbers the operator close_all_framegrabbers returns the value 2 (H_MSG_TRUE). Otherwise an exception handling is raised.


Parallelization Information

close_all_framegrabbers is local and processed completely exclusively without parallelization.


Possible Predecessors

grab_image


See also

open_framegrabber


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH