TSS_T.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // TSS_T.inl,v 4.3 2006/05/07 21:13:13 jeliazkov_i Exp
00004 
00005 #if !(defined (ACE_HAS_THREADS) && (defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || defined (ACE_HAS_TSS_EMULATION)))
00006 
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008 
00009 template <class TYPE> ACE_INLINE
00010 ACE_TSS<TYPE>::ACE_TSS (TYPE *type)
00011   : type_ (type)
00012 {
00013 }
00014 
00015 template <class TYPE> ACE_INLINE int
00016 ACE_TSS<TYPE>::ts_init (void) 
00017 {
00018   return 0;
00019 }
00020 
00021 template <class TYPE> ACE_INLINE TYPE *
00022 ACE_TSS<TYPE>::ts_object (void) const
00023 {
00024   return this->type_;
00025 }
00026 
00027 template <class TYPE> ACE_INLINE TYPE *
00028 ACE_TSS<TYPE>::ts_object (TYPE *type)
00029 {
00030   this->type_ = type;
00031   return this->type_;
00032 }
00033 
00034 template <class TYPE> ACE_INLINE TYPE *
00035 ACE_TSS<TYPE>::ts_get (void) const
00036 {
00037   return this->type_;
00038 }
00039 
00040 ACE_END_VERSIONED_NAMESPACE_DECL
00041 
00042 #endif /* ! (defined (ACE_HAS_THREADS) && (defined (ACE_HAS_THREAD_SPECIFIC_STORAGE) || defined (ACE_HAS_TSS_EMULATION))) */

Generated on Thu Nov 9 09:42:08 2006 for ACE by doxygen 1.3.6