#include <SingletonT.hh>
Static Public Member Functions | |
| static T & | Instance () |
| Singleton access function. | |
Encapsulates an arbitrary class and enforces its uniqueness.
| static T& 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().