TAO::Interceptor_List< InterceptorType, DetailsType > Class Template Reference

Template for portable interceptor lists. More...

#include <Interceptor_List_T.h>

Collaboration diagram for TAO::Interceptor_List< InterceptorType, DetailsType >:

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

Public Member Functions

 Interceptor_List (void)
 Constructor.
void add_interceptor (InterceptorType_ptr_type i)
void add_interceptor (InterceptorType_ptr_type i, const CORBA::PolicyList &policies)
 Register an interceptor with policies.
void destroy_interceptors (void)
RegisteredInterceptorregistered_interceptor (size_t index)
 Return the registered interceptor in sequence element index.
InterceptorType_ptr_type interceptor (size_t index)
 Return the interceptor in sequence element index.
size_t size (void)

Private Types

typedef ACE_Array_Base< RegisteredInterceptorRegisteredArray

Private Attributes

RegisteredArray interceptors_
 Dynamic array of registered interceptors.

Classes

struct  RegisteredInterceptor

Detailed Description

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

Template for portable interceptor lists.

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


Member Typedef Documentation

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

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

Define the traits for the underlying portable interceptor array.

template<typename InterceptorType, typename DetailsType>
typedef ACE_Array_Base<RegisteredInterceptor > TAO::Interceptor_List< InterceptorType, DetailsType >::RegisteredArray [private]


Constructor & Destructor Documentation

template<typename InterceptorType, typename DetailsType>
TAO::Interceptor_List< InterceptorType, DetailsType >::Interceptor_List ( void   ) 

Constructor.


Member Function Documentation

template<typename InterceptorType, typename DetailsType>
void TAO::Interceptor_List< InterceptorType, DetailsType >::add_interceptor ( InterceptorType_ptr_type  i,
const CORBA::PolicyList &  policies 
)

Register an interceptor with policies.

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, typename DetailsType>
void TAO::Interceptor_List< InterceptorType, DetailsType >::add_interceptor ( InterceptorType_ptr_type  i  ) 

template<typename InterceptorType, typename DetailsType>
void TAO::Interceptor_List< InterceptorType, DetailsType >::destroy_interceptors ( void   ) 

template<typename InterceptorType, typename DetailsType>
Interceptor_List< InterceptorType, DetailsType >::InterceptorType_ptr_type TAO::Interceptor_List< InterceptorType, DetailsType >::interceptor ( size_t  index  ) 

Return the interceptor in sequence element index.

template<typename InterceptorType, typename DetailsType>
Interceptor_List< InterceptorType, DetailsType >::RegisteredInterceptor & TAO::Interceptor_List< InterceptorType, DetailsType >::registered_interceptor ( size_t  index  ) 

Return the registered interceptor in sequence element index.

template<typename InterceptorType, typename DetailsType>
size_t TAO::Interceptor_List< InterceptorType, DetailsType >::size ( void   ) 


Member Data Documentation

template<typename InterceptorType, typename DetailsType>
RegisteredArray TAO::Interceptor_List< InterceptorType, DetailsType >::interceptors_ [private]

Dynamic array of registered interceptors.


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:12:45 2007 for TAO_PI by  doxygen 1.4.7-1