mimic++ v4
Loading...
Searching...
No Matches
mimicpp::ControlPolicy< Sequences > Class Template Reference

#include <ControlPolicy.hpp>

Public Member Functions

constexpr ControlPolicy (const detail::TimesConfig &timesConfig, const sequence::detail::Config< Sequences... > &sequenceConfig) noexcept
 
constexpr bool is_satisfied () const noexcept
 
constexpr bool is_saturated () const noexcept
 
constexpr bool is_applicable () const noexcept
 
constexpr void consume () noexcept
 
control_state_t state () const
 

Static Public Attributes

static constexpr std::size_t sequenceCount {sizeof...(Sequences)}
 

Constructor & Destructor Documentation

◆ ControlPolicy()

template<typename... Sequences>
mimicpp::ControlPolicy< Sequences >::ControlPolicy ( const detail::TimesConfig & timesConfig,
const sequence::detail::Config< Sequences... > & sequenceConfig )
inlineexplicitnodiscardconstexprnoexcept

Member Function Documentation

◆ consume()

template<typename... Sequences>
void mimicpp::ControlPolicy< Sequences >::consume ( )
inlineconstexprnoexcept
Here is the call graph for this function:

◆ is_applicable()

template<typename... Sequences>
bool mimicpp::ControlPolicy< Sequences >::is_applicable ( ) const
inlinenodiscardconstexprnoexcept
Here is the caller graph for this function:

◆ is_satisfied()

template<typename... Sequences>
bool mimicpp::ControlPolicy< Sequences >::is_satisfied ( ) const
inlinenodiscardconstexprnoexcept

◆ is_saturated()

template<typename... Sequences>
bool mimicpp::ControlPolicy< Sequences >::is_saturated ( ) const
inlinenodiscardconstexprnoexcept

◆ state()

template<typename... Sequences>
control_state_t mimicpp::ControlPolicy< Sequences >::state ( ) const
inlinenodiscard

Member Data Documentation

◆ sequenceCount

template<typename... Sequences>
std::size_t mimicpp::ControlPolicy< Sequences >::sequenceCount {sizeof...(Sequences)}
staticconstexpr

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