Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Toolchain
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Toolchain/ModularFeatureManager.h |
| Include | #include "uLang/Toolchain/ModularFeatureManager.h" |
Syntax
template<class FeatureType>
class TModularFeatureRegHandle
Remarks
RAII style handle that wraps a ModularFeature TSPtr<>. Authoritative control for a features' registration lifetime sole controller for registering features.
Use this to spawn and manage the lifetime of your module's ModularFeature instances.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE | TModularFeatureRegHandle
(
Args_t&&... Args |
||
TModularFeatureRegHandle
(
const TModularFeatureRegHandle& |
Prevent copying/assignment to properly control registration lifetime (since this unregisters on destruction) | ||
| ULANG_FORCEINLINE | TModularFeatureRegHandle
(
TModularFeatureRegHandle&& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINETSRef< FeatureType > & | ToSharedRef () |
||
| ULANG_FORCEINLINE const TSRef< FeatureType > & | ToSharedRef () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE | |||
| ULANG_FORCEINLINE | Conversion methods. | ||
| ULANG_FORCEINLINE FeatureType & | operator* () |
||
| TModularFeatureRegHandle & | operator=
(
const TModularFeatureRegHandle& |
||
| ULANG_FORCEINLINETModularFeatureRegHandle & | operator=
(
TModularFeatureRegHandle&& Other |
||
| ULANG_FORCEINLINE FeatureType * | operator-> () |