Loading...
Searching...
No Matches
Singleton.h
Go to the documentation of this file.
#pragma once
namespace globjects
{
template<class T>
class Singleton
{
public:
static T * instance();
protected:
explicit Singleton();
virtual ~Singleton();
protected:
static T * s_instance;
};
} // namespace globjects
#include <globjects/base/Singleton.inl>
globjects::Singleton
Definition Singleton.h:11
globjects::Singleton::s_instance
static T * s_instance
Definition Singleton.h:20
globjects::Singleton::~Singleton
virtual ~Singleton()
globjects::Singleton::Singleton
Singleton()
globjects::Singleton::instance
static T * instance()
globjects
Contains all the classes that wrap OpenGL functionality.