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

A Command that reads and/or writes to the index file. More...

Inheritance diagram for SiliconStudio.BuildEngine.IndexFileCommand:
SiliconStudio.BuildEngine.Command SiliconStudio.Assets.Compiler.AssetCommand SiliconStudio.BuildEngine.ImageProcessCommand SiliconStudio.BuildEngine.SingleFileImportCommand SiliconStudio.Assets.Compiler.AssetCommand< T > SiliconStudio.Assets.Compiler.ImportStreamCommand SiliconStudio.BuildEngine.ImportImageCommand SiliconStudio.BuildEngine.ImportModelCommand SiliconStudio.BuildEngine.ImportStreamCommand SiliconStudio.Assets.Compiler.ThumbnailCommand< T > SiliconStudio.BuildEngine.ImportAssimpCommand SiliconStudio.BuildEngine.ImportFbxCommand

Public Member Functions

override void PreCommand (ICommandContext commandContext)
 
override void PostCommand (ICommandContext commandContext, ResultStatus status)
 
- Public Member Functions inherited from SiliconStudio.BuildEngine.Command
Task< ResultStatusDoCommand (ICommandContext commandContext)
 The method that indirectly call DoCommandOverride to execute the actual command code. It is called by the current Builder when the command is triggered More...
 
Command Clone ()
 
abstract override string ToString ()
 
virtual IEnumerable< ObjectUrlGetInputFiles ()
 Gets the list of input files (that can be deduced without running the command, only from command parameters). More...
 
virtual bool ShouldForceExecution ()
 Check some conditions that determine if the command should be executed. This method may not be called if some previous check determinated that it already needs to be executed. More...
 
virtual bool ShouldSpawnNewProcess ()
 
virtual void Cancel ()
 Callback called by Builder.CancelBuild. It can be useful for commands in a blocking call that can be unblocked from here. More...
 
void ComputeCommandHash (Stream stream, IPrepareContext prepareContext)
 

Static Public Member Functions

static void MergeOutputObjects (IDictionary< ObjectUrl, OutputObject > outputObjects)
 
static void MountDatabases (ICommandContext commandContext)
 
static DatabaseFileProvider GetCommonDatabase ()
 

Static Public Attributes

static MicroThreadLocal
< DatabaseFileProvider
DatabaseFileProvider
 

Additional Inherited Members

- Protected Member Functions inherited from SiliconStudio.BuildEngine.Command
abstract Task< ResultStatusDoCommandOverride (ICommandContext commandContext)
 The method to override containing the actual command code. It is called by the DoCommand function More...
 
virtual void ComputeParameterHash (BinarySerializationWriter writer)
 
void ComputeInputFilesHash (BinarySerializationWriter writer, IPrepareContext prepareContext)
 
virtual void ComputeAssemblyHash (BinarySerializationWriter writer)
 
TagSymbol RegisterTag (string name, Func< string > getValue)
 
- Protected Attributes inherited from SiliconStudio.BuildEngine.Command
const int CommandCacheVersion = 1
 The command cache version, should be bumped when binary serialization format changes (so that cache gets invalidated) More...
 
- Properties inherited from SiliconStudio.BuildEngine.Command
abstract string Title [get]
 Title (short description) of the command More...
 
virtual IEnumerable< Tuple
< string, string > > 
TagList [get]
 List every tag created by the command. The first item of each entry is the TagSymbol.Name of the TagSymbol, The second item is the pattern or a description of the TagSymbol.RealName More...
 

Detailed Description

A Command that reads and/or writes to the index file.

Definition at line 16 of file IndexFileCommand.cs.

Member Function Documentation

static DatabaseFileProvider SiliconStudio.BuildEngine.IndexFileCommand.GetCommonDatabase ( )
static

Definition at line 73 of file IndexFileCommand.cs.

static void SiliconStudio.BuildEngine.IndexFileCommand.MergeOutputObjects ( IDictionary< ObjectUrl, OutputObject outputObjects)
static

Definition at line 28 of file IndexFileCommand.cs.

static void SiliconStudio.BuildEngine.IndexFileCommand.MountDatabases ( ICommandContext  commandContext)
static
override void SiliconStudio.BuildEngine.IndexFileCommand.PostCommand ( ICommandContext  commandContext,
ResultStatus  status 
)
virtual

Reimplemented from SiliconStudio.BuildEngine.Command.

Definition at line 91 of file IndexFileCommand.cs.

override void SiliconStudio.BuildEngine.IndexFileCommand.PreCommand ( ICommandContext  commandContext)
virtual

Member Data Documentation

MicroThreadLocal<DatabaseFileProvider> SiliconStudio.BuildEngine.IndexFileCommand.DatabaseFileProvider
static
Initial value:
= new MicroThreadLocal<DatabaseFileProvider>(() =>
{
throw new InvalidOperationException("No VirtualFileProvider set for this microthread.");
})

Definition at line 21 of file IndexFileCommand.cs.

Referenced by SiliconStudio.BuildEngine.Builder.Builder().


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