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

#include <observed_value_combinator.hpp>

Public Member Functions

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 std::tuple< Detail::ObservedAddReference_t< ObservedValues >... > observedValues_
 

Constructor & Destructor Documentation

◆ ObservedValueCombinatorBase() [1/2]

template<typename... ObservedValues>
constexpr Nui::ObservedValueCombinatorBase< ObservedValues >::ObservedValueCombinatorBase ( Detail::ObservedAddReference_t< ObservedValues > &&...  observedValues)
inlineexplicitconstexpr

◆ ObservedValueCombinatorBase() [2/2]

template<typename... ObservedValues>
constexpr Nui::ObservedValueCombinatorBase< ObservedValues >::ObservedValueCombinatorBase ( std::tuple< Detail::ObservedAddReference_t< ObservedValues >... >  observedValues)
inlineexplicitconstexpr

Member Function Documentation

◆ attachEvent()

template<typename... ObservedValues>
constexpr void Nui::ObservedValueCombinatorBase< ObservedValues >::attachEvent ( auto  eventId) const
inlineconstexpr

◆ attachOneshotEvent()

template<typename... ObservedValues>
constexpr void Nui::ObservedValueCombinatorBase< ObservedValues >::attachOneshotEvent ( auto  eventId) const
inlineconstexpr

◆ detachEvent()

template<typename... ObservedValues>
constexpr void Nui::ObservedValueCombinatorBase< ObservedValues >::detachEvent ( auto  eventId) const
inlineconstexpr

◆ isAnyExpired()

template<typename... ObservedValues>
bool Nui::ObservedValueCombinatorBase< ObservedValues >::isAnyExpired ( ) const
inline

◆ observedValues() [1/2]

template<typename... ObservedValues>
std::tuple<Detail::ObservedAddReference_t<ObservedValues>...> const& Nui::ObservedValueCombinatorBase< ObservedValues >::observedValues ( ) &
inline

◆ observedValues() [2/2]

template<typename... ObservedValues>
std::tuple<Detail::ObservedAddReference_t<ObservedValues>...>&& Nui::ObservedValueCombinatorBase< ObservedValues >::observedValues ( ) &&
inline

Member Data Documentation

◆ observedValues_

template<typename... ObservedValues>
const std::tuple<Detail::ObservedAddReference_t<ObservedValues>...> Nui::ObservedValueCombinatorBase< ObservedValues >::observedValues_
protected

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