template class axl::sl::DestructSingleton

#include <axl_sl_Singleton.h>

template <class T>
class DestructSingleton:
    public axl::rc::RefCount,
    public axl::g::Finalizer
{
public:
    // fields

    T* m_p;

    // methods

    virtual
    void
    finalize();
};

Inherited Members

public:
    // methods

    void
    prime(
        RefCount* parent,
        uint_t flags = 0
        );

    size_t
    getRefCount();

    size_t
    getWeakRefCount();

    uint_t
    getRefCountFlags();

    size_t
    addRef();

    size_t
    release();

    size_t
    addWeakRef();

    size_t
    weakRelease();

    size_t
    addRefByWeakPtr();

    virtual
    void
    finalize() = 0;