MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Typedefs | Functions | Variables
mdsSingleton.hxx File Reference

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
. More...

Typedefs

typedef std::list
< CSingletonLifetime * > 
tSingletonTracker
 Vector of all created singleton instances.

Functions

void atExitFunction ()
 The number of elements in the array.

Variables

tSingletonTrackerpSingletonTracker
 Extern vector of all created singleton instances.

Detailed Description

Medical Data Segmentation Toolkit (MDSTk)
Copyright (c) 2003-2005 by Michal Spanel
.

Author: Michal Spanel, spanel@fit.vutbr.cz
File: mdsSingleton.hxx
Section: libBase
Date: 2004/10/17

Id:
mdsSingleton.hxx 1440 2009-04-17 12:15:45Z spanel

This code is based on The Loki Library which accompanies the famous book: Alexandrescu, Andrei. "Modern C++ Design: Generic Programming and Design Patterns Applied". Copyright (c) 2001. Addison-Wesley.

The Loki Library Copyright (c) 2001 by Andrei Alexandrescu Permission to use, copy, modify, distribute and sell this software for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.

Description:


Typedef Documentation

typedef std::list<CSingletonLifetime *> tSingletonTracker

Vector of all created singleton instances.


Function Documentation

void atExitFunction ( )

The number of elements in the array.

Ensures proper destruction of objects with longevity


Variable Documentation

Extern vector of all created singleton instances.