summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Security/Security_Current.inl
blob: c194ecf4d1a5433d13bc4ed1853312065d44d53e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// -*- C++ -*-
//
// $Id$

ACE_INLINE size_t
TAO_Security_Current::tss_slot (void) const
{
  return this->tss_slot_;
}

ACE_INLINE TAO::Security::Current_Impl *
TAO_Security_Current::implementation (void)
{
  if (this->orb_core_ == 0 && this->init () != 0)
    return 0;

  TAO::Security::Current_Impl *impl =
    static_cast<TAO::Security::Current_Impl *> (
      this->orb_core_->get_tss_resource (this->tss_slot_));

  return impl;
}