Table of Contents

Class Task

Namespace
Gst
Assembly
Gst-1.0.dll
public class Task : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Task
Implements
Inherited Members

Constructors

Task()

public Task()

Task(params ConstructArgument[])

protected Task(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Task(IntPtr, bool)

protected Task(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Methods

CleanupAll()

public static void CleanupAll()

GetGType()

public static Type GetGType()

Returns

Type

GetPool()

public TaskPool GetPool()

Returns

TaskPool

GetState()

public TaskState GetState()

Returns

TaskState

Join()

public bool Join()

Returns

bool

New(TaskFunction)

public static Task New(TaskFunction func)

Parameters

func TaskFunction

Returns

Task

Pause()

public bool Pause()

Returns

bool

Resume()

[Version("1.18")]
public bool Resume()

Returns

bool

SetEnterCallback(TaskThreadFunc)

public void SetEnterCallback(TaskThreadFunc enterFunc)

Parameters

enterFunc TaskThreadFunc

SetLeaveCallback(TaskThreadFunc)

public void SetLeaveCallback(TaskThreadFunc leaveFunc)

Parameters

leaveFunc TaskThreadFunc

SetLock(RecMutex)

public void SetLock(RecMutex mutex)

Parameters

mutex RecMutex

SetPool(TaskPool)

public void SetPool(TaskPool pool)

Parameters

pool TaskPool

SetState(TaskState)

public bool SetState(TaskState state)

Parameters

state TaskState

Returns

bool

Start()

public bool Start()

Returns

bool

Stop()

public bool Stop()

Returns

bool