Nui
Classes | Functions
Nui::Attributes::Detail Namespace Reference

Classes

struct  DeferWrap
 
struct  StylePropertyEbo
 
struct  StylePropertyEbo< void >
 
struct  IsDynamicStyleProperty
 
struct  IsDynamicStyleProperty< StylePropertyImpl< FunctionT, void > >
 
struct  StripPropertyObserved
 
struct  StripPropertyObserved< StylePropertyImpl< FunctionT, void > >
 
struct  BuildObservedPropertyIndexList
 
struct  BuildObservedPropertyIndexList< std::integer_sequence< unsigned, Indices... >, CurrentIndex, Property, Properties... >
 
struct  BuildObservedPropertyIndexList< std::integer_sequence< unsigned, Indices... >, CurrentIndex >
 
struct  ExtractObservedValuesFromProperties
 
struct  ExtractObservedValuesFromProperties< std::integer_sequence< unsigned, Indices... > >
 

Functions

template<typename ElementT , typename T >
EventContext::EventIdType changeEventHandler (std::weak_ptr< ElementT > element, T const &obs, std::function< bool(std::shared_ptr< ElementT > const &)> onLock)
 
template<typename ElementT , typename T >
EventContext::EventIdType defaultAttributeEvent (std::weak_ptr< ElementT > element, T const &obs, char const *name)
 
template<typename ElementT , typename T >
EventContext::EventIdType defaultPropertyEvent (std::weak_ptr< ElementT > element, T const &obs, char const *name)
 
template<bool isStatic, typename... Properties>
auto makeStyleGenerator (Properties &&... props)
 
template<typename... Properties>
constexpr auto stripObserved (Properties &... props)
 

Function Documentation

◆ changeEventHandler()

template<typename ElementT , typename T >
EventContext::EventIdType Nui::Attributes::Detail::changeEventHandler ( std::weak_ptr< ElementT >  element,
T const &  obs,
std::function< bool(std::shared_ptr< ElementT > const &)>  onLock 
)

◆ defaultAttributeEvent()

template<typename ElementT , typename T >
EventContext::EventIdType Nui::Attributes::Detail::defaultAttributeEvent ( std::weak_ptr< ElementT >  element,
T const &  obs,
char const *  name 
)

◆ defaultPropertyEvent()

template<typename ElementT , typename T >
EventContext::EventIdType Nui::Attributes::Detail::defaultPropertyEvent ( std::weak_ptr< ElementT >  element,
T const &  obs,
char const *  name 
)

◆ makeStyleGenerator()

template<bool isStatic, typename... Properties>
auto Nui::Attributes::Detail::makeStyleGenerator ( Properties &&...  props)

◆ stripObserved()

template<typename... Properties>
constexpr auto Nui::Attributes::Detail::stripObserved ( Properties &...  props)
constexpr