vigra_ext::ThreadManager Class Reference

Thread "manager". More...

#include <MultiThreadOperations.h>

List of all members.

Public Member Functions

 ThreadManager ()
virtual ~ThreadManager ()
unsigned getNThreads ()
void setNThreads (unsigned n)

Static Public Member Functions

ThreadManagerget ()

Private Attributes

unsigned m_nThreads

Static Private Attributes

ThreadManagerm_instance = 0

Detailed Description

Thread "manager".

currently only used to query the number of threads that should be used for image processing operations

Definition at line 42 of file MultiThreadOperations.h.

Constructor & Destructor Documentation

vigra_ext::ThreadManager::ThreadManager  )  [inline]

Definition at line 46 of file MultiThreadOperations.h.

virtual vigra_ext::ThreadManager::~ThreadManager  )  [inline, virtual]

Definition at line 51 of file MultiThreadOperations.h.

Member Function Documentation

ThreadManager& vigra_ext::ThreadManager::get  )  [inline, static]

Definition at line 54 of file MultiThreadOperations.h.

Referenced by main(), PreviewPanel::updatePreview(), and PreviewPanel::~PreviewPanel().

unsigned vigra_ext::ThreadManager::getNThreads  )  [inline]

Definition at line 62 of file MultiThreadOperations.h.

void vigra_ext::ThreadManager::setNThreads unsigned  n  )  [inline]

Definition at line 66 of file MultiThreadOperations.h.

Referenced by main(), and PreviewPanel::updatePreview().

Member Data Documentation

ThreadManager * vigra_ext::ThreadManager::m_instance = 0 [static, private]

Definition at line 30 of file MultiThreadOperations.cpp.

unsigned vigra_ext::ThreadManager::m_nThreads [private]

Definition at line 71 of file MultiThreadOperations.h.

The documentation for this class was generated from the following files:
Generated on Fri Sep 19 01:25:54 2014 for Hugintrunk by  doxygen