#include <Interceptor_Registration_T.h>
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::Cookie * | register_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_ |
typedef std::pair< ::Components::Cookie_var, InterceptorType_ptr_type> CIAO::Interceptor_Registration_T< BASE, COPITYPE >::InterceptorCookie [private] |
Dynamic array of registered interceptors.
typedef COPITYPE::_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type [protected] |
Define the traits for the underlying portable interceptor array.
typedef std::multimap< ::CORBA::UShort, InterceptorCookie, priority_compare > CIAO::Interceptor_Registration_T< BASE, COPITYPE >::RegisteredInterceptors [private] |
CIAO::Interceptor_Registration_T< BASE, COPITYPE >::Interceptor_Registration_T | ( | void | ) | [protected] |
Constructor.
CIAO::Interceptor_Registration_T< BASE, COPITYPE >::~Interceptor_Registration_T | ( | void | ) | [protected] |
Interceptor_Registration_T< BASE, COPITYPE >::InterceptorType_ptr_type CIAO::Interceptor_Registration_T< BASE, COPITYPE >::interceptor | ( | size_t | index ) |
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.
Components::Cookie * CIAO::Interceptor_Registration_T< BASE, COPITYPE >::register_interceptor | ( | InterceptorType_ptr_type | ict ) | [protected] |
Return the Cookie of a new registered interceptor.
size_t CIAO::Interceptor_Registration_T< BASE, COPITYPE >::size | ( | void | ) | const |
List accessors.
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.
RegisteredInterceptors CIAO::Interceptor_Registration_T< BASE, COPITYPE >::interceptors_ [private] |