#include <Singleton.h>
Public Methods | |
SingletonDestroyer (DOOMED *=0) throw () | |
~SingletonDestroyer () throw () | |
void | setDoomed (DOOMED *) |
This template class has one job and that is to kill a Singleton of of type DOOMED. This class is used internally by the template Singleton class an is not needed, in general, by client code.
|
Create a SingletonDestroyer that will delete a particular object
|
|
Destroy the SingletonDestroyer and its target (DOOMED*) |
|
Change the target object that will be destroyed
|