Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

TAO_ClientRequestInterceptor_List Class Reference

Encapsulation for a list of client request interceptors. More...

#include <Interceptor_List.h>

Inheritance diagram for TAO_ClientRequestInterceptor_List:

Inheritance graph
[legend]
Collaboration diagram for TAO_ClientRequestInterceptor_List:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ACE_Array_Base< PortableInterceptor::ClientRequestInterceptor_ptrTYPE
 Define a trait for the underlying portable interceptor array. More...


Public Methods

 TAO_ClientRequestInterceptor_List (void)
 Constructor. More...

 ~TAO_ClientRequestInterceptor_List (void)
 Destructor. More...

void add_interceptor (PortableInterceptor::ClientRequestInterceptor_ptr i ACE_ENV_ARG_DECL)
 Register a client request interceptor. More...

TYPEinterceptors (void)
 Return reference to the underlying Portable Interceptor array. More...


Protected Methods

virtual size_t length (void)
 Return the length of the underlying interceptor array. More...

virtual void length (size_t)
 Set the length of the underlying interceptor array. More...

virtual PortableInterceptor::Interceptor_ptr interceptor (size_t)
 Return the interceptor in element <index>. More...


Private Attributes

TYPE interceptors_
 Dynamic array of registered client request interceptors. More...


Detailed Description

Encapsulation for a list of client request interceptors.

Definition at line 74 of file Interceptor_List.h.


Member Typedef Documentation

typedef ACE_Array_Base<PortableInterceptor::ClientRequestInterceptor_ptr> TAO_ClientRequestInterceptor_List::TYPE
 

Define a trait for the underlying portable interceptor array.

Definition at line 81 of file Interceptor_List.h.

Referenced by TAO_ORB_Core::destroy_interceptors, and TAO_ClientRequestInterceptor_Adapter::TAO_ClientRequestInterceptor_Adapter.


Constructor & Destructor Documentation

TAO_ClientRequestInterceptor_List::TAO_ClientRequestInterceptor_List void   
 

Constructor.

Definition at line 91 of file Interceptor_List.cpp.

00092   : interceptors_ ()
00093 {
00094 }

TAO_ClientRequestInterceptor_List::~TAO_ClientRequestInterceptor_List void   
 

Destructor.

Definition at line 96 of file Interceptor_List.cpp.

References interceptors_, CORBA::release, and ACE_Array_Base< PortableInterceptor::ClientRequestInterceptor_ptr >::size.

00097 {
00098   size_t len = this->interceptors_.size ();
00099 
00100   for (size_t i = 0; i < len; ++i)
00101     CORBA::release (this->interceptors_[i]);
00102 }


Member Function Documentation

void TAO_ClientRequestInterceptor_List::add_interceptor PortableInterceptor::ClientRequestInterceptor_ptr   ACE_ENV_ARG_DECL
 

Register a client request interceptor.

PortableInterceptor::Interceptor_ptr TAO_ClientRequestInterceptor_List::interceptor size_t    [protected, virtual]
 

Return the interceptor in element <index>.

Implements TAO_Interceptor_List.

Definition at line 118 of file Interceptor_List.cpp.

References interceptors_.

00119 {
00120   return this->interceptors_[index];
00121 }

TYPE& TAO_ClientRequestInterceptor_List::interceptors void   
 

Return reference to the underlying Portable Interceptor array.

void TAO_ClientRequestInterceptor_List::length size_t    [protected, virtual]
 

Set the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 111 of file Interceptor_List.cpp.

References interceptors_, and ACE_Array_Base< PortableInterceptor::ClientRequestInterceptor_ptr >::size.

00112 {
00113   this->interceptors_.size (len);
00114 }

size_t TAO_ClientRequestInterceptor_List::length void    [protected, virtual]
 

Return the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 105 of file Interceptor_List.cpp.

References interceptors_, and ACE_Array_Base< PortableInterceptor::ClientRequestInterceptor_ptr >::size.

00106 {
00107   return this->interceptors_.size ();
00108 }


Member Data Documentation

TYPE TAO_ClientRequestInterceptor_List::interceptors_ [private]
 

Dynamic array of registered client request interceptors.

Definition at line 112 of file Interceptor_List.h.

Referenced by interceptor, length, and ~TAO_ClientRequestInterceptor_List.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:08:17 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002