MADNESS  version 0.9
Classes | Namespaces | Functions
worldtask.h File Reference

Defines TaskInterface and implements WorldTaskQueue and associated stuff. More...

#include <iostream>
#include <madness/world/nodefaults.h>
#include <madness/world/worldrange.h>
#include <madness/world/worldtime.h>
#include <madness/world/taskfn.h>
Include dependency graph for worldtask.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  madness::TaskFunction< typename >
 
struct  madness::TaskMemfun< typename >
 
class  madness::detail::ForEachRootTask< rangeT, opT >
 Apply an operation to a range of iterators. More...
 
struct  madness::detail::TaskHandlerInfo< refT, functionT >
 
struct  madness::detail::function_enabler< fnT >
 
struct  madness::detail::memfunc_enabler< memfnT >
 
struct  madness::detail::DefaultInitPtr< T >
 
struct  madness::detail::DefaultInitPtr< std::shared_ptr< T > >
 
class  madness::detail::MemFuncWrapper< ptrT, memfnT, resT >
 
class  madness::detail::MemFuncWrapper< ptrT, memfnT, void >
 
class  madness::WorldTaskQueue
 Multi-threaded queue to manage and run tasks. More...
 
class  madness::detail::ForEachTask< rangeT, opT >
 Apply an operation to a range of iterators. More...
 
class  madness::detail::ForEachRootTask< rangeT, opT >
 Apply an operation to a range of iterators. More...
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 
 madness::detail
 

Functions

template<typename ptrT , typename memfnT , typename resT >
memfnT madness::detail::get_mem_func_ptr (const MemFuncWrapper< ptrT, memfnT, resT > &)
 
template<typename objT , typename memfnT >
MemFuncWrapper< objT *, memfnT,
typename result_of< memfnT >
::type > 
madness::detail::wrap_mem_fn (objT &obj, memfnT memfn)
 
template<typename objT , typename memfnT >
MemFuncWrapper< objT *, memfnT,
typename result_of< memfnT >
::type > 
madness::detail::wrap_mem_fn (objT *obj, memfnT memfn)
 
template<typename objT , typename memfnT >
MemFuncWrapper
< std::shared_ptr< objT >
, memfnT, typename result_of
< memfnT >::type > 
madness::detail::wrap_mem_fn (const std::shared_ptr< objT > &obj, memfnT memfn)
 
template<typename objT , typename memfnT >
MemFuncWrapper
< std::shared_ptr< objT >
, memfnT, typename result_of
< memfnT >::type > 
madness::detail::wrap_mem_fn (std::shared_ptr< objT > &obj, memfnT memfn)
 

Detailed Description

Defines TaskInterface and implements WorldTaskQueue and associated stuff.