Chromium Embedded Framework (CEF)  145.0.1+g472e75d+chromium-145.0.7632.5
base::RepeatingCallback< R(Args...)> Class Template Reference

#include "include/base/cef_callback.h"

Public Types

using ResultType = R
 
using RunType = R(Args...)
 
using PolymorphicInvoke = R(*)(cef_internal::BindStateBase *, cef_internal::PassingType< Args >...)
 

Public Member Functions

constexpr RepeatingCallback ()=default
 
 RepeatingCallback (std::nullptr_t)=delete
 
 RepeatingCallback (const RepeatingCallback &)=default
 
RepeatingCallbackoperator= (const RepeatingCallback &)=default
 
 RepeatingCallback (RepeatingCallback &&) noexcept=default
 
RepeatingCallbackoperator= (RepeatingCallback &&) noexcept=default
 
 ~RepeatingCallback ()=default
 
 operator bool () const
 
bool is_null () const
 
bool IsCancelled () const
 
bool MaybeValid () const
 
REINITIALIZES_AFTER_MOVE void Reset ()
 
Run (Args... args) const &
 
Run (Args... args) &&
 
template<typename ThenR , typename... ThenArgs>
RepeatingCallback< ThenR(Args...)> Then (RepeatingCallback< ThenR(ThenArgs...)> then) const &
 
template<typename ThenR , typename... ThenArgs>
RepeatingCallback< ThenR(Args...)> Then (RepeatingCallback< ThenR(ThenArgs...)> then) &&
 
constexpr RepeatingCallback (cef_internal::NullCallbackTag)
 
constexpr RepeatingCallbackoperator= (cef_internal::NullCallbackTag)
 
constexpr RepeatingCallback (cef_internal::NullCallbackTag::WithSignature< RunType >)
 
constexpr RepeatingCallbackoperator= (cef_internal::NullCallbackTag::WithSignature< RunType >)
 
constexpr RepeatingCallback (cef_internal::DoNothingCallbackTag) requires(std
 
constexpr RepeatingCallbackoperator= (cef_internal::DoNothingCallbackTag) requires(std
 
constexpr RepeatingCallback (cef_internal::DoNothingCallbackTag::WithSignature< RunType >) requires(std
 
constexpr RepeatingCallbackoperator= (cef_internal::DoNothingCallbackTag::WithSignature< RunType >) requires(std
 
template<typename... BoundArgs>
constexpr RepeatingCallback (cef_internal::DoNothingCallbackTag::WithBoundArguments< BoundArgs... > tag) requires(std
 
template<typename... BoundArgs>
constexpr RepeatingCallbackoperator= (cef_internal::DoNothingCallbackTag::WithBoundArguments< BoundArgs... > tag) requires(std
 
 RepeatingCallback (cef_internal::BindStateBase *bind_state)
 

Friends

class OnceCallback< R(Args...)>
 
bool operator== (const RepeatingCallback &, const RepeatingCallback &)=default
 

Member Typedef Documentation

◆ PolymorphicInvoke

template<typename R , typename... Args>
using base::RepeatingCallback< R(Args...)>::PolymorphicInvoke = R (*)(cef_internal::BindStateBase*, cef_internal::PassingType<Args>...)

◆ ResultType

template<typename R , typename... Args>
using base::RepeatingCallback< R(Args...)>::ResultType = R

◆ RunType

template<typename R , typename... Args>
using base::RepeatingCallback< R(Args...)>::RunType = R(Args...)

Constructor & Destructor Documentation

◆ RepeatingCallback() [1/10]

template<typename R , typename... Args>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( )
constexprdefault

◆ RepeatingCallback() [2/10]

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::RepeatingCallback ( std::nullptr_t  )
delete

◆ RepeatingCallback() [3/10]

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::RepeatingCallback ( const RepeatingCallback< R(Args...)> &  )
default

◆ RepeatingCallback() [4/10]

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::RepeatingCallback ( RepeatingCallback< R(Args...)> &&  )
defaultnoexcept

◆ ~RepeatingCallback()

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::~RepeatingCallback ( )
default

◆ RepeatingCallback() [5/10]

template<typename R , typename... Args>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::NullCallbackTag  )
inlineconstexpr

◆ RepeatingCallback() [6/10]

template<typename R , typename... Args>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::NullCallbackTag::WithSignature< RunType )
inlineconstexpr

◆ RepeatingCallback() [7/10]

template<typename R , typename... Args>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::DoNothingCallbackTag  )
inlineconstexpr

◆ RepeatingCallback() [8/10]

template<typename R , typename... Args>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::DoNothingCallbackTag::WithSignature< RunType )
inlineconstexpr

◆ RepeatingCallback() [9/10]

template<typename R , typename... Args>
template<typename... BoundArgs>
constexpr base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::DoNothingCallbackTag::WithBoundArguments< BoundArgs... >  tag)
inlineconstexpr

◆ RepeatingCallback() [10/10]

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::RepeatingCallback ( cef_internal::BindStateBase *  bind_state)
inlineexplicit

Member Function Documentation

◆ is_null()

template<typename R , typename... Args>
bool base::RepeatingCallback< R(Args...)>::is_null ( ) const
inline

◆ IsCancelled()

template<typename R , typename... Args>
bool base::RepeatingCallback< R(Args...)>::IsCancelled ( ) const
inline

◆ MaybeValid()

template<typename R , typename... Args>
bool base::RepeatingCallback< R(Args...)>::MaybeValid ( ) const
inline

◆ operator bool()

template<typename R , typename... Args>
base::RepeatingCallback< R(Args...)>::operator bool ( ) const
inlineexplicit

◆ operator=() [1/7]

template<typename R , typename... Args>
constexpr RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( cef_internal::DoNothingCallbackTag  )
inlineconstexpr

◆ operator=() [2/7]

template<typename R , typename... Args>
template<typename... BoundArgs>
constexpr RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( cef_internal::DoNothingCallbackTag::WithBoundArguments< BoundArgs... >  tag)
inlineconstexpr

◆ operator=() [3/7]

template<typename R , typename... Args>
constexpr RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( cef_internal::DoNothingCallbackTag::WithSignature< RunType )
inlineconstexpr

◆ operator=() [4/7]

template<typename R , typename... Args>
constexpr RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( cef_internal::NullCallbackTag  )
inlineconstexpr

◆ operator=() [5/7]

template<typename R , typename... Args>
constexpr RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( cef_internal::NullCallbackTag::WithSignature< RunType )
inlineconstexpr

◆ operator=() [6/7]

template<typename R , typename... Args>
RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( const RepeatingCallback< R(Args...)> &  )
default

◆ operator=() [7/7]

template<typename R , typename... Args>
RepeatingCallback& base::RepeatingCallback< R(Args...)>::operator= ( RepeatingCallback< R(Args...)> &&  )
defaultnoexcept

◆ Reset()

template<typename R , typename... Args>
REINITIALIZES_AFTER_MOVE void base::RepeatingCallback< R(Args...)>::Reset ( )
inline

◆ Run() [1/2]

template<typename R , typename... Args>
R base::RepeatingCallback< R(Args...)>::Run ( Args...  args) &&
inline

◆ Run() [2/2]

template<typename R , typename... Args>
R base::RepeatingCallback< R(Args...)>::Run ( Args...  args) const &
inline

◆ Then() [1/2]

template<typename R , typename... Args>
template<typename ThenR , typename... ThenArgs>
RepeatingCallback<ThenR(Args...)> base::RepeatingCallback< R(Args...)>::Then ( RepeatingCallback< ThenR(ThenArgs...)>  then) &&
inline

◆ Then() [2/2]

template<typename R , typename... Args>
template<typename ThenR , typename... ThenArgs>
RepeatingCallback<ThenR(Args...)> base::RepeatingCallback< R(Args...)>::Then ( RepeatingCallback< ThenR(ThenArgs...)>  then) const &
inline

Friends And Related Function Documentation

◆ OnceCallback< R(Args...)>

template<typename R , typename... Args>
friend class OnceCallback< R(Args...)>
friend

◆ operator==

template<typename R , typename... Args>
bool operator== ( const RepeatingCallback< R(Args...)> &  ,
const RepeatingCallback< R(Args...)> &   
)
friend

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