Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::DelegateList< D > Class Template Reference

#include <berryMessage.h>

Inheritance diagram for berry::DelegateList< D >:

Public Types

typedef D Delegate
 
typedef std::vector< Delegate * > ListType
 

Public Member Functions

 DelegateList ()
 
 ~DelegateList ()
 
void Add (const Delegate &d) const
 
void Remove (const Delegate &d) const
 
bool IsEmpty () const
 
template<typename Dummy >
void Send0 (Dummy) const
 
template<typename T >
void Send1 (T t) const
 
template<typename T , typename U >
void Send2 (T t, U u) const
 
template<typename T , typename U , typename V >
void Send3 (T t, U u, V v) const
 
template<typename T , typename U , typename V , typename W >
void Send4 (T t, U u, V v, W w) const
 
void SetExceptionHandler (const AbstractExceptionHandler &handler)
 
AbstractExceptionHandlerGetExceptionHandler () const
 
ListType GetDelegates () const
 

Detailed Description

template<typename D>
class berry::DelegateList< D >

Definition at line 392 of file berryMessage.h.

Member Typedef Documentation

◆ Delegate

template<typename D >
typedef D berry::DelegateList< D >::Delegate

Definition at line 397 of file berryMessage.h.

◆ ListType

template<typename D >
typedef std::vector<Delegate*> berry::DelegateList< D >::ListType

Definition at line 398 of file berryMessage.h.

Constructor & Destructor Documentation

◆ DelegateList()

template<typename D >
berry::DelegateList< D >::DelegateList ( )
inline

Definition at line 400 of file berryMessage.h.

◆ ~DelegateList()

template<typename D >
berry::DelegateList< D >::~DelegateList ( )
inline

Definition at line 406 of file berryMessage.h.

Member Function Documentation

◆ Add()

template<typename D >
void berry::DelegateList< D >::Add ( const Delegate d) const
inline

Definition at line 417 of file berryMessage.h.

◆ GetDelegates()

template<typename D >
ListType berry::DelegateList< D >::GetDelegates ( ) const
inline

Definition at line 669 of file berryMessage.h.

◆ GetExceptionHandler()

template<typename D >
AbstractExceptionHandler* berry::DelegateList< D >::GetExceptionHandler ( ) const
inline

Definition at line 662 of file berryMessage.h.

◆ IsEmpty()

template<typename D >
bool berry::DelegateList< D >::IsEmpty ( ) const
inline

Definition at line 449 of file berryMessage.h.

◆ Remove()

template<typename D >
void berry::DelegateList< D >::Remove ( const Delegate d) const
inline

Definition at line 434 of file berryMessage.h.

◆ Send0()

template<typename D >
template<typename Dummy >
void berry::DelegateList< D >::Send0 ( Dummy  ) const
inline

Definition at line 455 of file berryMessage.h.

◆ Send1()

template<typename D >
template<typename T >
void berry::DelegateList< D >::Send1 ( t) const
inline

Definition at line 496 of file berryMessage.h.

◆ Send2()

template<typename D >
template<typename T , typename U >
void berry::DelegateList< D >::Send2 ( t,
u 
) const
inline

Definition at line 536 of file berryMessage.h.

◆ Send3()

template<typename D >
template<typename T , typename U , typename V >
void berry::DelegateList< D >::Send3 ( t,
u,
v 
) const
inline

Definition at line 576 of file berryMessage.h.

◆ Send4()

template<typename D >
template<typename T , typename U , typename V , typename W >
void berry::DelegateList< D >::Send4 ( t,
u,
v,
w 
) const
inline

Definition at line 616 of file berryMessage.h.

◆ SetExceptionHandler()

template<typename D >
void berry::DelegateList< D >::SetExceptionHandler ( const AbstractExceptionHandler handler)
inline

Definition at line 655 of file berryMessage.h.


The documentation for this class was generated from the following file: