Searched defs:Singleton (Results 1 - 3 of 3) sorted by relevance

/system/chre/util/include/chre/util/
H A Dsingleton.h27 * The Singleton template provides static storage for one instance of the
31 * Caution is recommended when using this class to avoid Singleton hell. In
32 * many cases there is a better solution than using a Singleton in your design.
37 class Singleton : public NonCopyable { class in namespace:chre
/system/core/include/utils/
H A DSingleton.h32 // Singleton<TYPE> may be used in multiple libraries, only one of which should
35 // instantiation of variable 'android::Singleton<TYPE>::sLock' required here,
48 class ANDROID_API Singleton class in namespace:android
67 ~Singleton() { }
68 Singleton() { } function in class:android::Singleton
71 Singleton(const Singleton&);
72 Singleton& operator = (const Singleton&);
83 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'
[all...]
/system/core/libutils/include/utils/
H A DSingleton.h32 // Singleton<TYPE> may be used in multiple libraries, only one of which should
35 // instantiation of variable 'android::Singleton<TYPE>::sLock' required here,
48 class ANDROID_API Singleton class in namespace:android
67 ~Singleton() { }
68 Singleton() { } function in class:android::Singleton
71 Singleton(const Singleton&);
72 Singleton& operator = (const Singleton&);
83 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'
[all...]

Completed in 86 milliseconds