ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

singleton.h File Reference

#include "common/noncopyable.h"
Include dependency graph for singleton.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Common::Singleton< T >
 Generic template base class for implementing the singleton design pattern. More...

Namespaces

namespace  Common
 

Internal interface to the QuickTime audio decoder.


Defines

#define DECLARE_SINGLETON(T)   template<> T *Singleton<T>::_singleton = 0
 Note that you need to use this macro from the Common namespace.

Define Documentation

#define DECLARE_SINGLETON (   T  )     template<> T *Singleton<T>::_singleton = 0

Note that you need to use this macro from the Common namespace.

This is because C++ requires initial explicit specialization to be placed in the same namespace as the template.

Definition at line 101 of file singleton.h.



Generated on Sat Feb 16 2019 05:02:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge