webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <GenericCallback.h>
Public Types | |
typedef std::function< void(T..., Error)> | CallbackFunction |
Public Member Functions | |
virtual | ~GenericCallback () |
void | performCallbackWithReturnValue (T... returnValue) |
void | performCallback () |
void | invalidate (Error error=Error::Unknown) final |
Public Member Functions inherited from WebCore::CallbackBase | |
virtual | ~CallbackBase () |
uint64_t | callbackID () const |
virtual | ~CallbackBase () |
uint64_t | callbackID () const |
Public Member Functions inherited from WTF::RefCounted< CallbackBase > | |
void | deref () const |
void | deref () const |
void | deref () const |
Public Member Functions inherited from WTF::RefCountedBase | |
void | ref () const |
bool | hasOneRef () const |
unsigned | refCount () const |
void | relaxAdoptionRequirement () |
void | ref () const |
bool | hasOneRef () const |
unsigned | refCount () const |
void | relaxAdoptionRequirement () |
void | ref () const |
bool | hasOneRef () const |
unsigned | refCount () const |
void | relaxAdoptionRequirement () |
Static Public Member Functions | |
static PassRefPtr< GenericCallback > | create (CallbackFunction callback, const ProcessThrottler::BackgroundActivityToken &activityToken=nullptr) |
Friends | |
class | CallbackBase |
Additional Inherited Members | |
Protected Member Functions inherited from WebCore::CallbackBase | |
CallbackBase (void *context) | |
void * | context () const |
CallbackBase (void *context) | |
void * | context () const |
Protected Member Functions inherited from WTF::RefCounted< CallbackBase > | |
RefCounted () | |
RefCounted () | |
RefCounted () | |
~RefCounted () | |
~RefCounted () | |
~RefCounted () | |
Protected Member Functions inherited from WTF::RefCountedBase | |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
RefCountedBase () | |
~RefCountedBase () | |
bool | derefBase () const |
bool | deletionHasBegun () const |
typedef std::function<void (T..., Error)> WebKit::GenericCallback< T >::CallbackFunction |
|
inlinevirtual |
|
inlinestatic |
|
inlinefinal |
|
inline |
|
inline |
|
friend |