SingletonTemplate< classType > Class Template Reference
#include <singleton_template.hpp>
Collaboration diagram for SingletonTemplate< classType >:

Static Public Member Functions | |
static classType & | getInstance () |
Public member to get instance of this SINGLETON class. More... | |
Protected Member Functions | |
SingletonTemplate () | |
Static Protected Attributes | |
static SingletonTemplate * | mpSingletonInstance = 0 |
Detailed Description
template<typename classType>
class SingletonTemplate< classType >
This Singleton template can be inherited and the parent class can make its constructor private with this class as a friend to inherit this Singleton pattern.
Constructor & Destructor Documentation
template<typename classType>
|
inlineprotected |
Protected Constructor for this Singleton Class so only the class inheriting this template class can make this part of itself
Member Function Documentation
template<typename classType >
|
static |
Public member to get instance of this SINGLETON class.
Field Documentation
template<typename classType>
|
staticprotected |
The documentation for this class was generated from the following file:
- /var/www/html/SJSU-DEV-Linux/firmware/default/lib/L3_Utils/singleton_template.hpp