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

#include <asyncinvoker.h>

Inheritance diagram for rtc::AsyncInvoker:
rtc::MessageHandler rtc::MessageHandler

Public Member Functions

 AsyncInvoker ()
 
 ~AsyncInvoker () override
 
template<class ReturnT , class FunctorT >
void AsyncInvoke (const Location &posted_from, Thread *thread, const FunctorT &functor, uint32_t id=0)
 
template<class ReturnT , class FunctorT >
void AsyncInvokeDelayed (const Location &posted_from, Thread *thread, const FunctorT &functor, uint32_t delay_ms, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
void AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, Thread *thread, const FunctorT &functor, void(HostT::*callback)(ReturnT), HostT *callback_host, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
void AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, Thread *thread, const FunctorT &functor, void(HostT::*callback)(), HostT *callback_host, uint32_t id=0)
 
void Flush (Thread *thread, uint32_t id=MQID_ANY)
 
 AsyncInvoker ()
 
 ~AsyncInvoker () override
 
template<class ReturnT , class FunctorT >
void AsyncInvoke (const Location &posted_from, Thread *thread, const FunctorT &functor, uint32_t id=0)
 
template<class ReturnT , class FunctorT >
void AsyncInvokeDelayed (const Location &posted_from, Thread *thread, const FunctorT &functor, uint32_t delay_ms, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
void AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, Thread *thread, const FunctorT &functor, void(HostT::*callback)(ReturnT), HostT *callback_host, uint32_t id=0)
 
template<class ReturnT , class FunctorT , class HostT >
void AsyncInvoke (const Location &posted_from, const Location &callback_posted_from, Thread *thread, const FunctorT &functor, void(HostT::*callback)(), HostT *callback_host, uint32_t id=0)
 
void Flush (Thread *thread, uint32_t id=MQID_ANY)
 
- Public Member Functions inherited from rtc::MessageHandler
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 
virtual WEBRTC_DYLIB_EXPORT ~MessageHandler ()
 

Public Attributes

sigslot::signal0 SignalInvokerDestroyed
 

Friends

class AsyncClosure
 

Additional Inherited Members

- Protected Member Functions inherited from rtc::MessageHandler
 MessageHandler ()
 
 MessageHandler ()
 

Constructor & Destructor Documentation

◆ AsyncInvoker() [1/2]

rtc::AsyncInvoker::AsyncInvoker ( )

◆ ~AsyncInvoker() [1/2]

rtc::AsyncInvoker::~AsyncInvoker ( )
override

◆ AsyncInvoker() [2/2]

rtc::AsyncInvoker::AsyncInvoker ( )

◆ ~AsyncInvoker() [2/2]

rtc::AsyncInvoker::~AsyncInvoker ( )
override

Member Function Documentation

◆ AsyncInvoke() [1/6]

template<class ReturnT , class FunctorT >
void rtc::AsyncInvoker::AsyncInvoke ( const Location posted_from,
Thread thread,
const FunctorT &  functor,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [2/6]

template<class ReturnT , class FunctorT >
void rtc::AsyncInvoker::AsyncInvoke ( const Location posted_from,
Thread thread,
const FunctorT &  functor,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [3/6]

template<class ReturnT , class FunctorT , class HostT >
void rtc::AsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
Thread thread,
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 >
void rtc::AsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
Thread thread,
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 >
void rtc::AsyncInvoker::AsyncInvoke ( const Location posted_from,
const Location callback_posted_from,
Thread thread,
const FunctorT &  functor,
void(HostT::*)()  callback,
HostT *  callback_host,
uint32_t  id = 0 
)
inline

◆ AsyncInvoke() [6/6]

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

◆ AsyncInvokeDelayed() [1/2]

template<class ReturnT , class FunctorT >
void rtc::AsyncInvoker::AsyncInvokeDelayed ( const Location posted_from,
Thread thread,
const FunctorT &  functor,
uint32_t  delay_ms,
uint32_t  id = 0 
)
inline

◆ AsyncInvokeDelayed() [2/2]

template<class ReturnT , class FunctorT >
void rtc::AsyncInvoker::AsyncInvokeDelayed ( const Location posted_from,
Thread thread,
const FunctorT &  functor,
uint32_t  delay_ms,
uint32_t  id = 0 
)
inline

◆ Flush() [1/2]

void rtc::AsyncInvoker::Flush ( Thread thread,
uint32_t  id = MQID_ANY 
)

◆ Flush() [2/2]

void rtc::AsyncInvoker::Flush ( Thread thread,
uint32_t  id = MQID_ANY 
)

Friends And Related Function Documentation

◆ AsyncClosure

AsyncClosure
friend

Member Data Documentation

◆ SignalInvokerDestroyed

sigslot::signal0 rtc::AsyncInvoker::SignalInvokerDestroyed

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