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

#include <mitkMessage.h>

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

Public Types

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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 480 of file mitkMessage.h.

Member Typedef Documentation

◆ ListenerList

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

Definition at line 484 of file mitkMessage.h.

◆ Super

template<typename T , typename A = void>
typedef MessageBase<MessageAbstractDelegate1<T, A> > mitk::Message1< T, A >::Super

Definition at line 483 of file mitkMessage.h.

Member Function Documentation

◆ operator()()

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

Definition at line 503 of file mitkMessage.h.

◆ Send()

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

Definition at line 486 of file mitkMessage.h.

Referenced by mitk::Message1< const std::string & >::operator()().


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