Open CASCADE Technology 7.8.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.
 
const intBegin () const
 Returns const link on the first element.
 
const intEnd () 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: