MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
Observable.Fwd.h File Reference
#include "CoreMinimal.h"
#include "Mcro/FunctionTraits.h"

Go to the source code of this file.

Data Structures

struct  Mcro::Observable::IStateTag
 

Namespaces

namespace  Mcro
 
namespace  Mcro::Observable
 

Concepts

concept  Mcro::Observable::CState
 
concept  Mcro::Observable::CChangeListener
 
concept  Mcro::Observable::CChangeNextOnlyListener
 
concept  Mcro::Observable::CChangeNextPreviousListener
 

Typedefs

template<typename T >
using Mcro::Observable::TStateRef = TSharedRef<IState<T>>
 
template<typename T >
using Mcro::Observable::TStatePtr = TSharedPtr<IState<T>>
 
template<typename T >
using Mcro::Observable::TStateWeakPtr = TWeakPtr<IState<T>>
 
template<typename T , int32 DefaultPolicy = StatePolicyFor<T>>
using Mcro::Observable::TDeclareStateRef = TSharedRef<TState<T, DefaultPolicy>>
 
template<typename T , int32 DefaultPolicy = StatePolicyFor<T>>
using Mcro::Observable::TDeclareStatePtr = TSharedPtr<TState<T, DefaultPolicy>>
 
template<typename T , int32 DefaultPolicy = StatePolicyFor<T> | ThreadSafeState>
using Mcro::Observable::TStateTS = TState<T, DefaultPolicy>
 
using Mcro::Observable::FBool = TState<bool>
 
using Mcro::Observable::FBoolTS = TStateTS<bool>
 

Enumerations

enum  Mcro::Observable::EStatePolicy { Mcro::Observable::NotifyOnChangeOnly = 0 , Mcro::Observable::AlwaysNotify = 1 << 0 , Mcro::Observable::StorePrevious = 1 << 1 , Mcro::Observable::ThreadSafeState = 1 << 2 }
 

Variables

template<typename T >
constexpr int32 Mcro::Observable::StatePolicyFor
 
concept Mcro::Observable::TFunction_ArgDecay< Function, 0 >
 

Detailed Description

Author
David Mórász
Date
2025

This is a forward declaration for types in Observable.h. Unless the full TState type is used for class member declarations, use this header in other header files.

Definition in file Observable.Fwd.h.