FrameNotificationSink::create Method

Creates a new FrameNotificationSink.
Syntax:
static tFrameNotificationSinkPtr    create( FrameNotificationSinkListener& listener );
static tFrameNotificationSinkPtr    create( FrameNotificationSinkListener& listener, const FrameTypeInfo& type );
static tFrameNotificationSinkPtr    create( FrameNotificationSinkListener& listener, const FrameTypeInfoArray& acceptedFrameTypes );

Parameter Description
listener

Specifies the listener reference which gets the according frameReady calls.

type

Specifies the FrameTypeInfo of the sink itself.

acceptedFrameTypes

Specifies a list of acceptable frame types for the sink.

Return Value:

A pointer to the new FrameQueueSink, or NULL,if an error occurred.

See also: FrameNotificationSink, tFrameNotificationSinkPtr, FrameNotificationSinkListener, FrameTypeInfo, FrameTypeInfoArray

<< FrameNotificationSink