Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitk::Message2< T, U, A > Class Template Reference

#include <mitkMessage.h>

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

Public Types

typedef MessageBase< MessageAbstractDelegate2< T, U, A > > Super
 
typedef Super::ListenerList ListenerList
 
- Public Types inherited from mitk::MessageBase< MessageAbstractDelegate2< T, U, void > >
typedef std::vector< MessageAbstractDelegate2< T, U, void > * > ListenerList
 

Public Member Functions

void Send (T t, U u) const
 
void operator() (T t, U u) const
 
- Public Member Functions inherited from mitk::MessageBase< MessageAbstractDelegate2< T, U, void > >
virtual ~MessageBase ()
 
 MessageBase ()
 
 MessageBase (const MessageBase &o)
 
MessageBaseoperator= (const MessageBase &o)
 
void AddListener (const MessageAbstractDelegate2< T, U, void > &delegate) const
 
void operator+= (const MessageAbstractDelegate2< T, U, void > &delegate) const
 
void RemoveListener (const MessageAbstractDelegate2< T, U, void > &delegate) const
 
void operator-= (const MessageAbstractDelegate2< T, U, void > &delegate) const
 
const ListenerListGetListeners () const
 
bool HasListeners () const
 
bool IsEmpty () const
 

Additional Inherited Members

- Protected Attributes inherited from mitk::MessageBase< MessageAbstractDelegate2< T, U, void > >
ListenerList m_Listeners
 List of listeners. More...
 
std::mutex m_Mutex
 

Detailed Description

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

Definition at line 508 of file mitkMessage.h.

Member Typedef Documentation

◆ ListenerList

template<typename T , typename U , typename A = void>
typedef Super::ListenerList mitk::Message2< T, U, A >::ListenerList

Definition at line 512 of file mitkMessage.h.

◆ Super

template<typename T , typename U , typename A = void>
typedef MessageBase<MessageAbstractDelegate2<T, U, A> > mitk::Message2< T, U, A >::Super

Definition at line 511 of file mitkMessage.h.

Member Function Documentation

◆ operator()()

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

Definition at line 531 of file mitkMessage.h.

◆ Send()

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

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