GrabberListener::deviceLost Method

This method is called when the video capture device is lost, i.e. unplugged.
Syntax:
virtual void deviceLost( Grabber& caller );
Parameter Description
caller

Identifies the Grabber object, whose video capture device was lost.

Remarks:

If the video capture device was lost - for example it was unplugged - this callback method is called.

This callback method is called only if the GrabberListener object was registered by a call to Grabber::addListener with the parameter eDEVICELOST or eALL.

See also: GrabberListener, Grabber::addListener, GrabberListener::tListenerType, GrabberListener::frameReady, GrabberListener::overlayCallback

<< GrabberListener