|
roviz
0.7
Code Documentation of roviz
|
The Singleton Template figures as baseclass for all Singletons. It provides a instance() functions which returns the only instance. Template parameter T: Class that you implement (Curiously recurring template pattern) More...
#include <singleton.h>


Static Public Member Functions | |
| static T * | instance () |
| Returns the current instance of the singleton. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractSingleton | |
| virtual bool | postInit ()=0 |
| postInit will be called after all components and singletons have been constructed/initialized More... | |
| virtual bool | preDestroy ()=0 |
| preDestroy will be called before any of the components and singletons will be destructed/deinitailized More... | |
The Singleton Template figures as baseclass for all Singletons. It provides a instance() functions which returns the only instance. Template parameter T: Class that you implement (Curiously recurring template pattern)
|
inlinestatic |
Returns the current instance of the singleton.
1.8.13