00001 // -*- C++ -*- 00002 // 00003 // Security_Current.inl,v 1.3 2005/11/16 07:53:25 ossama Exp 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE size_t 00008 TAO_Security_Current::tss_slot (void) const 00009 { 00010 return this->tss_slot_; 00011 } 00012 00013 ACE_INLINE TAO::Security::Current_Impl * 00014 TAO_Security_Current::implementation (void) 00015 { 00016 if (this->orb_core_ == 0 && this->init () != 0) 00017 return 0; 00018 00019 TAO::Security::Current_Impl *impl = 00020 static_cast<TAO::Security::Current_Impl *> ( 00021 this->orb_core_->get_tss_resource (this->tss_slot_)); 00022 00023 return impl; 00024 } 00025 00026 TAO_END_VERSIONED_NAMESPACE_DECL