webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
rtc::GuardedAsyncInvoker Class Reference

#include <asyncinvoker.h>

Inheritance diagram for rtc::GuardedAsyncInvoker:
sigslot::has_slots<> sigslot::has_slots<> sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface sigslot::has_slots_interface

Public Member Functions

 GuardedAsyncInvoker ()
 
 ~GuardedAsyncInvoker () override
 
bool Flush (uint32_t id=MQID_ANY)
 
template<class ReturnT , class FunctorT >
bool AsyncInvoke (const Location &posted_from, const FunctorT &functor, uint32_t id=0)
 
template<class ReturnT , class FunctorT >
bool AsyncInvokeDelayed (const Location &posted_from, const FunctorT &functor, uint32_t delay_ms, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
bool AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, const FunctorT &functor, void(HostT::*callback)(ReturnT), HostT *callback_host, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
bool AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, const FunctorT &functor, void(HostT::*callback)(), HostT *callback_host, uint32_t id=0)
 
 GuardedAsyncInvoker ()
 
 ~GuardedAsyncInvoker () override
 
bool Flush (uint32_t id=MQID_ANY)
 
template<class ReturnT , class FunctorT >
bool AsyncInvoke (const Location &posted_from, const FunctorT &functor, uint32_t id=0)
 
template<class ReturnT , class FunctorT >
bool AsyncInvokeDelayed (const Location &posted_from, const FunctorT &functor, uint32_t delay_ms, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
bool AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, const FunctorT &functor, void(HostT::*callback)(ReturnT), HostT *callback_host, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
bool AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, const FunctorT &functor, void(HostT::*callback)(), HostT *callback_host, uint32_t id=0)
 
- Public Member Functions inherited from sigslot::has_slots<>
 has_slots ()
 
 has_slots ()
 
 ~has_slots ()
 
 ~has_slots ()
 
- Public Member Functions inherited from sigslot::has_slots_interface
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 
void signal_connect (_signal_base_interface *sender)
 
void signal_disconnect (_signal_base_interface *sender)
 
void disconnect_all ()
 

Additional Inherited Members

- Protected Member Functions inherited from sigslot::has_slots_interface
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 
 has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all)
 
virtual ~has_slots_interface ()
 

Constructor & Destructor Documentation

◆ GuardedAsyncInvoker() [1/2]

rtc::GuardedAsyncInvoker::GuardedAsyncInvoker ( )

◆ ~GuardedAsyncInvoker() [1/2]

rtc::GuardedAsyncInvoker::~GuardedAsyncInvoker ( )
override

◆ GuardedAsyncInvoker() [2/2]

rtc::GuardedAsyncInvoker::GuardedAsyncInvoker ( )

◆ ~GuardedAsyncInvoker() [2/2]

rtc::GuardedAsyncInvoker::~GuardedAsyncInvoker ( )
override

Member Function Documentation

◆ AsyncInvoke() [1/6]

template<class ReturnT , class FunctorT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const FunctorT &  functor,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [2/6]

template<class ReturnT , class FunctorT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const FunctorT &  functor,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [3/6]

template<class ReturnT , class FunctorT , class HostT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
const FunctorT &  functor,
void(HostT::*)(ReturnT)  callback,
HostT *  callback_host,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [4/6]

template<class ReturnT , class FunctorT , class HostT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
const FunctorT &  functor,
void(HostT::*)(ReturnT)  callback,
HostT *  callback_host,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [5/6]

template<class ReturnT , class FunctorT , class HostT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
const FunctorT &  functor,
void(HostT::*)()  callback,
HostT *  callback_host,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [6/6]

template<class ReturnT , class FunctorT , class HostT >
bool rtc::GuardedAsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
const FunctorT &  functor,
void(HostT::*)()  callback,
HostT *  callback_host,
uint32_t  id = 0 
)
inline

◆ AsyncInvokeDelayed() [1/2]

template<class ReturnT , class FunctorT >
bool rtc::GuardedAsyncInvoker::AsyncInvokeDelayed ( const Location posted_from,
const FunctorT &  functor,
uint32_t  delay_ms,
uint32_t  id = 0 
)
inline

◆ AsyncInvokeDelayed() [2/2]

template<class ReturnT , class FunctorT >
bool rtc::GuardedAsyncInvoker::AsyncInvokeDelayed ( const Location posted_from,
const FunctorT &  functor,
uint32_t  delay_ms,
uint32_t  id = 0 
)
inline

◆ Flush() [1/2]

bool rtc::GuardedAsyncInvoker::Flush ( uint32_t  id = MQID_ANY)

◆ Flush() [2/2]

bool rtc::GuardedAsyncInvoker::Flush ( uint32_t  id = MQID_ANY)

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