Navigation
API > API/Plugins > API/Plugins/ControlFlows
Inheritance Hierarchy
- TSharedFromThis
- FControlFlow
References
| Module | ControlFlows |
| Header | /Engine/Plugins/Experimental/ControlFlows/Source/ControlFlows/Public/ControlFlow.h |
| Include | #include "ControlFlow.h" |
Syntax
class FControlFlow : public TSharedFromThis< FControlFlow >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FControlFlow
(
const FString& FlowDebugName |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FControlFlow & | BranchFlow
(
FunctionT InBranchLambda, |
||
| void | CancelFlow () |
Will cancel ALL flows, both child ControlFlows and ControlFlows who owns this Flow. | |
| void | ExecuteFlow () |
This needs to be called, otherwise nothing will happen!! Call after you finish adding functions to the queue. | |
| FControlFlow & | ForkFlow
(
FunctionT InForkLambda, |
||
| TOptional< FString > | |||
| const FString & | GetDebugName () |
||
| TSharedPtr< FTrackedActivity > | |||
| bool | IsRunning () |
||
| FControlFlow & | Loop
(
FunctionT InLoopLambda, |
||
| size_t | NumInQueue () |
||
| FSimpleMulticastDelegate & | OnFlowCancel () |
||
| FSimpleMulticastDelegate & | |||
| FSimpleMulticastDelegate & | |||
| TSharedRef< FControlFlowTask_BranchLegacy > | QueueBranch
(
FControlFlowBranchDecider_Legacy& BranchDecider, |
Both of these implementations are deprecated. | |
| FConcurrentFlowsDefiner & | QueueConcurrentFlows
(
const FString& TaskName, |
||
| FControlFlowConditionalLoopDefiner & | QueueConditionalLoop
(
const FString& TaskName, |
||
| FControlFlowPopulator & | QueueControlFlow
(
const FString& TaskName, |
||
| FControlFlowBranchDefiner & | QueueControlFlowBranch
(
const FString& TaskName, |
||
| FControlFlow & | QueueDelay
(
const float InDelay, |
||
| FSimpleDelegate & | QueueFunction
(
const FString& FlowNodeDebugName |
||
| FControlFlowPopulator & | QueueLoop
(
FControlFlowLoopComplete& LoopCompleteDelgate, |
||
| FControlFlow & | QueueStep
(
ArgsT... Params |
||
| FControlFlow & | |||
| FControlFlow & | QueueStep
(
const TCHAR* NodeName, |
||
| FControlFlow & | QueueStep
(
const char* NodeName, |
||
| FControlFlowWaitDelegate & | |||
| void | Reset () |
||
| FControlFlow & | SetCancelledNodeAsComplete
(
bool bCancelledNodeIsComplete |
||
| FControlFlow & | TrackActivities
(
TSharedPtr< FTrackedActivity > InActivity |
Constants
| Name | Description |
|---|---|
| UnnamedControlFlowCounter |