Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.BuildEngine.ExternalProcessCommand Class Reference
Inheritance diagram for SiliconStudio.BuildEngine.ExternalProcessCommand:
SiliconStudio.BuildEngine.Command

Public Member Functions

override void Cancel ()
 Callback called by Builder.CancelBuild. It can be useful for commands in a blocking call that can be unblocked from here. More...
 
override string ToString ()
 
- 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...
 
virtual void PreCommand (ICommandContext commandContext)
 
virtual void PostCommand (ICommandContext commandContext, ResultStatus status)
 
Command Clone ()
 
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 ()
 
void ComputeCommandHash (Stream stream, IPrepareContext prepareContext)
 

Public Attributes

int ExitCode
 An optional return code from the command More...
 

Protected Member Functions

override Task< ResultStatusDoCommandOverride (ICommandContext commandContext)
 The method to override containing the actual command code. It is called by the DoCommand function More...
 
- Protected Member Functions inherited from SiliconStudio.BuildEngine.Command
virtual void ComputeParameterHash (BinarySerializationWriter writer)
 
void ComputeInputFilesHash (BinarySerializationWriter writer, IPrepareContext prepareContext)
 
virtual void ComputeAssemblyHash (BinarySerializationWriter writer)
 
TagSymbol RegisterTag (string name, Func< string > getValue)
 

Properties

override string Title [get]
 
string ProcessPath [get, set]
 
string Arguments [get, set]
 
- 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...
 

Additional Inherited Members

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

Detailed Description

Definition at line 12 of file ExternalProcessCommand.cs.

Member Function Documentation

override void SiliconStudio.BuildEngine.ExternalProcessCommand.Cancel ( )
virtual

Callback called by Builder.CancelBuild. It can be useful for commands in a blocking call that can be unblocked from here.

Reimplemented from SiliconStudio.BuildEngine.Command.

Definition at line 64 of file ExternalProcessCommand.cs.

override Task<ResultStatus> SiliconStudio.BuildEngine.ExternalProcessCommand.DoCommandOverride ( ICommandContext  commandContext)
protectedvirtual

The method to override containing the actual command code. It is called by the DoCommand function

Parameters
commandContext

Implements SiliconStudio.BuildEngine.Command.

Definition at line 32 of file ExternalProcessCommand.cs.

override string SiliconStudio.BuildEngine.ExternalProcessCommand.ToString ( )
virtual

Implements SiliconStudio.BuildEngine.Command.

Definition at line 69 of file ExternalProcessCommand.cs.

Member Data Documentation

int SiliconStudio.BuildEngine.ExternalProcessCommand.ExitCode

An optional return code from the command

Definition at line 23 of file ExternalProcessCommand.cs.

Property Documentation

string SiliconStudio.BuildEngine.ExternalProcessCommand.Arguments
getset

Definition at line 18 of file ExternalProcessCommand.cs.

string SiliconStudio.BuildEngine.ExternalProcessCommand.ProcessPath
getset

Definition at line 17 of file ExternalProcessCommand.cs.

override string SiliconStudio.BuildEngine.ExternalProcessCommand.Title
get

Definition at line 15 of file ExternalProcessCommand.cs.


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