IC Imaging Control C++

FrameNotificationSinkListener::sinkConnected Method

FrameNotificationSinkListener::sinkConnected Method

Notifies the listener that the sink has connected using the passed in FrameTypeInfo.
virtual void    sinkConnected( const FrameTypeInfo& frameType );
Parameter Description

Indicated the frameType of the frame which will arrive in FrameNotificationSinkListener::frameReceived.


This function is called after the frame type has been decided during a call to Grabber::startLive or Grabber::prepareLive.

It is important to not perform operations that might wait for the thread executing startLive to respond (e.g. sending a Windows message to the UI thread), because this would cause a deadlock.

See also: FrameNotificationSink, FrameNotificationSinkListener, FrameTypeInfo

<< FrameNotificationSinkListener

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