OpenCV453
|
TLS data accumulator with gathering methods [詳解]
#include <tls.hpp>
cv::TLSData< T >を継承しています。
公開メンバ関数 | |
void | gather (std::vector< T * > &data) const |
Get data from all threads [詳解] | |
std::vector< T * > & | detachData () |
Get and detach data from all threads [詳解] | |
void | cleanupDetachedData () |
Release associated thread data returned by detachData() call | |
void | cleanup () |
Release associated thread data | |
void | release () |
Release associated thread data and free TLS key | |
![]() | |
T * | get () const |
Get data associated with key | |
T & | getRef () const |
Get data associated with key | |
void | cleanup () |
Release associated thread data | |
限定公開メンバ関数 | |
void | _cleanupDetachedData () |
void | _cleanupTerminatedData () |
virtual void * | createDataInstance () const CV_OVERRIDE |
Wrapper to allocate data by template [詳解] | |
virtual void | deleteDataInstance (void *pData) const CV_OVERRIDE |
Wrapper to release data by template [詳解] | |
![]() | |
void | gatherData (std::vector< void * > &data) const |
void | detachData (std::vector< void * > &data) |
get TLS data and detach all data from threads (similar to cleanup() call) | |
void * | getData () const |
void | release () |
void | cleanup () |
Release created TLS data container objects. It is similar to release() call, but it keeps TLS container valid. | |
TLS data accumulator with gathering methods
|
inlineprotectedvirtual |
Wrapper to allocate data by template
cv::TLSData< T >を再実装しています。
|
inlineprotectedvirtual |
Wrapper to release data by template
cv::TLSData< T >を再実装しています。
|
inline |
Get and detach data from all threads
Call cleanupDetachedData() when returned vector is not needed anymore.
|
inline |
Get data from all threads
Lifetime of vector data is valid until next detachData()/cleanup()/release() calls
[out] | data | result buffer (should be empty) |