Open CASCADE Technology 7.8.2.dev
OSD_ThreadPool::Job< FunctorT > Class Template Reference

Auxiliary wrapper class for thread function. More...

#include <OSD_ThreadPool.hxx>

Inheritance diagram for OSD_ThreadPool::Job< FunctorT >:

Public Member Functions

 Job (const FunctorT &thePerformer, JobRange &theRange)
 Constructor.
 
virtual void Perform (int theThreadIndex) override
 Method is executed in the context of thread.
 
- Public Member Functions inherited from OSD_ThreadPool::JobInterface

Detailed Description

template<typename FunctorT>
class OSD_ThreadPool::Job< FunctorT >

Auxiliary wrapper class for thread function.

Constructor & Destructor Documentation

◆ Job()

template<typename FunctorT >
OSD_ThreadPool::Job< FunctorT >::Job ( const FunctorT & thePerformer,
JobRange & theRange )
inline

Constructor.

Member Function Documentation

◆ Perform()

template<typename FunctorT >
virtual void OSD_ThreadPool::Job< FunctorT >::Perform ( int theThreadIndex)
inlineoverridevirtual

Method is executed in the context of thread.

Implements OSD_ThreadPool::JobInterface.


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