IC Imaging Control C++



The FrameNotificationSinkListener is the interface the FrameNotificationSink uses to notify about frames that were received from the video capture device as well as connect/disconnect operations on the sink.

A simple setup example is shown here:

class listener : public FrameNotificationSinkListener
    virtual void sinkConnected( const FrameTypeInfo& frameType ) override   {}
    virtual void sinkDisconnected() override                                {}
    virtual void frameReceived( IFrame& frame ) override
        // do something with frame
listener listener_instance;
tFrameNotificationSinkPtr pSink = FrameNotificationSink::create( listener_instance );
grabber.setSinkType( pSink );

A more complex example implementing ZeroCopy is located in %TOPLEVEL%\Samples\VC\ZeroCopyThirdParty


Header File: tisudshl.h
Namespace: DShowLib
Introduced in version 3.5


Method Description

Notifies the listener that the sink has received a frame.


Notifies the listener that the sink has connected using the passed in FrameTypeInfo.


Notifies the listener that the sink has disconnected.

<< 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, 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.

ISO 9001:2015 certified MVTEC | Edge AI + Vision Alliance | EMVA

Contact us