Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.BuildEngine.DynamicBuilder Class Reference

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...

Inheritance diagram for SiliconStudio.BuildEngine.DynamicBuilder:

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

SiliconStudio.BuildEngine.DynamicBuilder.DynamicBuilder ( Builder  builder,
IBuildStepProvider  buildStepProvider,
string  name = null 
)

Initializes a new instance of the DynamicBuilder class.

Parameters
nameThe name of this instance. Used to name the created thread.
builderThe builder to use.
buildStepProviderThe build step provider to use.

Definition at line 29 of file DynamicBuilder.cs.

References SiliconStudio.Core.Diagnostics.SafeAction.Wrap().

Member Function Documentation

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.


The documentation for this class was generated from the following file: