List of all members
Celartem::ThreadSafeSingletonReferable< T > Class Template Reference

#include <cel_singleton.h>

Detailed Description

template<class T>
class Celartem::ThreadSafeSingletonReferable< T >

    This class provides a way to initialize a singleton instance,
    which is derived from \ref Referable, in thread-safe manner.\n
    A class, which provides a singleton instance, should inherit this
    class as a base class like the following sample:
class SingletonSample : public ThreadSafeSingletonReferable
// the call is now fully thread-safe
AutoPtr<SingletonSample> singleton = SingletonSample::getSingletonInstance();
See Also

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:06.
Cuminas Logo