Navigation
API > API/Plugins > API/Plugins/ToolsetRegistry
RAII container for a delegate handle.
| Name | TDelegateHandleRaii |
| Type | class |
| Header File | /Engine/Plugins/Experimental/ToolsetRegistry/Source/ToolsetRegistry/Public/ToolsetRegistry/DelegateHandle.h |
| Include Path | #include "ToolsetRegistry/DelegateHandle.h" |
Syntax
template<typename DelegateRegistrationT>
class TDelegateHandleRaii : public UE::ToolsetRegistry::FDelegateHandleRaiiBase
Inheritance Hierarchy
- FDelegateHandleRaiiBase → TDelegateHandleRaii
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TDelegateHandleRaii
(
DelegateRegistrationT& Registration, |
Move the delegate handle for a registration into a container. | ToolsetRegistry/DelegateHandle.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TDelegateHandleRaii() |
On destruction, unregister the handle from the delegate registration. | ToolsetRegistry/DelegateHandle.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DelegateRegistration | DelegateRegistrationT & | ToolsetRegistry/DelegateHandle.h |
Functions
Public
Public Virtual
Overridden from FDelegateHandleRaiiBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Reset() |
Unregister the handle from the delegate registration. | ToolsetRegistry/DelegateHandle.h |