#include <ThreadPolicy.h>


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 | ) |
Definition at line 18 of file ThreadPolicy.cpp.
: value_ (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.
{
return TAO_CACHED_POLICY_THREAD;
}
| 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.
{
return TAO_POLICY_POA_SCOPE;
}
| CORBA::Policy_ptr TAO::Portable_Server::ThreadPolicy::copy | ( | void | ) |
Definition at line 24 of file ThreadPolicy.cpp.
{
ThreadPolicy *copy = 0;
ACE_NEW_THROW_EX (copy,
ThreadPolicy (this->value_),
CORBA::NO_MEMORY ());
return copy;
}
| void TAO::Portable_Server::ThreadPolicy::destroy | ( | void | ) |
Definition at line 35 of file ThreadPolicy.cpp.
{
}
| CORBA::PolicyType TAO::Portable_Server::ThreadPolicy::policy_type | ( | void | ) |
Definition at line 46 of file ThreadPolicy.cpp.
{
return ::PortableServer::THREAD_POLICY_ID;
}
| PortableServer::ThreadPolicyValue TAO::Portable_Server::ThreadPolicy::value | ( | void | ) |
Definition at line 40 of file ThreadPolicy.cpp.
{
return value_;
}
::PortableServer::ThreadPolicyValue TAO::Portable_Server::ThreadPolicy::value_ [private] |
Definition at line 63 of file ThreadPolicy.h.
1.7.0