IC Imaging Control C++

FrameGrabberSink [Deprecated]

FrameGrabberSink [Deprecated]

The FrameGrabberSink is the SinkType used to grab (copy) frames from the image stream to the buffers of the currently active MemBufferCollection. Frames are copied one after another, starting with the first buffer of MemBufferCollection. When a frame is copied into the last buffer, the next frame is copied to the first buffer and so on.

There is a grab mode and a snap mode for grabbing frames. This mode has to be specified in the constructor of FrameGrabberSink. In grab mode, frames are continuously copied to MemBufferCollection as soon as Grabber::startLive is called. A call to Grabber::stopLive ends the copy process. On the other hand, in snap mode, every call to Grabber::snapImages copies the specified number of frames to the MemBufferCollection. Grabber::startLive has to be called before any call to Grabber::snapImages.


Since the FrameGrabberSink will not be available in future versions of the library, code that uses this sink should be ported to use the new FrameHandlerSink. You should consider the following when you port code:


Header File: tisudshl.h
Namespace: DShowLib
This class is deprecated since version 3.0.
Please use the new FrameHandlerSink instead.




Method Description

Constructs a new FrameGrabberSink object.


Returns the color format (bit depth and organization of a pixel) of the associated image buffers.


Returns the currently active mode.


Returns the type of this sink.


Creates a new MemBufferCollection, which fits to this sink.


Assigns a FrameGrabberSink to this object.


Enumeration Description

tFrameGrabberMode enumerates the possible modes in which frames can be grabbed to the memory buffer.

Type Definitions

Type Description

A pointer to a MemBufferCollection.

<< Classes

Get in touch with us

About The Imaging Source

Established in 1990, The Imaging Source is one of the leading manufacturers of industrial cameras, frame grabbers and video converters for production automation, quality assurance, logistics, medicine, science and security.

Our comprehensive range of cameras with USB 3.1, USB 3.0, USB 2.0, GigE 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