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

Member Typedef Documentation

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

Definition at line 867 of file berryMessage.h.

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

Definition at line 868 of file berryMessage.h.

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

Definition at line 866 of file berryMessage.h.

Member Function Documentation

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

Definition at line 905 of file berryMessage.h.

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

Definition at line 910 of file berryMessage.h.

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

Definition at line 915 of file berryMessage.h.

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

Definition at line 920 of file berryMessage.h.

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

Definition at line 895 of file berryMessage.h.

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

Definition at line 875 of file berryMessage.h.

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

Definition at line 885 of file berryMessage.h.

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

Definition at line 900 of file berryMessage.h.

Member Data Documentation


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