Class FlowGraph
Implements
IDisposableUnregister
Inherited Members
Namespace: Ceres.Graph.Flow
Assembly: cs.temp.dll.dll
Syntax
public class FlowGraph : CeresGraph, IDisposableUnregister
Constructors
FlowGraph(FlowGraphSerializedData)
Declaration
public FlowGraph(FlowGraphSerializedData flowGraphData)
Parameters
| Type | Name | Description |
|---|---|---|
| FlowGraphSerializedData | flowGraphData |
Properties
Events
All ExecutableEvent inside this graph
Declaration
public ExecutableEvent[] Events { get; }
Property Value
| Type | Description |
|---|---|
| ExecutableEvent[] |
Methods
Compile(CeresGraphCompiler)
Compile graph just in time
Declaration
public override void Compile(CeresGraphCompiler compiler)
Parameters
| Type | Name | Description |
|---|---|---|
| CeresGraphCompiler | compiler | Runtime compiler |
Overrides
Dispose()
Declaration
public override void Dispose()
Overrides
ExecuteEvent(UObject, string, EventBase)
Execute graph event
Declaration
public void ExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | contextObject | Graph execution context object |
| string | eventName | The name of event to execute |
| EventBase | evtBase | Source event |
GetExecutionContext()
Get current execution context
Declaration
public ExecutionContext GetExecutionContext()
Returns
| Type | Description |
|---|---|
| ExecutionContext |
LinkPort(CeresPort, CeresNode, CeresPortData)
Declaration
protected override void LinkPort(CeresPort port, CeresNode ownerNode, CeresPortData portData)
Parameters
| Type | Name | Description |
|---|---|---|
| CeresPort | port | |
| CeresNode | ownerNode | |
| CeresPortData | portData |
Overrides
TryExecuteEvent(UObject, string, EventBase)
Try to execute graph event
Declaration
public bool TryExecuteEvent(UObject contextObject, string eventName, EventBase evtBase = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | contextObject | |
| string | eventName | |
| EventBase | evtBase |
Returns
| Type | Description |
|---|---|
| bool |
Implements
IDisposableUnregister