Table of Contents

Class FlowGeneratedProgram

Namespace
Ceres.Flow
Assembly
Ceres.Flow.dll
public abstract class FlowGeneratedProgram : IFlowExecutableProgram, IDisposable, IFlowEventDelegateTarget, IFlowEventHandlerProvider, IDisposableUnregister
Inheritance
FlowGeneratedProgram
Implements
Inherited Members

Constructors

FlowGeneratedProgram(FlowGraphData)

protected FlowGeneratedProgram(FlowGraphData graphData)

Parameters

graphData FlowGraphData

FlowGeneratedProgram(FlowGraphData, bool)

protected FlowGeneratedProgram(FlowGraphData graphData, bool createBlackboard)

Parameters

graphData FlowGraphData
createBlackboard bool

Properties

Blackboard

protected Blackboard Blackboard { get; }

Property Value

Blackboard

CurrentContextObject

public Object CurrentContextObject { get; }

Property Value

Object

GraphData

protected FlowGraphData GraphData { get; }

Property Value

FlowGraphData

Methods

Dispose()

public virtual void Dispose()

GetCancellation(Object, string)

protected static CancellationTokenSourceHandle GetCancellation(Object context, string eventName = null)

Parameters

context Object
eventName string

Returns

CancellationTokenSourceHandle

GetEventHandler(Object)

public CallbackEventHandler GetEventHandler(Object contextObject)

Parameters

contextObject Object

Returns

CallbackEventHandler

PopExecutionContext(Object)

protected void PopExecutionContext(Object contextObject)

Parameters

contextObject Object

PushExecutionContext(Object)

protected void PushExecutionContext(Object contextObject)

Parameters

contextObject Object

RegisterDisposable(IDisposable)

protected void RegisterDisposable(IDisposable disposable)

Parameters

disposable IDisposable

RunEvent(UniTask, EventBase)

protected void RunEvent(UniTask task, EventBase evtBase)

Parameters

task UniTask
evtBase EventBase

TryExecuteEvent(Object, string, EventBase)

public abstract bool TryExecuteEvent(Object contextObject, string eventName, EventBase evtBase = null)

Parameters

contextObject Object
eventName string
evtBase EventBase

Returns

bool

TryGetCustomEventName(long, out string)

protected virtual bool TryGetCustomEventName(long eventTypeId, out string eventName)

Parameters

eventTypeId long
eventName string

Returns

bool