OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::Singleton< T > Class Template Reference

Template class for creating single-instance global classes. More...

#include <OgreSingleton.h>

Public Member Functions

 Singleton (void)
 
 ~Singleton (void)
 

Static Public Member Functions

static T & getSingleton (void)
 
static T * getSingletonPtr (void)
 

Detailed Description

template<typename T>
class Ogre::Singleton< T >

Template class for creating single-instance global classes.

Constructor & Destructor Documentation

◆ Singleton()

template<typename T >
Ogre::Singleton< T >::Singleton ( void  )
inline

◆ ~Singleton()

template<typename T >
Ogre::Singleton< T >::~Singleton ( void  )
inline

Member Function Documentation

◆ getSingleton()

template<typename T >
static T & Ogre::Singleton< T >::getSingleton ( void  )
inlinestatic

◆ getSingletonPtr()

template<typename T >
static T * Ogre::Singleton< T >::getSingletonPtr ( void  )
inlinestatic

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