2 #include "tao/orbconf.h"
4 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
6 #include "tao/PortableServer/ThreadPolicy.h"
7 #include "tao/PortableServer/PortableServer.h"
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
13 namespace Portable_Server
15 ThreadPolicy::ThreadPolicy (::PortableServer::ThreadPolicyValue value
)
23 ThreadPolicy
*copy
= 0;
24 ACE_NEW_THROW_EX (copy
,
25 ThreadPolicy (this->value_
),
32 ThreadPolicy::destroy ()
36 ::PortableServer::ThreadPolicyValue
37 ThreadPolicy::value ()
43 ThreadPolicy::policy_type ()
45 return ::PortableServer::THREAD_POLICY_ID
;
48 TAO_Cached_Policy_Type
49 ThreadPolicy::_tao_cached_type () const
51 return TAO_CACHED_POLICY_THREAD
;
55 ThreadPolicy::_tao_scope () const
57 return TAO_POLICY_POA_SCOPE
;
62 TAO_END_VERSIONED_NAMESPACE_DECL
64 #endif /* TAO_HAS_MINIMUM_POA == 0 */