Medical Imaging Interaction Toolkit  2016.11.0
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 396 of file berryMessage.h.

Member Typedef Documentation

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

Definition at line 401 of file berryMessage.h.

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

Definition at line 402 of file berryMessage.h.

Constructor & Destructor Documentation

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

Definition at line 404 of file berryMessage.h.

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

Definition at line 410 of file berryMessage.h.

Member Function Documentation

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

Definition at line 421 of file berryMessage.h.

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

Definition at line 673 of file berryMessage.h.

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

Definition at line 666 of file berryMessage.h.

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

Definition at line 453 of file berryMessage.h.

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

Definition at line 438 of file berryMessage.h.

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

Definition at line 459 of file berryMessage.h.

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

Definition at line 500 of file berryMessage.h.

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

Definition at line 540 of file berryMessage.h.

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

Definition at line 580 of file berryMessage.h.

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 620 of file berryMessage.h.

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

Definition at line 659 of file berryMessage.h.


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