UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FWatchablePropertySet::TPropertyWatcher< PropType > Class Template Reference

#include <InteractiveTool.h>

+ Inheritance diagram for FWatchablePropertySet::TPropertyWatcher< PropType >:

Classes

struct  CInequalityComparable
 

Public Types

using FValueGetter = TFunction< PropType(void)>
 
using FChangedCallback = TFunction< void(const PropType &)>
 
using FNotEqualTestFunction = TFunction< bool(const PropType &, const PropType &)>
 

Public Member Functions

template<typename Q = PropType, typename = typename TEnableIf<TModels_V<CInequalityComparable, Q>>::Type>
 TPropertyWatcher (const PropType &Property, FChangedCallback OnChangedIn)
 
template<typename Q = PropType, typename = typename TEnableIf<TModels_V<CInequalityComparable, Q>>::Type>
 TPropertyWatcher (FValueGetter GetValueIn, FChangedCallback OnChangedIn)
 
 TPropertyWatcher (const PropType &Property, FChangedCallback OnChangedIn, FNotEqualTestFunction NotEqualIn)
 
 TPropertyWatcher (FValueGetter GetValueIn, FChangedCallback OnChangedIn, FNotEqualTestFunction NotEqualIn)
 
void CheckAndUpdate () final
 
void SilentUpdate () final
 
- Public Member Functions inherited from FWatchablePropertySet::FPropertyWatcher
virtual ~FPropertyWatcher ()=default
 

Member Typedef Documentation

◆ FChangedCallback

template<typename PropType >
using FWatchablePropertySet::TPropertyWatcher< PropType >::FChangedCallback = TFunction<void(const PropType&)>

◆ FNotEqualTestFunction

template<typename PropType >
using FWatchablePropertySet::TPropertyWatcher< PropType >::FNotEqualTestFunction = TFunction<bool(const PropType&, const PropType&)>

◆ FValueGetter

Constructor & Destructor Documentation

◆ TPropertyWatcher() [1/4]

template<typename PropType >
template<typename Q = PropType, typename = typename TEnableIf<TModels_V<CInequalityComparable, Q>>::Type>
FWatchablePropertySet::TPropertyWatcher< PropType >::TPropertyWatcher ( const PropType Property,
FChangedCallback  OnChangedIn 
)
inline

◆ TPropertyWatcher() [2/4]

template<typename PropType >
template<typename Q = PropType, typename = typename TEnableIf<TModels_V<CInequalityComparable, Q>>::Type>
FWatchablePropertySet::TPropertyWatcher< PropType >::TPropertyWatcher ( FValueGetter  GetValueIn,
FChangedCallback  OnChangedIn 
)
inline

◆ TPropertyWatcher() [3/4]

template<typename PropType >
FWatchablePropertySet::TPropertyWatcher< PropType >::TPropertyWatcher ( const PropType Property,
FChangedCallback  OnChangedIn,
FNotEqualTestFunction  NotEqualIn 
)
inline

◆ TPropertyWatcher() [4/4]

template<typename PropType >
FWatchablePropertySet::TPropertyWatcher< PropType >::TPropertyWatcher ( FValueGetter  GetValueIn,
FChangedCallback  OnChangedIn,
FNotEqualTestFunction  NotEqualIn 
)
inline

Member Function Documentation

◆ CheckAndUpdate()

template<typename PropType >
void FWatchablePropertySet::TPropertyWatcher< PropType >::CheckAndUpdate ( )
inlinefinalvirtual

◆ SilentUpdate()


The documentation for this class was generated from the following file: