TAO_PI  2.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
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

Classes

struct  RegisteredInterceptor
 

Public Types

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

Public Member Functions

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

Private Types

typedef ACE_Array_Base
< RegisteredInterceptor
RegisteredArray
 

Private Attributes

RegisteredArray interceptors_
 Dynamic array of registered interceptors. More...
 

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)

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,
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 >::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  ) const

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: