artefaktur
software engineer &        architecture

 
 
 
 

class static_specific

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::sys::static_specific< T > Class Template Reference

#include <core_syslocal.h>

List of all members.


Detailed Description

template<class T>
class acdk::lang::sys::static_specific< T >

the static_specific represents a thread local pointer to T T must have a public constructor with no arguments if called in main and ACDK_SUPPORT_STATIC_THREADLOCAL is defined it uses a the fast implementation of static TLS Otherwise it uses slower specific<T> implementation if called outside main it uses just a normal instance


Public Member Functions

 static_specific (bool libLinked, T **staticSpecific)
T & get ()

Private Attributes

bool _libLinked
T * _outMainPtr
T ** _staticSpecific
specific< T > _dynSpecific

Constructor & Destructor Documentation

template<class T>
acdk::lang::sys::static_specific< T >::static_specific bool  libLinked,
T **  staticSpecific
[inline]
 


Member Function Documentation

template<class T>
T& acdk::lang::sys::static_specific< T >::get  )  [inline]
 


Member Data Documentation

template<class T>
specific<T> acdk::lang::sys::static_specific< T >::_dynSpecific [private]
 

template<class T>
bool acdk::lang::sys::static_specific< T >::_libLinked [private]
 

template<class T>
T* acdk::lang::sys::static_specific< T >::_outMainPtr [private]
 

template<class T>
T** acdk::lang::sys::static_specific< T >::_staticSpecific [private]
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer