OpenCV  4.5.2
Open Source Computer Vision
Classes | Public Member Functions | Protected Attributes | List of all members
cv::parallel::tbb::ParallelForBackend Class Reference

#include <opencv2/core/parallel/backend/parallel_for.tbb.hpp>

Inheritance diagram for cv::parallel::tbb::ParallelForBackend:
cv::parallel::ParallelForAPI

Classes

class  CallbackProxy
 

Public Member Functions

 ParallelForBackend ()
 
virtual ~ParallelForBackend ()
 
const char * getName () const CV_OVERRIDE
 
virtual int getNumThreads () const CV_OVERRIDE
 
virtual int getThreadNum () const CV_OVERRIDE
 
virtual void parallel_for (int tasks, FN_parallel_for_body_cb_t body_callback, void *callback_data) CV_OVERRIDE
 
virtual int setNumThreads (int nThreads) CV_OVERRIDE
 
- Public Member Functions inherited from cv::parallel::ParallelForAPI
virtual ~ParallelForAPI ()
 

Protected Attributes

int numThreads
 
int numThreadsMax
 

Additional Inherited Members

- Public Types inherited from cv::parallel::ParallelForAPI
typedef void(* FN_parallel_for_body_cb_t) (int start, int end, void *data)
 

Detailed Description

OpenMP parallel_for API implementation

See also
setParallelForBackend

Constructor & Destructor Documentation

cv::parallel::tbb::ParallelForBackend::ParallelForBackend ( )
inline
virtual cv::parallel::tbb::ParallelForBackend::~ParallelForBackend ( )
inlinevirtual

Member Function Documentation

const char* cv::parallel::tbb::ParallelForBackend::getName ( ) const
inlinevirtual
virtual int cv::parallel::tbb::ParallelForBackend::getNumThreads ( ) const
inlinevirtual
virtual int cv::parallel::tbb::ParallelForBackend::getThreadNum ( ) const
inlinevirtual
virtual void cv::parallel::tbb::ParallelForBackend::parallel_for ( int  tasks,
FN_parallel_for_body_cb_t  body_callback,
void *  callback_data 
)
inlinevirtual
virtual int cv::parallel::tbb::ParallelForBackend::setNumThreads ( int  nThreads)
inlinevirtual

Member Data Documentation

int cv::parallel::tbb::ParallelForBackend::numThreads
protected
int cv::parallel::tbb::ParallelForBackend::numThreadsMax
protected

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