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

Detailed Description

Shell of the Action class using into the AI internal logic conveyor.

Public Member Functions

delegate void PipelineItemEventhandler (PipelineItem item)
 
 PipelineItem (Brain brain, Action source)
 Creates pipeline item. More...
 
void SetDirty ()
 Marks item as used.
 
Result Pass (Brain ai)
 Calling node execution. More...
 
void Clear (Brain ai)
 Clears all targetBuffer's buffers on children
 
void RemoveFromQueue (Brain ai, ref int removedCount)
 Clears item's meta and remove from queue and next queue. Calls "Remove from queue" to all children if current is order. More...
 

Static Public Member Functions

static string GetFullPath (PipelineItem item)
 Return the full path of item in DAI logical tree. More...
 

Protected Member Functions

virtual void OnModified ()
 Occurs when parameters has been modified.
 

Package Attributes

bool inQueue = false
 If true then item already in queue.
 

Properties

bool IsDirty [get]
 The item is used into queue and requires temporal data clearing.
 
bool IsValid [get]
 Check does this Item valid.
 
Action action [get]
 Reference to binded executing source.
 
Brain environment [get]
 Execution environment for the item.
 
bool IsInQueue [get]
 True in case if item queued to processing.
 
Result result = Result.None [get, set]
 Result of node calculation
 
PipelineItem Parent [get, set]
 Order that was an owner of this action
 
bool isActive [get, set]
 Is the item is executing.
 
IterationType LoopUntil [get, set]
 Is require repeating of action?
 
Result BreakCondition [get, set]
 On which targetBuffer must be paused unity editor.
 
bool IsBreakPointOn [get, set]
 If true then will maintain current break options but will not react in debug environment.
 
string Title [get, set]
 Title of node
 
string Tag [get, set]
 Tag for identification but action type
 

Events

static PipelineItemEventhandler NewItem
 Occurs when any item is created.
 
static PipelineItemEventhandler Modified
 Occurs when settings parameters has been changed.
 
System.Action ExecutionPreparation
 Occurs when node preparing to execution.
 
System.Action Executed
 Occurs when binded action is executed.
 

Constructor & Destructor Documentation

◆ PipelineItem()

Doloro.AI.Core.PipelineItem.PipelineItem ( Brain  brain,
Action  source 
)

Creates pipeline item.

Parameters
brainExecuting environment.
sourceSource action.

Member Function Documentation

◆ GetFullPath()

static string Doloro.AI.Core.PipelineItem.GetFullPath ( PipelineItem  item)
static

Return the full path of item in DAI logical tree.

Parameters
item
Returns

◆ Pass()

Result Doloro.AI.Core.PipelineItem.Pass ( Brain  ai)

Calling node execution.

Parameters
aiSource AI entity.
Returns
Result of execution pass.

◆ RemoveFromQueue()

void Doloro.AI.Core.PipelineItem.RemoveFromQueue ( Brain  ai,
ref int  removedCount 
)

Clears item's meta and remove from queue and next queue. Calls "Remove from queue" to all children if current is order.

Parameters
aiTarget AI.
removedCountHow many nodes removed.

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