OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    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.
    void Perform (int theThreadIndex) override
     Method is executed in the context of thread.

    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>
    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: