Chromium Embedded Framework (CEF)
126.2.0+g5c56e98+chromium-126.0.6478.62
|
#include <atomic>
#include <memory>
#include <type_traits>
#include <utility>
#include "include/base/cef_bind.h"
#include "include/base/cef_callback.h"
#include "include/base/cef_logging.h"
Classes | |
class | base::ScopedClosureRunner |
ScopedClosureRunner is akin to std::unique_ptr<> for Closures. More... | |
class | base::NullCallback |
Creates a null callback. More... | |
class | base::DoNothing |
Creates a callback that does nothing when called. More... | |
Namespaces | |
base | |
Typedefs | |
template<typename T > | |
using | base::IsBaseCallback = internal::IsBaseCallbackImpl< std::decay_t< T > > |
IsBaseCallback<T>::value is true when T is any of the Closure or Callback family of types. More... | |
template<typename T > | |
using | base::IsOnceCallback = internal::IsOnceCallbackImpl< std::decay_t< T > > |
IsOnceCallback<T>::value is true when T is a OnceClosure or OnceCallback type. More... | |
template<template< typename > class CallbackType> | |
using | base::EnableIfIsBaseCallback = std::enable_if_t< IsBaseCallback< CallbackType< void()> >::value > |
SFINAE friendly enabler allowing to overload methods for both Repeating and OnceCallbacks. More... | |
Functions | |
template<typename... Args> | |
RepeatingCallback< void(Args...)> | base::AdaptCallbackForRepeating (OnceCallback< void(Args...)> callback) |
Wraps the given OnceCallback into a RepeatingCallback that relays its invocation to the original OnceCallback on the first invocation. More... | |
template<typename... Args> | |
std::pair< OnceCallback< void(Args...)>, OnceCallback< void(Args...)> > | base::SplitOnceCallback (OnceCallback< void(Args...)> callback) |
Wraps the given OnceCallback and returns two OnceCallbacks with an identical signature. More... | |
template<typename T > | |
void | base::DeletePointer (T *obj) |
Useful for creating a Closure that will delete a pointer when invoked. More... | |