Sequine - Scripting API
Calcatz.CookieCutter.CommandExecutionFlow Class Reference

Public Member Functions

delegate void FlowFinishedCallback (bool completed)
 
void OverrideOnCommandFinished (System.Action< Command, CommandExecutionFlow > _callback)
 
virtual void ExecuteCommand (Command _command)
 
Command GetRelativeNextCommand (Command _command)
 
void RecurseFinishCommand (Command _command)
 
void ResumeHaltedCommand (Command _lastCommandInSubFlow)
 
object GetCommandOutput (int _commandId, int _outPointIndex)
 
object GetCommandOutput (Command.ConnectionTarget _connectionTarget)
 
GetCommandOutput< T > (int _commandId, int _outPointIndex)
 
T1 GetCommandOutput< T1 > (Command.ConnectionTarget _connectionTarget)
 
void RunSubData (int _resumeId, CommandData _subData)
 
object GetVariable (int _variableId)
 
void SetVariable< T > (int _variableId, T _value)
 
Command.SubFlowInfo CreateSubFlow (int _outputIndex)
 Prepare a sub-flow to be called with Command's RunSubFlow method. This should be called during the same thread/frame with the Execute method. More...
 
void Kill ()
 

Static Public Member Functions

static CommandExecutionFlow Request (CommandExecutor _executor, FlowFinishedCallback _onFlowFinished=null)
 

Properties

CommandExecutor executor [get]
 
CommandData rootCommandData [getset]
 
bool isKilled [get]
 
Command lastExecutedCommand [get]
 
bool isWaitingCommandExit [get]
 
bool checkHaltedCommand [getset]
 
Command haltedCommand [getset]
 
CommandData currentCommandData [get]
 Get current command data, either it's root or sub data. More...
 

Member Function Documentation

◆ CreateSubFlow()

Command.SubFlowInfo Calcatz.CookieCutter.CommandExecutionFlow.CreateSubFlow ( int  _outputIndex)

Prepare a sub-flow to be called with Command's RunSubFlow method. This should be called during the same thread/frame with the Execute method.

Parameters
_outputIndex
Returns

◆ ExecuteCommand()

virtual void Calcatz.CookieCutter.CommandExecutionFlow.ExecuteCommand ( Command  _command)
virtual

◆ FlowFinishedCallback()

delegate void Calcatz.CookieCutter.CommandExecutionFlow.FlowFinishedCallback ( bool  completed)

◆ GetCommandOutput() [1/2]

object Calcatz.CookieCutter.CommandExecutionFlow.GetCommandOutput ( Command.ConnectionTarget  _connectionTarget)

◆ GetCommandOutput() [2/2]

object Calcatz.CookieCutter.CommandExecutionFlow.GetCommandOutput ( int  _commandId,
int  _outPointIndex 
)

◆ GetCommandOutput< T >()

T Calcatz.CookieCutter.CommandExecutionFlow.GetCommandOutput< T > ( int  _commandId,
int  _outPointIndex 
)

◆ GetCommandOutput< T1 >()

◆ GetRelativeNextCommand()

Command Calcatz.CookieCutter.CommandExecutionFlow.GetRelativeNextCommand ( Command  _command)

◆ GetVariable()

object Calcatz.CookieCutter.CommandExecutionFlow.GetVariable ( int  _variableId)

◆ Kill()

void Calcatz.CookieCutter.CommandExecutionFlow.Kill ( )

◆ OverrideOnCommandFinished()

void Calcatz.CookieCutter.CommandExecutionFlow.OverrideOnCommandFinished ( System.Action< Command, CommandExecutionFlow _callback)

◆ RecurseFinishCommand()

void Calcatz.CookieCutter.CommandExecutionFlow.RecurseFinishCommand ( Command  _command)

◆ Request()

static CommandExecutionFlow Calcatz.CookieCutter.CommandExecutionFlow.Request ( CommandExecutor  _executor,
FlowFinishedCallback  _onFlowFinished = null 
)
static

◆ ResumeHaltedCommand()

void Calcatz.CookieCutter.CommandExecutionFlow.ResumeHaltedCommand ( Command  _lastCommandInSubFlow)

◆ RunSubData()

void Calcatz.CookieCutter.CommandExecutionFlow.RunSubData ( int  _resumeId,
CommandData  _subData 
)

◆ SetVariable< T >()

void Calcatz.CookieCutter.CommandExecutionFlow.SetVariable< T > ( int  _variableId,
_value 
)

Property Documentation

◆ checkHaltedCommand

bool Calcatz.CookieCutter.CommandExecutionFlow.checkHaltedCommand
getset

◆ currentCommandData

CommandData Calcatz.CookieCutter.CommandExecutionFlow.currentCommandData
get

Get current command data, either it's root or sub data.

◆ executor

CommandExecutor Calcatz.CookieCutter.CommandExecutionFlow.executor
get

◆ haltedCommand

Command Calcatz.CookieCutter.CommandExecutionFlow.haltedCommand
getset

◆ isKilled

bool Calcatz.CookieCutter.CommandExecutionFlow.isKilled
get

◆ isWaitingCommandExit

bool Calcatz.CookieCutter.CommandExecutionFlow.isWaitingCommandExit
get

◆ lastExecutedCommand

Command Calcatz.CookieCutter.CommandExecutionFlow.lastExecutedCommand
get

◆ rootCommandData

CommandData Calcatz.CookieCutter.CommandExecutionFlow.rootCommandData
getset