Developer Documentation

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
ACG::SceneGraph::OpenMesh::SingletonT< T > Class Template Reference

## Static Public Member Functions
static T & | Instance ()

## Private Member Functions
| SingletonT (const SingletonT &)
SingletonT & | operator= (const SingletonT &)

## Static Private Member Functions
static void | Create ()
static void | OnDeadReference ()

## Static Private Attributes
static T * | pInstance__
static bool | destroyed__

## Detailed Description

### template<typename T>
class ACG::SceneGraph::OpenMesh::SingletonT< T >

A simple singleton template. Encapsulates an arbitrary class and enforces its uniqueness.

Definition at line 84 of file MeshNode2T.cc.

## Member Function Documentation

template<typename T >

static T& ACG::SceneGraph::OpenMesh::SingletonT< T >::Instance | ( |  | ) |
| inline static

Singleton access function. Use this function to obtain a reference to the instance of the encapsulated class. Note that this instance is unique and created on the first call to Instance().

Definition at line 94 of file MeshNode2T.cc.

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

- ACG/Scenegraph/MeshNode2T.cc