C# Class UnitySpeechToText.Utilities.ThreadedJob

Base class for a job that runs on its own thread. This is derived from a ThreadedJob script which can be found here: http://answers.unity3d.com/questions/357033/unity3d-and-c-coroutines-vs-threading.html
Mostra file Open project: Babilinski/RealTalk

Public Methods

Method Description
Start ( ) : void

Creates and starts the thread on which the conversion process runs.

WaitFor ( ) : IEnumerator

Waits for the conversion process to finish.

Protected Methods

Method Description
ThreadFunction ( ) : void

Specific thread function to run.

Private Methods

Method Description
Run ( ) : void

Runs the job.

Method Details

Start() public method

Creates and starts the thread on which the conversion process runs.
public Start ( ) : void
return void

ThreadFunction() protected abstract method

Specific thread function to run.
protected abstract ThreadFunction ( ) : void
return void

WaitFor() public method

Waits for the conversion process to finish.
public WaitFor ( ) : IEnumerator
return IEnumerator