IC Imaging Control C++

GrabberListener::deviceLost Method

GrabberListener::deviceLost Method

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

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


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

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, video converters and embedded vision components for factory automation, quality assurance, medicine, science, security and a variety of other markets.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE, MIPI interfaces and other innovative machine vision products are renowned for their high quality and ability to meet the performance requirements of demanding applications.

Automated Imaging Association ISO 9001:2015 certified

Contact us