ClassesClasses | | Operators

close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbers (Operator)

Name

close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbers — Close all image acquisition devices.

Warning

close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers is obsolete and is only provided for reasons of backward compatibility. New applications should not use close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers.

Signature

close_all_framegrabbers( : : : )

Herror close_all_framegrabbers()

Herror T_close_all_framegrabbers()

void CloseAllFramegrabbers()

static void HMisc::CloseAllFramegrabbers()

static void HOperatorSet.CloseAllFramegrabbers()

static void HMisc.CloseAllFramegrabbers()

Description

The operator close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers closes all currently open image acquisition devices. It is used to cope with deadlocks resulting from damaged image acquisition handles (in that case the use of close_framegrabberclose_framegrabberCloseFramegrabberCloseFramegrabberCloseFramegrabber is impossible).

Attention

close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers exists solely for the purpose of implementing the “reset program” functionality in HDevelop. close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers must not be used in any application.

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.

Execution Information

Result

If it is possible to close all image acquisition devices, the operator close_all_framegrabbersclose_all_framegrabbersCloseAllFramegrabbersCloseAllFramegrabbersCloseAllFramegrabbers returns the value 2 (H_MSG_TRUE). Otherwise an exception is raised.

Module

Foundation


ClassesClasses | | Operators