The GrabberListener class is the base class for all classes implementing a callback handler. A callback handler class has to be derived from GrabberListener and has to overwrite one or more callback methods. Every instance of a callback handler class has to be registered in Grabber by a call to Grabber::addListener. The available methods are:
Header File: tisudshl.h
Namespace: DShowLib
Method | Description | ||
deviceListChanged | This method is called when the list of available video capture devices has changed. |
||
deviceLost | This method is called when the video capture device is lost, i.e. unplugged. |
||
frameReady | This method is called after the video capture device has copied a new frame into a memory buffer. |
||
overlayCallback | This method is called after the video capture device has delivered a new frame and allows modifications to the OverlayBitmap. |
||
Enumeration | Description | ||
tListenerType | tListenerType enumerates the callback types supported by the Grabber. |
||