template class cv::TLSData

#include <utility.hpp>

template <typename T>
class TLSData: protected cv::TLSDataContainer
{
public:
    // methods

    void
    cleanup();

    void
    gather(std::vector<T*>& data) const;

    T*
    get() const;
};

Inherited Members

public:
    // fields

    int key_;

    // methods

    void
    cleanup();

    virtual
    void*
    createDataInstance() const = 0;

    virtual
    void
    deleteDataInstance(void* pData) const = 0;

    void*
    getData() const;

protected:
    // methods

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

    void
    release();