CIAO 1.0.5
Public Member Functions | Protected Types | Protected Member Functions | Private Types | Private Attributes
CIAO::Interceptor_Registration_T< BASE, COPITYPE > Class Template Reference

#include <Interceptor_Registration_T.h>

List of all members.

Public Member Functions

size_t size (void) const
 List accessors.
InterceptorType_ptr_type interceptor (size_t index)
InterceptorType_ptr_type interceptor (::Components::Cookie *ck)
 Return the interceptor with the given cookie.

Protected Types

typedef COPITYPE::_ptr_type InterceptorType_ptr_type
 Define the traits for the underlying portable interceptor array.

Protected Member Functions

 Interceptor_Registration_T (void)
 Constructor.
 ~Interceptor_Registration_T (void)
::Components::Cookieregister_interceptor (InterceptorType_ptr_type ict)
 Return the Cookie of a new registered interceptor.
InterceptorType_ptr_type unregister_interceptor (::Components::Cookie *ck)

Private Types

typedef std::pair
< ::Components::Cookie_var,
InterceptorType_ptr_type
InterceptorCookie
 Dynamic array of registered interceptors.
typedef std::multimap
< ::CORBA::UShort,
InterceptorCookie,
priority_compare
RegisteredInterceptors

Private Attributes

RegisteredInterceptors interceptors_

template<typename BASE, typename COPITYPE>
class CIAO::Interceptor_Registration_T< BASE, COPITYPE >


Member Typedef Documentation

template<typename BASE, typename COPITYPE>
typedef std::pair< ::Components::Cookie_var, InterceptorType_ptr_type> CIAO::Interceptor_Registration_T< BASE, COPITYPE >::InterceptorCookie [private]

Dynamic array of registered interceptors.

template<typename BASE, typename COPITYPE>
typedef COPITYPE::_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type [protected]

Define the traits for the underlying portable interceptor array.

template<typename BASE, typename COPITYPE>
typedef std::multimap< ::CORBA::UShort, InterceptorCookie, priority_compare > CIAO::Interceptor_Registration_T< BASE, COPITYPE >::RegisteredInterceptors [private]

Constructor & Destructor Documentation

template<typename BASE , typename COPITYPE >
CIAO::Interceptor_Registration_T< BASE, COPITYPE >::Interceptor_Registration_T ( void  ) [protected]

Constructor.

template<typename BASE , typename COPITYPE >
CIAO::Interceptor_Registration_T< BASE, COPITYPE >::~Interceptor_Registration_T ( void  ) [protected]

Member Function Documentation

template<typename BASE , typename COPITYPE >
Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::interceptor ( size_t  index)
template<typename BASE , typename COPITYPE >
Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::interceptor ( ::Components::Cookie ck)

Return the interceptor with the given cookie.

template<typename BASE , typename COPITYPE >
Components::Cookie * CIAO::Interceptor_Registration_T< BASE, COPITYPE >::register_interceptor ( InterceptorType_ptr_type  ict) [protected]

Return the Cookie of a new registered interceptor.

template<typename BASE , typename COPITYPE >
size_t CIAO::Interceptor_Registration_T< BASE, COPITYPE >::size ( void  ) const

List accessors.

template<typename BASE , typename COPITYPE >
Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::unregister_interceptor ( ::Components::Cookie ck) [protected]

Removes a registered interceptor from the list. The registered interceptor is indicated by a cookie. If the passed cookie cannot be found in the list, a InvalidRegistration exception will be thrown. Returns the interceptor found.


Member Data Documentation

template<typename BASE, typename COPITYPE>
RegisteredInterceptors CIAO::Interceptor_Registration_T< BASE, COPITYPE >::interceptors_ [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines