|  | 
Singleton template class implementing a killable singleton design. This implementation is not thread safe.
Example of use to design an Example class as a killable singleton
#include <utils/KillableSingleton.hpp>
| Static Public Member Functions | |
| static T * | instance () | 
| static void | kill () | 
| Protected Member Functions | |
| KillableSingleton ()=default | |
| ~KillableSingleton () | |
| Static Protected Attributes | |
| static T * | mp_Instance | 
| 
 | protecteddefault | 
| 
 | inlineprotected | 
| 
 | inlinestatic | 
Returns a pointer to the singleton object. Instantiates the class if it not has not been instantiated before or it has been killed before.
| 
 | inlinestatic | 
Kills the singleton class
| 
 | staticprotected | 
 1.8.13
 1.8.13