|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Wraps a member function pointer with signature A(R::*function)(). More...
#include <mitkMessage.h>


Public Member Functions | |
| MessageDelegate (R *object, A(R::*memberFunctionPointer)()) | |
| ~MessageDelegate () override | |
| A | Execute () const override |
| bool | operator== (const MessageAbstractDelegate< A > *c) const override |
| MessageAbstractDelegate< A > * | Clone () const override |
Public Member Functions inherited from mitk::MessageAbstractDelegate< A > | |
| virtual | ~MessageAbstractDelegate () |
Wraps a member function pointer with signature A(R::*function)().
A is the return type of your callback function and R the type of the class implementing the function. Use this class to add a callback function to messages without parameters.
| R | The class type that contains the member function. |
| A | Return type of the callback function (default: void). |
Definition at line 168 of file mitkMessage.h.
|
inline |
Definition at line 173 of file mitkMessage.h.
Referenced by mitk::MessageDelegate< R, A >::Clone().
|
inlineoverride |
Definition at line 178 of file mitkMessage.h.
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate< A >.
Definition at line 198 of file mitkMessage.h.
References mitk::MessageDelegate< R, A >::MessageDelegate().
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate< A >.
Definition at line 180 of file mitkMessage.h.
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate< A >.
Definition at line 185 of file mitkMessage.h.