IMP  2.1.1
The Integrative Modeling Platform
IMP::base::SetNumberOfThreads Class Reference

#include <IMP/base/threads.h>

+ Inheritance diagram for IMP::base::SetNumberOfThreads:

Public Member Functions

 SetNumberOfThreads (unsigned int n)
 
void reset ()
 
void set (unsigned int n)
 
void show (std::ostream &out=std::cout) const
 

Detailed Description

Temporarily set the number of threads

Definition at line 31 of file base/threads.h.

Constructor & Destructor Documentation

IMP::base::SetNumberOfThreads::SetNumberOfThreads ( unsigned int  n)
explicit

explicit constructor that sets the properties of SetNumberOfThreads

Definition at line 43 of file base/threads.h.

Member Function Documentation

void IMP::base::SetNumberOfThreads::reset ( )

resets the properties previously set for this class

Definition at line 43 of file base/threads.h.

void IMP::base::SetNumberOfThreads::set ( unsigned int  n)

sets the properties of the class to new ones

Definition at line 43 of file base/threads.h.


The documentation for this class was generated from the following file: