![]() |
MDSTk Libraries
1.1.0
Medical Data Segmentation Toolkit
|
Concrete singleton destroyer which is used to delete a singleton instance. More...
#include <mdsSingleton.h>

Public Types | |
| typedef T * | tPointer |
| Pointer type. | |
Public Member Functions | |
| CSingletonDestroyer (tPointer pInstance, int iLongevity, tVoidFunction pFunction) | |
| Default constructor. | |
| virtual | ~CSingletonDestroyer () |
| Virtual destructor. | |
Static Public Member Functions | |
| static bool | compare (const CSingletonLifetime *lhs, const CSingletonLifetime *rhs) |
| Compares the longevity. | |
Concrete singleton destroyer which is used to delete a singleton instance.
| typedef T* mds::base::CSingletonDestroyer< T >::tPointer |
Pointer type.
| mds::base::CSingletonDestroyer< T >::CSingletonDestroyer | ( | tPointer | pInstance, |
| int | iLongevity, | ||
| tVoidFunction | pFunction | ||
| ) |
Default constructor.
| virtual mds::base::CSingletonDestroyer< T >::~CSingletonDestroyer | ( | ) | [virtual] |
Virtual destructor.
| static bool mds::base::CSingletonLifetime::compare | ( | const CSingletonLifetime * | lhs, |
| const CSingletonLifetime * | rhs | ||
| ) | [static, inherited] |
Compares the longevity.
1.7.6.1