Open CASCADE Technology  7.4.0
Public Member Functions

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 >:
Inheritance graph
[legend]

Public Member Functions

 Job (const FunctorT &thePerformer, JobRange &theRange)
 Constructor. More...
 
virtual void Perform (int theThreadIndex) override
 Method is executed in the context of thread. More...
 

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: