OregonCore  revision 3611e8a-git
Your Favourite TBC server
Singleton.h File Reference
#include "CreationPolicy.h"
#include "ThreadingModel.h"
#include "ObjectLifeTime.h"

Go to the source code of this file.

Classes

class  Oregon::Singleton< T, ThreadingModel, CreatePolicy, LifeTimePolicy >
 

Namespaces

 Oregon
 

Macros

#define INSTANTIATE_SINGLETON_1(TYPE)
 
#define INSTANTIATE_SINGLETON_2(TYPE, THREADINGMODEL)
 
#define INSTANTIATE_SINGLETON_3(TYPE, THREADINGMODEL, CREATIONPOLICY)
 
#define INSTANTIATE_SINGLETON_4(TYPE, THREADINGMODEL, CREATIONPOLICY, OBJECTLIFETIME)
 

Macro Definition Documentation

#define INSTANTIATE_SINGLETON_1 (   TYPE)
Value:
namespace Oregon \
{ \
template class Singleton<TYPE, Oregon::SingleThreaded<TYPE>, Oregon::OperatorNew<TYPE>, Oregon::ObjectLifeTime<TYPE> >; \
}

Definition at line 107 of file Singleton.h.

#define INSTANTIATE_SINGLETON_2 (   TYPE,
  THREADINGMODEL 
)
Value:
namespace Oregon \
{ \
template class Singleton<TYPE, THREADINGMODEL, Oregon::OperatorNew<TYPE>, Oregon::ObjectLifeTime<TYPE> >; \
}

Definition at line 113 of file Singleton.h.

#define INSTANTIATE_SINGLETON_3 (   TYPE,
  THREADINGMODEL,
  CREATIONPOLICY 
)
Value:
namespace Oregon \
{ \
template class Singleton<TYPE, THREADINGMODEL, CREATIONPOLICY, Oregon::ObjectLifeTime<TYPE> >; \
}

Definition at line 119 of file Singleton.h.

#define INSTANTIATE_SINGLETON_4 (   TYPE,
  THREADINGMODEL,
  CREATIONPOLICY,
  OBJECTLIFETIME 
)
Value:
namespace Oregon \
{ \
template class Singleton<TYPE, THREADINGMODEL, CREATIONPOLICY, OBJECTLIFETIME >; \
}

Definition at line 125 of file Singleton.h.