Public Member Functions | Private Attributes

TAO::Portable_Server::ServantRetentionPolicy Class Reference

#include <ServantRetentionPolicy.h>

Inheritance diagram for TAO::Portable_Server::ServantRetentionPolicy:
Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::ServantRetentionPolicy:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ServantRetentionPolicy (::PortableServer::ServantRetentionPolicyValue value)
CORBA::Policy_ptr copy (void)
void destroy (void)
::PortableServer::ServantRetentionPolicyValue 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::ServantRetentionPolicyValue value_

Detailed Description

Definition at line 41 of file ServantRetentionPolicy.h.


Constructor & Destructor Documentation

TAO::Portable_Server::ServantRetentionPolicy::ServantRetentionPolicy ( ::PortableServer::ServantRetentionPolicyValue  value  ) 

Definition at line 19 of file ServantRetentionPolicy.cpp.

                                                       :
        value_ (value)
    {
    }


Member Function Documentation

TAO_Cached_Policy_Type TAO::Portable_Server::ServantRetentionPolicy::_tao_cached_type ( void   )  const

Return the cached policy type for this policy.

Definition at line 54 of file ServantRetentionPolicy.cpp.

    {
      return TAO_CACHED_POLICY_SERVANT_RETENTION;
    }

TAO_Policy_Scope TAO::Portable_Server::ServantRetentionPolicy::_tao_scope ( void   )  const

Returns the scope at which this policy can be applied. See orbconf.h.

Definition at line 60 of file ServantRetentionPolicy.cpp.

    {
      return TAO_POLICY_POA_SCOPE;
    }

CORBA::Policy_ptr TAO::Portable_Server::ServantRetentionPolicy::copy ( void   ) 

Definition at line 26 of file ServantRetentionPolicy.cpp.

    {
      ServantRetentionPolicy *copy = 0;
      ACE_NEW_THROW_EX (copy,
                        ServantRetentionPolicy (this->value_),
                        CORBA::NO_MEMORY ());

      return copy;
    }

void TAO::Portable_Server::ServantRetentionPolicy::destroy ( void   ) 

Definition at line 37 of file ServantRetentionPolicy.cpp.

    {
    }

CORBA::PolicyType TAO::Portable_Server::ServantRetentionPolicy::policy_type ( void   ) 

Definition at line 48 of file ServantRetentionPolicy.cpp.

    {
      return ::PortableServer::SERVANT_RETENTION_POLICY_ID;
    }

PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::ServantRetentionPolicy::value ( void   ) 

Definition at line 42 of file ServantRetentionPolicy.cpp.

    {
      return this->value_;
    }


Member Data Documentation

::PortableServer::ServantRetentionPolicyValue TAO::Portable_Server::ServantRetentionPolicy::value_ [private]

Definition at line 63 of file ServantRetentionPolicy.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines