Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO::Interceptor_List< InterceptorType > Class Template Reference

Template for portable interceptor lists. More...

#include <Interceptor_List.h>

Collaboration diagram for TAO::Interceptor_List< InterceptorType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef InterceptorType::_var_type InterceptorType_var_type
 Define the traits for the underlying portable interceptor array.
typedef InterceptorType::_ptr_type InterceptorType_ptr_type
typedef ACE_Array_Base< InterceptorType_var_typeTYPE

Public Member Functions

 Interceptor_List (void)
 Constructor.
void add_interceptor (InterceptorType_ptr_type i ACE_ENV_ARG_DECL)
 Register an interceptor.
TYPEinterceptors (void)
 Return reference to the underlying Portable Interceptor array.

Protected Member Functions

size_t add_interceptor_i (PortableInterceptor::Interceptor_ptr interceptor ACE_ENV_ARG_DECL) throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::DuplicateName)
 Register an in interceptor with interceptor list.
PortableInterceptor::Interceptor_ptr interceptor (size_t index)
 Return the interceptor in sequence element index.

Private Attributes

TYPE interceptors_
 Dynamic array of registered interceptors.

Detailed Description

template<typename InterceptorType>
class TAO::Interceptor_List< InterceptorType >

Template for portable interceptor lists.

Template for the various portable interceptor lists used internally by TAO.


Member Typedef Documentation

template<typename InterceptorType>
typedef InterceptorType::_ptr_type TAO::Interceptor_List< InterceptorType >::InterceptorType_ptr_type
 

template<typename InterceptorType>
typedef InterceptorType::_var_type TAO::Interceptor_List< InterceptorType >::InterceptorType_var_type
 

Define the traits for the underlying portable interceptor array.

template<typename InterceptorType>
typedef ACE_Array_Base<InterceptorType_var_type> TAO::Interceptor_List< InterceptorType >::TYPE
 


Constructor & Destructor Documentation

template<typename InterceptorType>
TAO::Interceptor_List< InterceptorType >::Interceptor_List void   ) 
 

Constructor.


Member Function Documentation

template<typename InterceptorType>
void TAO::Interceptor_List< InterceptorType >::add_interceptor InterceptorType_ptr_type ACE_ENV_ARG_DECL  ) 
 

Register an interceptor.

template<typename InterceptorType>
size_t TAO::Interceptor_List< InterceptorType >::add_interceptor_i PortableInterceptor::Interceptor_ptr interceptor  ACE_ENV_ARG_DECL  )  throw (CORBA::SystemException, PortableInterceptor::ORBInitInfo::DuplicateName) [protected]
 

Register an in interceptor with interceptor list.

If the Interceptor is not anonymous, make sure an Interceptor with the same isn't already registered.

Increase the length of the Interceptor sequence by one.

template<typename InterceptorType>
PortableInterceptor::Interceptor_ptr TAO::Interceptor_List< InterceptorType >::interceptor size_t  index  )  [protected]
 

Return the interceptor in sequence element index.

template<typename InterceptorType>
Interceptor_List< InterceptorType >::TYPE & TAO::Interceptor_List< InterceptorType >::interceptors void   ) 
 

Return reference to the underlying Portable Interceptor array.


Member Data Documentation

template<typename InterceptorType>
TYPE TAO::Interceptor_List< InterceptorType >::interceptors_ [private]
 

Dynamic array of registered interceptors.


The documentation for this class was generated from the following files:
Generated on Thu Jun 9 00:19:10 2005 for TAO by  doxygen 1.3.9.1