Nui
Public Member Functions | Protected Attributes | List of all members
Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues > Class Template Reference

#include <observed_value_combinator.hpp>

Inheritance diagram for Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >:
Inheritance graph
[legend]
Collaboration diagram for Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >:
Collaboration graph
[legend]

Public Member Functions

constexpr ObservedValueCombinatorWithGenerator (std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > observedValues, RendererType generator)
 
ObservedValueCombinator< ObservedValues... > split () &&
 
constexpr auto value () const
 
RendererType generator () const &
 
RendererType generator () &&
 
- Public Member Functions inherited from Nui::ObservedValueCombinatorBase< ObservedValues... >
constexpr ObservedValueCombinatorBase (Detail::ObservedAddReference_t< ObservedValues > &&... observedValues)
 
constexpr ObservedValueCombinatorBase (std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > observedValues)
 
constexpr void attachEvent (auto eventId) const
 
constexpr void attachOneshotEvent (auto eventId) const
 
constexpr void detachEvent (auto eventId) const
 
std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > const & observedValues () &
 
std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > && observedValues () &&
 
bool isAnyExpired () const
 

Protected Attributes

const RendererType generator_
 
- Protected Attributes inherited from Nui::ObservedValueCombinatorBase< ObservedValues... >
const std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > observedValues_
 

Constructor & Destructor Documentation

◆ ObservedValueCombinatorWithGenerator()

template<typename RendererType , typename... ObservedValues>
constexpr Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::ObservedValueCombinatorWithGenerator ( std::tuple< Detail::ObservedAddReference_t< ObservedValues >... >  observedValues,
RendererType  generator 
)
inlineconstexpr

Member Function Documentation

◆ generator() [1/2]

template<typename RendererType , typename... ObservedValues>
RendererType Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::generator ( ) &&
inline

◆ generator() [2/2]

template<typename RendererType , typename... ObservedValues>
RendererType Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::generator ( ) const &
inline

◆ split()

template<typename RendererType , typename... ObservedValues>
ObservedValueCombinator<ObservedValues...> Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::split ( ) &&
inline

◆ value()

template<typename RendererType , typename... ObservedValues>
constexpr auto Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::value ( ) const
inlineconstexpr

Member Data Documentation

◆ generator_

template<typename RendererType , typename... ObservedValues>
const RendererType Nui::ObservedValueCombinatorWithGenerator< RendererType, ObservedValues >::generator_
protected

The documentation for this class was generated from the following file: