XX CMake Package
Loading...
Searching...
No Matches
XXSingleton.h
Go to the documentation of this file.
1
#ifndef XXSingletonH
2
#define XXSingletonH
3
4
namespace
XX
5
{
8
9
template
<
typename
InstanceClass>
10
class
Singleton
11
{
12
public
:
13
Singleton
();
14
virtual
~Singleton
();
15
16
public
:
17
static
InstanceClass*
instance
();
18
19
private
:
20
static
InstanceClass* me;
21
};
22
}
// namespace XX
23
24
#ifndef XXSingletonHPP
25
#include "XXSingleton.hpp"
26
#endif
// NOT XXSingletonHPP
27
28
#endif
// NOT XXSingletonH
XX::Singleton::instance
static InstanceClass * instance()
XX::Singleton::Singleton
Singleton()
XX::Singleton::~Singleton
virtual ~Singleton()
XX
Definition
XXPopulatedAbstract.h:11
XXCore
XXSingleton.h
Generated by
1.16.1