libXDispatch 0.4
Classes | Namespaces | Enumerations | Functions
include/xdispatch/base.h File Reference

Go to the source code of this file.

Classes

class  xdispatch::operation
 An operation is a functor used to define single portions of work to be dispatched to a single queue. More...
class  xdispatch::iteration_operation
class  xdispatch::ptr_operation< T >
 Provides a template functor to wrap a function pointer to a memberfunction of an object as operation. More...
class  xdispatch::ptr_iteration_operation< T >
 Provides a template functor to wrap a function pointer to a memberfunction of an object as iteration_operation. More...
class  xdispatch::block_operation
 A simple operation for wrapping the given block as an xdispatch::operation. More...

Namespaces

namespace  xdispatch

Enumerations

enum  xdispatch::queue_priority { xdispatch::HIGH = 2, xdispatch::DEFAULT = 1, xdispatch::LOW = 0 }
 Three priority classes used for the three standard global queues. More...

Functions

XDISPATCH_EXPORT queue xdispatch::main_queue ()
 Returns the main queue.
XDISPATCH_EXPORT queue xdispatch::global_queue (queue_priority p=DEFAULT)
 Returns the global queue associated to the given Priority p.
XDISPATCH_EXPORT queue xdispatch::current_queue ()
XDISPATCH_EXPORT dispatch_time_t xdispatch::as_dispatch_time (struct tm *)
XDISPATCH_EXPORT struct tm xdispatch::as_struct_tm (dispatch_time_t t)
XDISPATCH_EXPORT dispatch_time_t xdispatch::as_delayed_time (uint64_t delay, dispatch_time_t base=DISPATCH_TIME_NOW)
XDISPATCH_EXPORT void xdispatch::exec ()
 Enters the dispatching loop for the main thread.

Generated on Wed Feb 22 2012 19:51:17 for libXDispatch by Doxygen 1.7.4
Content © 2011-2012 MLBA (about | privacy) – Design © 2010-2012 Emzeat. All Rights reserved.