Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berry::Message1< T, A > Class Template Reference

#include <berryMessage.h>

Inheritance diagram for berry::Message1< T, A >:
Collaboration diagram for berry::Message1< T, A >:

Public Types

typedef Message1 Self
 
typedef MessageAbstractDelegate1< T, 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) const
 
void operator() (T t) 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 A = void>
class berry::Message1< T, A >

Definition at line 787 of file berryMessage.h.

Member Typedef Documentation

◆ AbstractDelegate

template<typename T , typename A = void>
typedef MessageAbstractDelegate1<T, A> berry::Message1< T, A >::AbstractDelegate

Definition at line 792 of file berryMessage.h.

◆ ListenerList

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

Definition at line 793 of file berryMessage.h.

◆ Self

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

Definition at line 791 of file berryMessage.h.

Member Function Documentation

◆ AddListener()

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

◆ GetExceptionHandler()

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

Definition at line 830 of file berryMessage.h.

◆ GetListeners()

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

Definition at line 835 of file berryMessage.h.

◆ HasListeners()

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

Definition at line 840 of file berryMessage.h.

◆ IsEmpty()

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

Definition at line 845 of file berryMessage.h.

◆ operator()()

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

Definition at line 820 of file berryMessage.h.

◆ operator+=()

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

Definition at line 800 of file berryMessage.h.

◆ operator-=()

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

Definition at line 810 of file berryMessage.h.

◆ RemoveListener()

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

◆ Send()

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

◆ SetExceptionHandler()

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

Definition at line 825 of file berryMessage.h.

Member Data Documentation

◆ delegates


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