TAO::Portable_Server::RequestProcessingPolicy Class Reference

#include <RequestProcessingPolicy.h>

Inheritance diagram for TAO::Portable_Server::RequestProcessingPolicy:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

Definition at line 41 of file RequestProcessingPolicy.h.


Constructor & Destructor Documentation

TAO::Portable_Server::RequestProcessingPolicy::RequestProcessingPolicy ( ::PortableServer::RequestProcessingPolicyValue  value  ) 

Definition at line 18 of file RequestProcessingPolicy.cpp.

00019                                                         :
00020         value_ (value)
00021     {
00022     }


Member Function Documentation

TAO_Cached_Policy_Type TAO::Portable_Server::RequestProcessingPolicy::_tao_cached_type ( void   )  const [virtual]

Return the cached policy type for this policy.

Definition at line 53 of file RequestProcessingPolicy.cpp.

References TAO_CACHED_POLICY_REQUEST_PROCESSING.

00054     {
00055       return TAO_CACHED_POLICY_REQUEST_PROCESSING;
00056     }

TAO_Policy_Scope TAO::Portable_Server::RequestProcessingPolicy::_tao_scope ( void   )  const [virtual]

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

Definition at line 59 of file RequestProcessingPolicy.cpp.

References TAO_POLICY_POA_SCOPE.

00060     {
00061       return TAO_POLICY_POA_SCOPE;
00062     }

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

Definition at line 25 of file RequestProcessingPolicy.cpp.

References ACE_NEW_THROW_EX.

00026     {
00027       RequestProcessingPolicy *copy = 0;
00028       ACE_NEW_THROW_EX (copy,
00029                         RequestProcessingPolicy (this->value_),
00030                         CORBA::NO_MEMORY ());
00031 
00032       return copy;
00033     }

void TAO::Portable_Server::RequestProcessingPolicy::destroy ( void   ) 

Definition at line 36 of file RequestProcessingPolicy.cpp.

00037     {
00038     }

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

Definition at line 47 of file RequestProcessingPolicy.cpp.

00048     {
00049       return ::PortableServer::REQUEST_PROCESSING_POLICY_ID;
00050     }

PortableServer::RequestProcessingPolicyValue TAO::Portable_Server::RequestProcessingPolicy::value ( void   ) 

Definition at line 41 of file RequestProcessingPolicy.cpp.

References value_.

00042     {
00043       return value_;
00044     }


Member Data Documentation

::PortableServer::RequestProcessingPolicyValue TAO::Portable_Server::RequestProcessingPolicy::value_ [private]

Definition at line 63 of file RequestProcessingPolicy.h.

Referenced by value().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:41:46 2010 for TAO_PortableServer by  doxygen 1.4.7