Open CASCADE Technology  7.5.0
Public Member Functions
OSD_ThreadPool::JobRange Class Reference

Auxiliary class which ensures exclusive access to iterators of processed data pool. More...

#include <OSD_ThreadPool.hxx>

Public Member Functions

 JobRange (const int &theBegin, const int &theEnd)
 Constructor. More...
 
const int & Begin () const
 Returns const link on the first element. More...
 
const int & End () const
 Returns const link on the last element. More...
 
int It () const
 Returns first non processed element or end. Thread-safe method. More...
 

Detailed Description

Auxiliary class which ensures exclusive access to iterators of processed data pool.

Constructor & Destructor Documentation

◆ JobRange()

OSD_ThreadPool::JobRange::JobRange ( const int &  theBegin,
const int &  theEnd 
)
inline

Constructor.

Member Function Documentation

◆ Begin()

const int& OSD_ThreadPool::JobRange::Begin ( ) const
inline

Returns const link on the first element.

◆ End()

const int& OSD_ThreadPool::JobRange::End ( ) const
inline

Returns const link on the last element.

◆ It()

int OSD_ThreadPool::JobRange::It ( ) const
inline

Returns first non processed element or end. Thread-safe method.


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