#include <atomic_hook.h>
Public Types | |
using | FnPtr = ReturnType(*)(Args...) |
Public Member Functions | |
constexpr | AtomicHook () |
constexpr | AtomicHook (FnPtr default_fn) |
FnPtr | Load () const |
template<typename... CallArgs> | |
ReturnType | operator() (CallArgs &&...args) const |
void | Store (FnPtr fn) |
Private Member Functions | |
FnPtr | DoLoad () const |
bool | DoStore (FnPtr fn) |
Static Private Member Functions | |
static ReturnType | DummyFunction (Args...) |
Private Attributes | |
const FnPtr | default_fn_ |
std::atomic< FnPtr > | hook_ |
Definition at line 50 of file atomic_hook.h.
using absl::base_internal::AtomicHook< ReturnType(*)(Args...)>::FnPtr = ReturnType (*)(Args...) |
Definition at line 52 of file atomic_hook.h.
|
inline |
Definition at line 56 of file atomic_hook.h.
|
inlineexplicit |
Definition at line 61 of file atomic_hook.h.
|
inlineprivate |
Definition at line 115 of file atomic_hook.h.
|
inlineprivate |
Definition at line 119 of file atomic_hook.h.
|
inlinestaticprivate |
Definition at line 102 of file atomic_hook.h.
|
inline |
Definition at line 96 of file atomic_hook.h.
|
inline |
Definition at line 83 of file atomic_hook.h.
|
inline |
Definition at line 74 of file atomic_hook.h.
|
private |
Definition at line 157 of file atomic_hook.h.
|
private |
Definition at line 128 of file atomic_hook.h.