Open CASCADE Technology 7.8.2.dev
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.
 
const int & Begin () const
 Returns const link on the first element.
 
const int & End () const
 Returns const link on the last element.
 
int It () const
 Returns first non processed element or end. Thread-safe method.
 

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: