TAO_PI 4.0.0
Loading...
Searching...
No Matches
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
[legend]

Classes

struct  RegisteredInterceptor
 

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 ()
 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 ()
 
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 () const
 

Private Types

typedef ACE_Array_Base< RegisteredInterceptorRegisteredArray
 

Private Attributes

RegisteredArray interceptors_
 Dynamic array of registered interceptors.
 

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

◆ InterceptorType_ptr_type

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

◆ InterceptorType_var_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.

◆ RegisteredArray

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

Constructor & Destructor Documentation

◆ Interceptor_List()

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

Constructor.

Member Function Documentation

◆ add_interceptor() [1/2]

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.

◆ add_interceptor() [2/2]

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.

◆ destroy_interceptors()

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

◆ interceptor()

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.

◆ registered_interceptor()

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.

◆ size()

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

Member Data Documentation

◆ interceptors_

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: