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

TAO_IORInterceptor_List Class Reference

Encapsulation for a list of IOR interceptors. More...

#include <Interceptor_List.h>

Inheritance diagram for TAO_IORInterceptor_List:

Inheritance graph
[legend]
Collaboration diagram for TAO_IORInterceptor_List:

Collaboration graph
[legend]
List of all members.

Public Types

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


Public Methods

 TAO_IORInterceptor_List (void)
 Constructor. More...

 ~TAO_IORInterceptor_List (void)
 Destructor. More...

void add_interceptor (PortableInterceptor::IORInterceptor_ptr i ACE_ENV_ARG_DECL)
 Register an IOR 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 array element <index>. More...


Private Attributes

TYPE interceptors_
 Dynamic array of registered IOR interceptors. More...


Detailed Description

Encapsulation for a list of IOR interceptors.

Definition at line 171 of file Interceptor_List.h.


Member Typedef Documentation

typedef ACE_Array_Base<PortableInterceptor::IORInterceptor_ptr> TAO_IORInterceptor_List::TYPE
 

Define a trait for the underlying portable interceptor array.

Definition at line 178 of file Interceptor_List.h.

Referenced by TAO_ORB_Core::destroy_interceptors.


Constructor & Destructor Documentation

TAO_IORInterceptor_List::TAO_IORInterceptor_List void   
 

Constructor.

Definition at line 186 of file Interceptor_List.cpp.

00187   : interceptors_ ()
00188 {
00189 }

TAO_IORInterceptor_List::~TAO_IORInterceptor_List void   
 

Destructor.

Definition at line 191 of file Interceptor_List.cpp.

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

00192 {
00193   size_t len = this->interceptors_.size ();
00194 
00195   for (size_t i = 0; i < len; ++i)
00196     CORBA::release (this->interceptors_[i]);
00197 }


Member Function Documentation

void TAO_IORInterceptor_List::add_interceptor PortableInterceptor::IORInterceptor_ptr   ACE_ENV_ARG_DECL
 

Register an IOR interceptor.

Referenced by TAO_ORB_Core::add_interceptor.

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

Return the interceptor in array element <index>.

Implements TAO_Interceptor_List.

Definition at line 212 of file Interceptor_List.cpp.

References interceptors_.

00213 {
00214   return this->interceptors_[index];
00215 }

ACE_INLINE TAO_IORInterceptor_List::TYPE & TAO_IORInterceptor_List::interceptors void   
 

Return reference to the underlying Portable Interceptor array.

Definition at line 24 of file Interceptor_List.inl.

References interceptors_.

Referenced by TAO_ORB_Core::ior_interceptors.

00025 {
00026   return this->interceptors_;
00027 }

void TAO_IORInterceptor_List::length size_t    [protected, virtual]
 

Set the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 206 of file Interceptor_List.cpp.

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

00207 {
00208   this->interceptors_.size (len);
00209 }

size_t TAO_IORInterceptor_List::length void    [protected, virtual]
 

Return the length of the underlying interceptor array.

Implements TAO_Interceptor_List.

Definition at line 200 of file Interceptor_List.cpp.

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

00201 {
00202   return this->interceptors_.size ();
00203 }


Member Data Documentation

TYPE TAO_IORInterceptor_List::interceptors_ [private]
 

Dynamic array of registered IOR interceptors.

Definition at line 209 of file Interceptor_List.h.

Referenced by interceptor, interceptors, length, and ~TAO_IORInterceptor_List.


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