vSMC
vSMC: Scalable Monte Carlo
|
C++ wrapper of Apple GCD. More...
Classes | |
class | vsmc::DispatchFunction< T > |
Wrap a callable object into a dispatch_function_t type pointer. More... | |
class | vsmc::DispatchGroup |
A Dispatch group. More... | |
class | vsmc::DispatchObject< DispatchType > |
Base class of Dispatch objects. More... | |
class | vsmc::DispatchQueue< DispatchGlobal > |
The global dispatch queue (dispatch_get_gloal_queue ) More... | |
class | vsmc::DispatchQueue< DispatchMain > |
The main dispatch queue (dipatch_get_main_queue ) More... | |
class | vsmc::DispatchQueue< DispatchPrivate > |
A private dispatch queue (dispatch_queue_create ) More... | |
class | vsmc::DispatchQueueBase |
Base class of DispatchQueue. More... | |
class | vsmc::DispatchSource< Type > |
A dispatch source. More... | |
class | vsmc::DispatchSource< DispatchDataAdd > |
Data (ADD) dispatch source. More... | |
class | vsmc::DispatchSource< DispatchDataOr > |
Data (OR) dispatch source. More... | |
class | vsmc::DispatchSource< DispatchTimer > |
Timer dispatch source. More... | |
class | vsmc::DispatchSourceBase< Type > |
Base class of DispatchSource. More... | |
Enumerations | |
enum | vsmc::DispatchQueueType { vsmc::DispatchMain, vsmc::DispatchGlobal, vsmc::DispatchPrivate } |
Types of DispatchQueue. More... | |
enum | vsmc::DispatchSourceType { vsmc::DispatchDataAdd, vsmc::DispatchDataOr, vsmc::DispatchMachRecv, vsmc::DispatchMachSend, vsmc::DispatchProc, vsmc::DispatchRead, vsmc::DispatchSignal, vsmc::DispatchTimer, vsmc::DispatchVnode, vsmc::DispatchWrite } |
Types of DispatchSource. More... | |
Functions | |
template<typename T > | |
DispatchFunction< typename cxx11::remove_cv< typename cxx11::remove_reference< T >::type >::type > * | vsmc::dispatch_function_new (T &&work) noexcept |
Make a DispatchFunction object from an arbitrary callable object. More... | |
C++ wrapper of Apple GCD.
Types of DispatchQueue.
Enumerator | |
---|---|
DispatchMain |
The queue obtained by |
DispatchGlobal |
The queue obtained by |
DispatchPrivate |
The queue created by |
Definition at line 43 of file dispatch_queue.hpp.
Types of DispatchSource.
Definition at line 43 of file dispatch_source.hpp.
|
inlinenoexcept |
Make a DispatchFunction object from an arbitrary callable object.
work | A callable object with signature void f(void) |
Definition at line 85 of file dispatch_function.hpp.