Nui
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Functions
property.hpp File Reference
#include <nui/frontend/event_system/observed_value.hpp>
#include <nui/frontend/event_system/observed_value_combinator.hpp>
#include <concepts>
#include <functional>
Include dependency graph for property.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Nui::Detail::Property< T >
 
struct  Nui::Detail::Property< Observed< T > >
 
struct  Nui::Detail::Property< std::weak_ptr< Observed< T > > >
 
struct  Nui::Detail::IsPropertyImpl< T >
 
struct  Nui::Detail::IsPropertyImpl< Property< T > >
 

Namespaces

namespace  Nui
 
namespace  Nui::Detail
 

Concepts

concept  Nui::Detail::IsProperty
 

Functions

template<typename U >
requires (IsObserved<std::decay_t<U>>)
Detail::Property< std::decay_t< U > > Nui::property (U &val)
 
template<typename U >
requires (IsWeakObserved<std::decay_t<U>>)
Detail::Property< std::decay_t< U > > Nui::property (U &&val)
 
template<typename U >
requires (IsSharedObserved<std::decay_t<U>>)
Detail::Property< typename std::decay_t< U >::weak_type > Nui::property (U const &val)
 
template<typename U >
requires (std::invocable<U, Nui::val>)
Detail::Property< std::function< void(Nui::val)> > Nui::property (U val)
 
template<typename U >
requires (std::invocable<U>)
Detail::Property< std::function< void()> > Nui::property (U val)
 
template<typename U >
requires (!IsObservedLike<std::decay_t<U>> && !std::invocable<U> && !std::invocable<U, Nui::val>)
Detail::Property< std::decay_t< U > > Nui::property (U val)
 
template<typename RendererType , typename... ObservedValues>
ObservedValueCombinatorWithPropertyGenerator< RendererType, ObservedValues... > Nui::property (ObservedValueCombinatorWithGenerator< RendererType, ObservedValues... > combinator)