Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

SingletonFactory< T > Class Template Reference

A factory for singleton classes which return the instance via getInstance(). More...

#include <Factories.h>

Inheritance diagram for SingletonFactory< T >:

Detailed Description

template<class T>
class SingletonFactory< T >

A factory for singleton classes which return the instance via getInstance().

Definition at line 83 of file Factories.h.

List of all members.

Public Member Functions

virtual T * operator() ()
 returns the singleton instance, factory-style

Member Function Documentation

template<class T >
virtual T* SingletonFactory< T >::operator() (  )  [virtual]

returns the singleton instance, factory-style

Implements Factory0Arg< T >.

Definition at line 86 of file Factories.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:16 2016 by Doxygen 1.6.3