#include <ThreadPolicy.h>
Inheritance diagram for TAO::Portable_Server::ThreadPolicy:
Public Member Functions | |
ThreadPolicy (::PortableServer::ThreadPolicyValue value) | |
CORBA::Policy_ptr | copy (void) |
void | destroy (void) |
::PortableServer::ThreadPolicyValue | value (void) |
CORBA::PolicyType | policy_type (void) |
TAO_Cached_Policy_Type | _tao_cached_type (void) const |
Return the cached policy type for this policy. | |
TAO_Policy_Scope | _tao_scope (void) const |
Returns the scope at which this policy can be applied. See orbconf.h. | |
Private Attributes | |
::PortableServer::ThreadPolicyValue | value_ |
Definition at line 41 of file ThreadPolicy.h.
TAO::Portable_Server::ThreadPolicy::ThreadPolicy | ( | ::PortableServer::ThreadPolicyValue | value | ) |
TAO_Cached_Policy_Type TAO::Portable_Server::ThreadPolicy::_tao_cached_type | ( | void | ) | const |
Return the cached policy type for this policy.
Definition at line 52 of file ThreadPolicy.cpp.
References TAO_CACHED_POLICY_THREAD.
00053 { 00054 return TAO_CACHED_POLICY_THREAD; 00055 }
TAO_Policy_Scope TAO::Portable_Server::ThreadPolicy::_tao_scope | ( | void | ) | const |
Returns the scope at which this policy can be applied. See orbconf.h.
Definition at line 58 of file ThreadPolicy.cpp.
References TAO_POLICY_POA_SCOPE.
00059 { 00060 return TAO_POLICY_POA_SCOPE; 00061 }
CORBA::Policy_ptr TAO::Portable_Server::ThreadPolicy::copy | ( | void | ) |
Definition at line 24 of file ThreadPolicy.cpp.
References ACE_NEW_THROW_EX.
00025 { 00026 ThreadPolicy *copy = 0; 00027 ACE_NEW_THROW_EX (copy, 00028 ThreadPolicy (this->value_), 00029 CORBA::NO_MEMORY ()); 00030 00031 return copy; 00032 }
void TAO::Portable_Server::ThreadPolicy::destroy | ( | void | ) |
CORBA::PolicyType TAO::Portable_Server::ThreadPolicy::policy_type | ( | void | ) |
PortableServer::ThreadPolicyValue TAO::Portable_Server::ThreadPolicy::value | ( | void | ) |
Definition at line 40 of file ThreadPolicy.cpp.
References value_.
00041 { 00042 return value_; 00043 }
::PortableServer::ThreadPolicyValue TAO::Portable_Server::ThreadPolicy::value_ [private] |