Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berry::Message2< T, U, A > Class Template Reference

#include <berryMessage.h>

Inheritance diagram for berry::Message2< T, U, A >:
Collaboration diagram for berry::Message2< T, U, A >:

Public Types

typedef Message2 Self
 
typedef MessageAbstractDelegate2< T, U, A > AbstractDelegate
 
typedef DelegateList< AbstractDelegate >::ListType ListenerList
 

Public Member Functions

void AddListener (const AbstractDelegate &delegate) const
 
void operator+= (const AbstractDelegate &delegate) const
 
void RemoveListener (const AbstractDelegate &delegate) const
 
void operator-= (const AbstractDelegate &delegate) const
 
void Send (T t, U u) const
 
void operator() (T t, U u) const
 
void SetExceptionHandler (const AbstractExceptionHandler &handler)
 
AbstractExceptionHandlerGetExceptionHandler () const
 
ListenerList GetListeners () const
 
bool HasListeners () const
 
bool IsEmpty () const
 

Protected Attributes

DelegateList< AbstractDelegatedelegates
 

Detailed Description

template<typename T, typename U, typename A = void>
class berry::Message2< T, U, A >

Definition at line 858 of file berryMessage.h.

Member Typedef Documentation

◆ AbstractDelegate

template<typename T , typename U , typename A = void>
typedef MessageAbstractDelegate2<T, U, A> berry::Message2< T, U, A >::AbstractDelegate

Definition at line 863 of file berryMessage.h.

◆ ListenerList

template<typename T , typename U , typename A = void>
typedef DelegateList<AbstractDelegate>::ListType berry::Message2< T, U, A >::ListenerList

Definition at line 864 of file berryMessage.h.

◆ Self

template<typename T , typename U , typename A = void>
typedef Message2 berry::Message2< T, U, A >::Self

Definition at line 862 of file berryMessage.h.

Member Function Documentation

◆ AddListener()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::AddListener ( const AbstractDelegate delegate) const
inline

◆ GetExceptionHandler()

template<typename T , typename U , typename A = void>
AbstractExceptionHandler* berry::Message2< T, U, A >::GetExceptionHandler ( ) const
inline

Definition at line 901 of file berryMessage.h.

◆ GetListeners()

template<typename T , typename U , typename A = void>
ListenerList berry::Message2< T, U, A >::GetListeners ( ) const
inline

Definition at line 906 of file berryMessage.h.

◆ HasListeners()

template<typename T , typename U , typename A = void>
bool berry::Message2< T, U, A >::HasListeners ( ) const
inline

Definition at line 911 of file berryMessage.h.

◆ IsEmpty()

template<typename T , typename U , typename A = void>
bool berry::Message2< T, U, A >::IsEmpty ( ) const
inline

Definition at line 916 of file berryMessage.h.

◆ operator()()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::operator() ( t,
u 
) const
inline

Definition at line 891 of file berryMessage.h.

◆ operator+=()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::operator+= ( const AbstractDelegate delegate) const
inline

Definition at line 871 of file berryMessage.h.

◆ operator-=()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::operator-= ( const AbstractDelegate delegate) const
inline

Definition at line 881 of file berryMessage.h.

◆ RemoveListener()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::RemoveListener ( const AbstractDelegate delegate) const
inline

◆ Send()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::Send ( t,
u 
) const
inline

◆ SetExceptionHandler()

template<typename T , typename U , typename A = void>
void berry::Message2< T, U, A >::SetExceptionHandler ( const AbstractExceptionHandler handler)
inline

Definition at line 896 of file berryMessage.h.

Member Data Documentation

◆ delegates


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