vSMC
vSMC: Scalable Monte Carlo
|
Timer dispatch source. More...
#include <vsmc/gcd/dispatch_source.hpp>
Public Member Functions | |
template<DispatchQueueType QType> | |
DispatchSource (uintptr_t handle, unsigned long mask, const DispatchQueue< QType > &queue) | |
DispatchSource (uintptr_t handle, unsigned long mask,::dispatch_queue_t queue) | |
void | set_timer (::dispatch_time_t start, uint64_t interval, uint64_t leeway) const |
![]() | |
void | cancel () const |
unsigned long | get_data () const |
uintptr_t | get_handle () const |
unsigned long | get_mask () const |
void | resume () const |
void | set_cancel_handler (::dispatch_block_t cancel_handler) const |
void | set_cancel_handler_f (::dispatch_function_t cancel_handler) const |
void | set_event_handler (::dispatch_block_t event_handler) const |
void | set_event_handler_f (::dispatch_function_t event_handler) const |
void | set_registration_handler (::dispatch_block_t registration_handler) const |
void | set_registration_handler_f (::dispatch_function_t registration_handler) const |
void | suspend () const |
long | testcancel () const |
![]() | |
DispatchObject (const ::dispatch_source_t &object, bool retained) | |
Create a DispatchObject from its C-type object. More... | |
DispatchObject (const DispatchObject< ::dispatch_source_t > &other) | |
DispatchObject (DispatchObject< ::dispatch_source_t > &&other) | |
~DispatchObject () | |
void * | get_context () const |
::dispatch_source_t | object () const |
Return the underlying Dispatch object. More... | |
void | object (::dispatch_source_tobj) |
Set the underlying Dispatch object and retain it. More... | |
DispatchObject< ::dispatch_source_t > & | operator= (const DispatchObject< ::dispatch_source_t > &other) |
DispatchObject< ::dispatch_source_t > & | operator= (DispatchObject< ::dispatch_source_t > &&other) |
void | set_context (void *context) const |
void | set_finalizer_f (::dispatch_function_t finalizer) const |
Additional Inherited Members | |
![]() | |
DispatchSourceBase (uintptr_t handle, unsigned long mask,::dispatch_queue_t queue) | |
Timer dispatch source.
Definition at line 242 of file dispatch_source.hpp.
|
inline |
Definition at line 248 of file dispatch_source.hpp.
|
inline |
Definition at line 252 of file dispatch_source.hpp.
|
inline |
Definition at line 256 of file dispatch_source.hpp.