Class cv::TLSData#

Simple TLS data class. View details

Collaboration diagram for cv::TLSData:

Public Member Functions#

Public Member Functions inherited from cv::TLSDataContainer

Return

Name

Description

void

cleanup()

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

Additional Inherited Members#

Protected Member Functions inherited from cv::TLSDataContainer

Return

Name

Description

TLSDataContainer()

~TLSDataContainer()

void *

createDataInstance()

void

deleteDataInstance(void * pData)

void

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

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

void

gatherData(std::vector< void * > & data)

void *

getData()

void

release()

Friends inherited from cv::TLSDataContainer

Return

Name

Description

class

cv::details::TlsStorage

Detailed Description#

Simple TLS data class.

See also

TLSDataAccumulator

Constructor & Destructor Documentation#

TLSData()#

cv::TLSData::TLSData()

~TLSData()#

cv::TLSData::~TLSData()

Here is the call graph for this function:

cv::TLSData::~TLSData Node1 cv::TLSData::~TLSData Node2 cv::TLSDataContainer ::release Node1->Node2

cv::TLSData::~TLSData Node1 cv::TLSData::~TLSData Node2 cv::TLSDataContainer ::release Node1->Node2

Member Function Documentation#

cleanup()#

void cv::TLSData::cleanup()

Release associated thread data.

Here is the call graph for this function:

cv::TLSData::cleanup Node1 cv::TLSData::cleanup Node2 cv::TLSDataContainer ::cleanup Node1->Node2

cv::TLSData::cleanup Node1 cv::TLSData::cleanup Node2 cv::TLSDataContainer ::cleanup Node1->Node2

get()#

T * cv::TLSData::get()

Get data associated with key.

Here is the call graph for this function:

cv::TLSData::get Node1 cv::TLSData::get Node2 cv::TLSDataContainer ::getData Node1->Node2

cv::TLSData::get Node1 cv::TLSData::get Node2 cv::TLSDataContainer ::getData Node1->Node2

getRef()#

T & cv::TLSData::getRef()

Get data associated with key.

Here is the call graph for this function:

cv::TLSData::getRef Node1 cv::TLSData::getRef Node2 cv::TLSDataContainer ::getData Node1->Node2

cv::TLSData::getRef Node1 cv::TLSData::getRef Node2 cv::TLSDataContainer ::getData Node1->Node2

createDataInstance()#

void * cv::TLSData::createDataInstance()

Wrapper to allocate data by template.

deleteDataInstance()#

void cv::TLSData::deleteDataInstance(void * pData)

Wrapper to release data by template.

Source file#

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