Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGSoftGraphExecutionSource |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGGraphExecutionStateInterface.h |
| Include Path | #include "PCGGraphExecutionStateInterface.h" |
Syntax
USTRUCT ()
struct FPCGSoftGraphExecutionSource
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PCGGraphExecutionStateInterface.h | |||
FPCGSoftGraphExecutionSource
(
const TSoftObjectPtr< UObject >& InSoftObjectPtr |
PCGGraphExecutionStateInterface.h | ||
FPCGSoftGraphExecutionSource
(
IPCGGraphExecutionSource* InSource |
PCGGraphExecutionStateInterface.h | ||
FPCGSoftGraphExecutionSource
(
const IPCGGraphExecutionSource* InSource |
PCGGraphExecutionStateInterface.h | ||
FPCGSoftGraphExecutionSource
(
const FPCGSoftGraphExecutionSource& Other |
Need the copy/move constructor/assignment because of the lock. | PCGGraphExecutionStateInterface.h | |
| PCGGraphExecutionStateInterface.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedWeakPtr | TWeakInterfacePtr< IPCGGraphExecutionSource > | PCGGraphExecutionStateInterface.h | ||
| SoftObjectPtr | TSoftObjectPtr< UObject > | PCGGraphExecutionStateInterface.h | ||
| SpinLock | UE::FSpinLock | PCGGraphExecutionStateInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| De-reference the weak pointer if it is valid, otherwise will resolve the soft pointer and update the cached weak. | PCGGraphExecutionStateInterface.h | ||
UObject * GetObject() |
Resolve the soft pointer as a UObject. | PCGGraphExecutionStateInterface.h | |
bool IsValid() |
PCGGraphExecutionStateInterface.h | ||
void Reset() |
Reset the soft pointer to null and invalidate the cached weak. | PCGGraphExecutionStateInterface.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGSoftGraphExecutionSource & operator=
(
const FPCGSoftGraphExecutionSource& Other |
PCGGraphExecutionStateInterface.h | ||
| PCGGraphExecutionStateInterface.h | |||
FPCGSoftGraphExecutionSource & operator=
(
const IPCGGraphExecutionSource* InSource |
Can assign an execution source. Will reset the cached weak pointer. | PCGGraphExecutionStateInterface.h | |
bool operator==
(
const FPCGSoftGraphExecutionSource& Other |
PCGGraphExecutionStateInterface.h | ||
IPCGGraphExecutionSource * operator->() |
PCGGraphExecutionStateInterface.h |