Chromium Embedded Framework (CEF)  131.2.1+ge081753+chromium-131.0.6778.13
base::OnceCallback< R(Args...)> Class Template Reference

#include "include/base/cef_callback.h"

Inheritance diagram for base::OnceCallback< R(Args...)>:

Public Types

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

Public Member Functions

constexpr OnceCallback ()=default
 
 OnceCallback (std::nullptr_t)=delete
 
 OnceCallback (cef_internal::BindStateBase *bind_state)
 
 OnceCallback (const OnceCallback &)=delete
 
OnceCallbackoperator= (const OnceCallback &)=delete
 
 OnceCallback (OnceCallback &&) noexcept=default
 
OnceCallbackoperator= (OnceCallback &&) noexcept=default
 
 OnceCallback (RepeatingCallback< RunType > other)
 
OnceCallbackoperator= (RepeatingCallback< RunType > other)
 
Run (Args... args) const &
 
Run (Args... args) &&
 
template<typename ThenR , typename... ThenArgs>
OnceCallback< ThenR(Args...)> Then (OnceCallback< ThenR(ThenArgs...)> then) &&
 
template<typename ThenR , typename... ThenArgs>
OnceCallback< ThenR(Args...)> Then (RepeatingCallback< ThenR(ThenArgs...)> then) &&
 

Member Typedef Documentation

◆ PolymorphicInvoke

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

◆ ResultType

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

◆ RunType

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

Constructor & Destructor Documentation

◆ OnceCallback() [1/6]

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

◆ OnceCallback() [2/6]

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

◆ OnceCallback() [3/6]

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

◆ OnceCallback() [4/6]

template<typename R , typename... Args>
base::OnceCallback< R(Args...)>::OnceCallback ( const OnceCallback< R(Args...)> &  )
delete

◆ OnceCallback() [5/6]

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

◆ OnceCallback() [6/6]

template<typename R , typename... Args>
base::OnceCallback< R(Args...)>::OnceCallback ( RepeatingCallback< RunType other)
inline

Member Function Documentation

◆ operator=() [1/3]

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

◆ operator=() [2/3]

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

◆ operator=() [3/3]

template<typename R , typename... Args>
OnceCallback& base::OnceCallback< R(Args...)>::operator= ( RepeatingCallback< RunType other)
inline

◆ Run() [1/2]

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

◆ Run() [2/2]

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

◆ Then() [1/2]

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

◆ Then() [2/2]

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

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