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

Member Typedef Documentation

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

Definition at line 796 of file berryMessage.h.

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

Definition at line 797 of file berryMessage.h.

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

Definition at line 795 of file berryMessage.h.

Member Function Documentation

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

Definition at line 834 of file berryMessage.h.

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

Definition at line 844 of file berryMessage.h.

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

Definition at line 849 of file berryMessage.h.

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

Definition at line 824 of file berryMessage.h.

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

Definition at line 804 of file berryMessage.h.

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

Definition at line 814 of file berryMessage.h.

template<typename T, typename A = void>
void berry::Message1< T, A >::RemoveListener ( const AbstractDelegate delegate) const
inline
template<typename T, typename A = void>
void berry::Message1< T, A >::Send ( t) const
inline
template<typename T, typename A = void>
void berry::Message1< T, A >::SetExceptionHandler ( const AbstractExceptionHandler handler)
inline

Definition at line 829 of file berryMessage.h.

Member Data Documentation


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