Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

SAPDB_Singleton.hpp File Reference


Detailed Description

Common singleton base class.

Author:
JoergM
After several bad problems with unwanted copy actions on singletons, this base class is introduced. It has protected copy constructor and assignment operator. Therefore with a singleton that is derived from this class, the compiler will detect all attempts to copy a singleton...

Definition in file SAPDB_Singleton.hpp.

#include "RunTime/Synchronisation/RTESync_Spinlock.hpp"
#include "SAPDBCommon/MemoryManagement/SAPDBMem_NewDestroy.hpp"

Go to the source code of this file.

Classes

class  SAPDB_Singleton
 Base class for singletons. More...
class  SAPDB_SingletonTemplate< Singleton >
 Alternative for class SAPDB_Singleton including Instance method. More...

Defines

#define SINGLETON_INIT_MEMBER(X)
 obsolete... to be removeed by ThomasA ;-)


Generated by  Doxygen 1.6.0   Back to index