MultiThreadOperations.h File Reference

#include <hugin_shared.h>
#include <hugin_utils/utils.h>
#include <vigra/windows.h>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <vigra/utilities.hxx>

Include dependency graph for MultiThreadOperations.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  vigra_ext

Classes

class  vigra_ext::ThreadManager
 Thread "manager". More...

Functions

template<class SrcIter, class SrcAcc, class DestIter, class DestAcc, class Function>
void multithreadOperation (vigra::triple< SrcIter, SrcIter, SrcAcc > src, vigra::pair< DestIter, DestAcc > dest, Function op)
 operation to do multithreaded image processing operations


Function Documentation

template<class SrcIter, class SrcAcc, class DestIter, class DestAcc, class Function>
void multithreadOperation vigra::triple< SrcIter, SrcIter, SrcAcc >  src,
vigra::pair< DestIter, DestAcc >  dest,
Function  op
 

operation to do multithreaded image processing operations

Function op should be a function that transforms one source image to a destination image. Function op should tale src and dest as arguments.

If it requires more arguments, boost::bind should be used to create a functor for it.

Note that the op has to take src and dest by value and not by reference, since they are not

Definition at line 90 of file MultiThreadOperations.h.

References DEBUG_DEBUG.


Generated on Thu Apr 17 01:25:46 2014 for Hugintrunk by  doxygen 1.3.9.1