OpenCV  4.1.2-dev
Open Source Computer Vision
Public Member Functions | Protected Member Functions | Friends | List of all members
cv::TLSDataContainer Class Referenceabstract

#include <opencv2/core/utils/tls.hpp>

Inheritance diagram for cv::TLSDataContainer:
cv::TLSData< T > cv::TLSData< cv::instr::NodeDataTls > cv::TLSDataAccumulator< T > cv::TLSDataAccumulator< cv::instr::NodeDataTls >

Public Member Functions

void cleanup ()
 Release created TLS data container objects. It is similar to release() call, but it keeps TLS container valid. More...
 

Protected Member Functions

 TLSDataContainer ()
 
virtual ~TLSDataContainer ()
 
virtual void * createDataInstance () const =0
 
virtual void deleteDataInstance (void *pData) const =0
 
void detachData (std::vector< void *> &data)
 get TLS data and detach all data from threads (similar to cleanup() call) More...
 
void gatherData (std::vector< void *> &data) const
 
void * getData () const
 
void release ()
 

Friends

class cv::details::TlsStorage
 

Detailed Description

TLS container base implementation

Don't use directly.

See also
TLSData, TLSDataAccumulator templates

Constructor & Destructor Documentation

◆ TLSDataContainer()

cv::TLSDataContainer::TLSDataContainer ( )
protected

◆ ~TLSDataContainer()

virtual cv::TLSDataContainer::~TLSDataContainer ( )
protectedvirtual

Member Function Documentation

◆ cleanup()

void cv::TLSDataContainer::cleanup ( )

Release created TLS data container objects. It is similar to release() call, but it keeps TLS container valid.

◆ createDataInstance()

virtual void* cv::TLSDataContainer::createDataInstance ( ) const
protectedpure virtual

◆ deleteDataInstance()

virtual void cv::TLSDataContainer::deleteDataInstance ( void *  pData) const
protectedpure virtual

◆ detachData()

void cv::TLSDataContainer::detachData ( std::vector< void *> &  data)
protected

get TLS data and detach all data from threads (similar to cleanup() call)

◆ gatherData()

void cv::TLSDataContainer::gatherData ( std::vector< void *> &  data) const
protected

◆ getData()

void* cv::TLSDataContainer::getData ( ) const
protected

◆ release()

void cv::TLSDataContainer::release ( )
protected

Friends And Related Function Documentation

◆ cv::details::TlsStorage

friend class cv::details::TlsStorage
friend

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