GrabberSinkType::isAttached Method

Returns whether this sink has been attached to a Grabber object.
Syntax:
virtual bool isAttached() const;
Return value:

This method returns true, if this sink is currently attached to a Grabber object, otherwise false.

Remarks:

When the sink is created, this method initially returns false. Once it has been attached to a Grabber by calling Grabber::setSinkType, this method returns true. When another sink is assigned to the grabber, this sink becomes unattached and this method returns false again.

See also: GrabberSinkType, Grabber, Grabber::setSinkType

<< GrabberSinkType