MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Mcro::Observable::TChangeData< T > Struct Template Reference

#include <Observable.h>

Public Member Functions

template<CDefaultInitializable = T>
 TChangeData ()
 
template<CMoveConstructible = T>
 TChangeData (T &&value)
 
template<CCopyConstructible = T>
 TChangeData (const TChangeData &from)
 
template<CMoveConstructible = T>
 TChangeData (TChangeData &&from)
 
template<typename Arg >
requires (!CSameAs<Arg, TChangeData> && !CSameAs<Arg, T>)
 TChangeData (Arg &&arg)
 
template<typename... Args>
requires (sizeof...(Args) > 1)
 TChangeData (Args &&... args)
 

Data Fields

Next
 
TOptional< T > Previous
 

Detailed Description

template<typename T>
struct Mcro::Observable::TChangeData< T >

This struct holds the circumstances of the data change. It cannot be moved or copied and its lifespan is managed entirely by TState

Definition at line 29 of file Observable.h.

Constructor & Destructor Documentation

◆ TChangeData() [1/6]

template<typename T >
template<CDefaultInitializable = T>
Mcro::Observable::TChangeData< T >::TChangeData ( )
inline

Definition at line 32 of file Observable.h.

◆ TChangeData() [2/6]

template<typename T >
template<CMoveConstructible = T>
Mcro::Observable::TChangeData< T >::TChangeData ( T && value)
inline

Definition at line 35 of file Observable.h.

◆ TChangeData() [3/6]

template<typename T >
template<CCopyConstructible = T>
Mcro::Observable::TChangeData< T >::TChangeData ( const TChangeData< T > & from)
inline

Definition at line 38 of file Observable.h.

◆ TChangeData() [4/6]

template<typename T >
template<CMoveConstructible = T>
Mcro::Observable::TChangeData< T >::TChangeData ( TChangeData< T > && from)
inline

Definition at line 41 of file Observable.h.

◆ TChangeData() [5/6]

template<typename T >
template<typename Arg >
requires (!CSameAs<Arg, TChangeData> && !CSameAs<Arg, T>)
Mcro::Observable::TChangeData< T >::TChangeData ( Arg && arg)
inline

Definition at line 45 of file Observable.h.

◆ TChangeData() [6/6]

template<typename T >
template<typename... Args>
requires (sizeof...(Args) > 1)
Mcro::Observable::TChangeData< T >::TChangeData ( Args &&... args)
inline

Definition at line 49 of file Observable.h.

Field Documentation

◆ Next

template<typename T >
T Mcro::Observable::TChangeData< T >::Next

Definition at line 51 of file Observable.h.

◆ Previous

template<typename T >
TOptional<T> Mcro::Observable::TChangeData< T >::Previous

Definition at line 52 of file Observable.h.


The documentation for this struct was generated from the following files: