ObjectGst.checkUniqueness

Checks to see if there is any object named name in list. This function does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This function will lock each GstObject in the list to compare the name, so be careful when passing a list with a locked object.

class ObjectGst
static
bool
checkUniqueness
(,
string name
)

Parameters

list ListG

a list of GstObject to check through

name string

the name to search for

Return Value

Type: bool

TRUE if a GstObject named name does not appear in list, FALSE if it does.

MT safe. Grabs and releases the LOCK of each object in the list.