MCRO
C++23 utilities for Unreal Engine.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages Concepts
Observable.h File Reference
#include "CoreMinimal.h"
#include "Mcro/AssertMacros.h"
#include "Mcro/Delegates/EventDelegate.h"
#include "Mcro/Observable.Fwd.h"

Go to the source code of this file.

Data Structures

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 More...
 
struct  Mcro::Observable::IState< T >
 Public API and base class for TState which shouldn't concern with policy flags or thread safety. More...
 
struct  Mcro::Observable::TState< T, DefaultPolicy >
 Storage wrapper for any value which state needs to be tracked or their change needs to be observed. By default, TState is not thread-safe unless EStatePolicy::ThreadSafe policy is active in DefaultPolicy. More...
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Observable
 

Functions

template<typename LeftValue , CWeaklyEqualityComparableWith< LeftValue > RightValue>
bool Mcro::Observable::operator== (IState< LeftValue > const &left, IState< RightValue > const &right)
 
template<typename LeftValue , CPartiallyOrderedWith< LeftValue > RightValue>
bool Mcro::Observable::operator<=> (IState< LeftValue > const &left, IState< RightValue > const &right)
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file Observable.h.