| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions | Protected Member Functions
TeSingleton< T > Class Template Reference

Provides a template support for the "Singleton" pattern. More...

`#include <TeSingleton.h>`

List of all members.

## Public Member Functions

virtual | ~TeSingleton ()

## Static Public Member Functions

static T & | instance ()

## Protected Member Functions

| TeSingleton ()

## Detailed Description

### template<class T>
class TeSingleton< T >

Provides a template support for the "Singleton" pattern.

Note:
  See "Design Patterns" book, page 127

## Constructor & Destructor Documentation

template<class T>

virtual TeSingleton< T >::~TeSingleton | ( |  | ) | `[inline, virtual]`

template<class T>

TeSingleton< T >::TeSingleton | ( |  | ) | `[inline, protected]`

## Member Function Documentation

template<class T>

static T& TeSingleton< T >::instance | ( |  | ) | `[inline, static]`

The documentation for this class was generated from the following file:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/kernel/TeSingleton.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines