Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitk::MessageDelegate4< R, T, U, V, W, A > Class Template Reference

Wraps a member function pointer with signature A(R::*function)(T, U, V, W). More...

#include <mitkMessage.h>

Inheritance diagram for mitk::MessageDelegate4< R, T, U, V, W, A >:
Collaboration diagram for mitk::MessageDelegate4< R, T, U, V, W, A >:

Public Member Functions

 MessageDelegate4 (R *object, A(R::*memberFunctionPointer)(T, U, V, W))
 
virtual ~MessageDelegate4 ()
 
virtual A Execute (T t, U u, V v, W w) const
 
bool operator== (const MessageAbstractDelegate4< T, U, V, W, A > *c) const
 
MessageAbstractDelegate4< T, U, V, W, A > * Clone () const
 
- Public Member Functions inherited from mitk::MessageAbstractDelegate4< T, U, V, W, A >
virtual ~MessageAbstractDelegate4 ()
 

Detailed Description

template<class R, typename T, typename U, typename V, typename W, typename A = void>
class mitk::MessageDelegate4< R, T, U, V, W, A >

Wraps a member function pointer with signature A(R::*function)(T, U, V, W).

Template Parameters
RThe class type that contains the member function.
TType of the first parameter.
UType of the second parameter.
VType of the third parameter.
WType of the fourth parameter.
AReturn type of the callback function (default: void).

Definition at line 354 of file mitkMessage.h.

Constructor & Destructor Documentation

◆ MessageDelegate4()

template<class R , typename T , typename U , typename V , typename W , typename A = void>
mitk::MessageDelegate4< R, T, U, V, W, A >::MessageDelegate4 ( R *  object,
A(R::*)(T, U, V, W)  memberFunctionPointer 
)
inline

Definition at line 359 of file mitkMessage.h.

Referenced by mitk::MessageDelegate4< R, T, U, V, W, A >::Clone().

◆ ~MessageDelegate4()

template<class R , typename T , typename U , typename V , typename W , typename A = void>
virtual mitk::MessageDelegate4< R, T, U, V, W, A >::~MessageDelegate4 ( )
inlinevirtual

Definition at line 364 of file mitkMessage.h.

Member Function Documentation

◆ Clone()

template<class R , typename T , typename U , typename V , typename W , typename A = void>
MessageAbstractDelegate4<T, U, V, W, A>* mitk::MessageDelegate4< R, T, U, V, W, A >::Clone ( ) const
inlinevirtual

◆ Execute()

template<class R , typename T , typename U , typename V , typename W , typename A = void>
virtual A mitk::MessageDelegate4< R, T, U, V, W, A >::Execute ( T  t,
U  u,
V  v,
W  w 
) const
inlinevirtual

Implements mitk::MessageAbstractDelegate4< T, U, V, W, A >.

Definition at line 366 of file mitkMessage.h.

◆ operator==()

template<class R , typename T , typename U , typename V , typename W , typename A = void>
bool mitk::MessageDelegate4< R, T, U, V, W, A >::operator== ( const MessageAbstractDelegate4< T, U, V, W, A > *  c) const
inlinevirtual

Implements mitk::MessageAbstractDelegate4< T, U, V, W, A >.

Definition at line 371 of file mitkMessage.h.


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