[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

hugin_base/vigra_ext/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


Generated on Mon Sep 20 01:01:31 2010 for Hugintrunk by doxygen 1.3.9.1