|
| template<typename T > |
| using | Mcro::Observable::IStateRef = TSharedRef<IState<T>> |
| | Convenience alias for shared reference to a base type of TState. Use this in APIs which may modify or get the value of a state declared elsewhere.
|
| |
| template<typename T > |
| using | Mcro::Observable::IStatePtr = TSharedPtr<IState<T>> |
| | Convenience alias for shared pointer to a base type of TState. Use this in APIs which may modify or get the value of a state declared elsewhere.
|
| |
| template<typename T > |
| using | Mcro::Observable::IStateWeakPtr = TWeakPtr<IState<T>> |
| | Convenience alias for weak pointer to a base type of TState. Use this in APIs which may modify or get the value of a state declared elsewhere.
|
| |
| template<typename T , FStatePolicy DefaultPolicy = StatePolicyFor<T>> |
| using | Mcro::Observable::TSharedStateRef = TSharedRef<TState<T, DefaultPolicy>> |
| | Convenience alias for declaring a state as a shared reference. Use this only as object members.
|
| |
| template<typename T , FStatePolicy DefaultPolicy = StatePolicyFor<T>> |
| using | Mcro::Observable::TSharedStatePtr = TSharedPtr<TState<T, DefaultPolicy>> |
| | Convenience alias for declaring a state as a shared pointer. Use this only as object members.
|
| |
| template<typename T , FStatePolicy DefaultPolicy = StatePolicyFor<T>> |
| using | Mcro::Observable::TSharedStateTSRef = TSharedRef<TState<T, DefaultPolicy.With({.ThreadSafe = true})>> |
| | Convenience alias for declaring a thread-safe state as a shared reference. Use this only as object members.
|
| |
| template<typename T , FStatePolicy DefaultPolicy = StatePolicyFor<T>> |
| using | Mcro::Observable::TSharedStateTSPtr = TSharedPtr<TState<T, DefaultPolicy.With({.ThreadSafe = true})>> |
| | Convenience alias for declaring a thread-safe state as a shared pointer. Use this only as object members.
|
| |
| template<typename T , FStatePolicy DefaultPolicy = StatePolicyFor<T>> |
| using | Mcro::Observable::TStateTS = TState<T, DefaultPolicy.With({.ThreadSafe = true})> |
| | Convenience alias for thread safe states.
|
| |
| using | Mcro::Observable::FBool = TState<bool> |
| | Convenience alias for boolean states.
|
| |
| using | Mcro::Observable::FBoolTS = TStateTS<bool> |
| | Convenience alias for thread-safe boolean states.
|
| |
- Copyright
- This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file You can obtain one at https://mozilla.org/MPL/2.0/
- 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.