![]() |
Paradox Game Engine
v1.0.0 beta06
|
This class allow to run a given Builder in a new thread. It will run a single DynamicBuildStep that can be fed with a given IBuildStepProvider. More...
Public Member Functions | |
DynamicBuilder (Builder builder, IBuildStepProvider buildStepProvider, string name=null) | |
Initializes a new instance of the DynamicBuilder class. More... | |
void | Start () |
Starts the thread an run the builder. More... | |
void | Dispose () |
Cancels any build in progress and wait for the thread to exit. More... | |
void | NotifyBuildStepAvailable () |
Notify the DynamicBuildStep that a new build step is available. More... | |
This class allow to run a given Builder in a new thread. It will run a single DynamicBuildStep that can be fed with a given IBuildStepProvider.
Definition at line 14 of file DynamicBuilder.cs.
SiliconStudio.BuildEngine.DynamicBuilder.DynamicBuilder | ( | Builder | builder, |
IBuildStepProvider | buildStepProvider, | ||
string | name = null |
||
) |
Initializes a new instance of the DynamicBuilder class.
name | The name of this instance. Used to name the created thread. |
builder | The builder to use. |
buildStepProvider | The build step provider to use. |
Definition at line 29 of file DynamicBuilder.cs.
References SiliconStudio.Core.Diagnostics.SafeAction.Wrap().
void SiliconStudio.BuildEngine.DynamicBuilder.Dispose | ( | ) |
Cancels any build in progress and wait for the thread to exit.
Definition at line 51 of file DynamicBuilder.cs.
void SiliconStudio.BuildEngine.DynamicBuilder.NotifyBuildStepAvailable | ( | ) |
Notify the DynamicBuildStep that a new build step is available.
Definition at line 61 of file DynamicBuilder.cs.
void SiliconStudio.BuildEngine.DynamicBuilder.Start | ( | ) |
Starts the thread an run the builder.
Definition at line 43 of file DynamicBuilder.cs.