Navigation
API > API/Editor > API/Editor/SequencerCore
Templated version of FWeakViewModelPtr that provides an additional self-documenting extension that should exist on the view model.
| Name | TWeakViewModelPtr |
| Type | struct |
| Header File | /Engine/Source/Editor/SequencerCore/Public/SequencerCoreFwd.h |
| Include Path | #include "SequencerCoreFwd.h" |
| Source | /Engine/Source/Editor/SequencerCore/Public/MVVM/ViewModelPtr.h |
Syntax
template<typename T>
struct TWeakViewModelPtr : public UE::Sequencer::TWeakViewModelConversions< T >
Inheritance Hierarchy
- TWeakViewModelConversions → TWeakViewModelPtr
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MVVM/ViewModelPtr.h | |||
TWeakViewModelPtr
(
const TWeakViewModelPtr& |
MVVM/ViewModelPtr.h | ||
| MVVM/ViewModelPtr.h | |||
TWeakViewModelPtr
(
TYPE_OF_NULLPTR |
MVVM/ViewModelPtr.h | ||
TWeakViewModelPtr
(
const TWeakPtr< OtherType >& InModel |
MVVM/ViewModelPtr.h | ||
TWeakViewModelPtr
(
const TSharedPtr< OtherType >& InModel |
MVVM/ViewModelPtr.h | ||
TWeakViewModelPtr
(
const TSharedRef< OtherType >& InModel |
MVVM/ViewModelPtr.h | ||
TWeakViewModelPtr
(
const TViewModelPtr< OtherType >& InModel |
Construction from a TViewModelPtr | MVVM/ViewModelPtr.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ViewModelType | typename std::conditional_t< std::is_const_v< T >, const FViewModel, FViewModel > | MVVM/ViewModelPtr.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TImplicitWeakViewModelPin< ViewModelType > ImplicitPin() |
Returns a proxy object that will simultaneously Pin() and Cast() this view model to a particular view-model or extension type | MVVM/ViewModelPtr.h | |
TViewModelPtr< T > Pin() |
Pin this weak view model ptr | MVVM/ViewModelPtr.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TWeakViewModelPtr & operator=
(
const TWeakViewModelPtr& |
MVVM/ViewModelPtr.h | ||
| MVVM/ViewModelPtr.h | |||
TWeakViewModelPtr & operator=
(
const TViewModelPtr< OtherType >& InModel |
Assignment from a TViewModelPtr | MVVM/ViewModelPtr.h |