Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.ReorderableSequence Class Reference

Detailed Description

Sequence those order defining by external component.

Inheritance diagram for Doloro.AI.ReorderableSequence:
Collaboration diagram for Doloro.AI.ReorderableSequence:

Public Types

enum  BreakStates { None , Success , Fail , InProgress }
 
enum  Compare { And , Or }
 

Public Member Functions

delegate void ReorderForm (ref List< int > order, Brain sender, ReorderableSequence orderRequester, string sign, ref string outputMessage)
 Define signature of conversation between node and external listeners. More...
 
override void Init (Brain ai)
 Calling one time when AI initializing. More...
 
override Result Pass (Brain ai)
 Switch to child action\order by bundle source. More...
 
virtual Result GetCommonResult ()
 Return the common targetBuffer of all item calculation More...
 
virtual void End (Brain ai)
 Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail More...
 

Public Attributes

int compareMode = 0
 Mode of sequence evaluation.
 
int breakResultID = 0
 Id of targetBuffer's type that was used to break trigger.
 
string sign = ""
 Sign that will sent to delegate.
 
List< PipelineItemitems = new List<PipelineItem>()
 List of actions pipeline
 
int actionInProgress = 0
 

Properties

Result breakOutput = Result.None [get, protected set]
 
Result breakOutputCommon = Result.None [get, protected set]
 
int breakHashcode = -1 [get, protected set]
 
string orderS = "" [get, protected set]
 
string outputMessage = "" [get, protected set]
 
string itemIsOver = "" [get, protected set]
 Title of last calculated item.
 
string itemInProgress = "" [get, protected set]
 Item that current sent to processing.
 
PipelineItem self [get, set]
 Reference to node that contains this action.
 
virtual DataManagement.DynamicResources.Version version [get]
 Source version. More...
 
virtual string author [get]
 Source author.
 

Events

static ReorderForm SequenceRequested
 Event that will called when will be requested new sequence. More...
 

Member Function Documentation

◆ End()

virtual void Doloro.AI.Action.End ( Brain  ai)
virtualinherited

Occurs when action execution is ended. Calls each time the node got an explicit result as a Result.Success or Result.Fail

Parameters
aiSource AI entity.

Reimplemented in Doloro.AI.Parallel, and Doloro.AI.LogicCoresRoot.

◆ GetCommonResult()

virtual Result Doloro.AI.Order.GetCommonResult ( )
virtualinherited

Return the common targetBuffer of all item calculation

Returns

◆ Init()

override void Doloro.AI.ReorderableSequence.Init ( Brain  ai)
virtual

Calling one time when AI initializing.

Reimplemented from Doloro.AI.Action.

◆ Pass()

override Result Doloro.AI.ReorderableSequence.Pass ( Brain  ai)
virtual

Switch to child action\order by bundle source.

Parameters
aiSource AI entity.
Returns

Implements Doloro.AI.Action.

◆ ReorderForm()

delegate void Doloro.AI.ReorderableSequence.ReorderForm ( ref List< int >  order,
Brain  sender,
ReorderableSequence  orderRequester,
string  sign,
ref string  outputMessage 
)

Define signature of conversation between node and external listeners.

Parameters
orderCurrent order.
senderInvoking AI entity.
orderRequesterInvoke source action.
signSignature of requester, if required.
outputMessageGenerated log.

Member Data Documentation

◆ actionInProgress

int Doloro.AI.Order.actionInProgress = 0
inherited

Todo:
Number of action in progress

Property Documentation

◆ version

virtual DataManagement.DynamicResources.Version Doloro.AI.Action.version
getinherited
Initial value:
=
DataManagement.DynamicResources.Version._100

Source version.

Should be a constant value that defines what a version of relevant source is. Could be use for patching of the data according with version changes.

Event Documentation

◆ SequenceRequested

ReorderForm Doloro.AI.ReorderableSequence.SequenceRequested
static

Event that will called when will be requested new sequence.

Todo:
Implement as personalized delegate.

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