#include <LifespanPolicy.h>
Inheritance diagram for TAO::Portable_Server::LifespanPolicy:
Public Member Functions | |
LifespanPolicy (::PortableServer::LifespanPolicyValue value) | |
CORBA::Policy_ptr | copy (void) |
void | destroy (void) |
::PortableServer::LifespanPolicyValue | value (void) |
CORBA::PolicyType | policy_type (void) |
virtual TAO_Cached_Policy_Type | _tao_cached_type (void) const |
Return the cached policy type for this policy. | |
virtual TAO_Policy_Scope | _tao_scope (void) const |
Returns the scope at which this policy can be applied. See orbconf.h. | |
Private Attributes | |
::PortableServer::LifespanPolicyValue | value_ |
Definition at line 41 of file LifespanPolicy.h.
TAO::Portable_Server::LifespanPolicy::LifespanPolicy | ( | ::PortableServer::LifespanPolicyValue | value | ) |
TAO_Cached_Policy_Type TAO::Portable_Server::LifespanPolicy::_tao_cached_type | ( | void | ) | const [virtual] |
Return the cached policy type for this policy.
Definition at line 53 of file LifespanPolicy.cpp.
References TAO_CACHED_POLICY_LIFESPAN.
00054 { 00055 return TAO_CACHED_POLICY_LIFESPAN; 00056 }
TAO_Policy_Scope TAO::Portable_Server::LifespanPolicy::_tao_scope | ( | void | ) | const [virtual] |
Returns the scope at which this policy can be applied. See orbconf.h.
Definition at line 59 of file LifespanPolicy.cpp.
References TAO_POLICY_POA_SCOPE.
00060 { 00061 return TAO_POLICY_POA_SCOPE; 00062 }
CORBA::Policy_ptr TAO::Portable_Server::LifespanPolicy::copy | ( | void | ) |
Definition at line 25 of file LifespanPolicy.cpp.
References ACE_NEW_THROW_EX.
00026 { 00027 LifespanPolicy *copy = 0; 00028 ACE_NEW_THROW_EX (copy, 00029 LifespanPolicy (this->value_), 00030 CORBA::NO_MEMORY ()); 00031 00032 return copy; 00033 }
void TAO::Portable_Server::LifespanPolicy::destroy | ( | void | ) |
CORBA::PolicyType TAO::Portable_Server::LifespanPolicy::policy_type | ( | void | ) |
PortableServer::LifespanPolicyValue TAO::Portable_Server::LifespanPolicy::value | ( | void | ) |
Definition at line 41 of file LifespanPolicy.cpp.
References value_.
00042 { 00043 return value_; 00044 }
::PortableServer::LifespanPolicyValue TAO::Portable_Server::LifespanPolicy::value_ [private] |