Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#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< void > | |
virtual | ~MessageAbstractDelegate () |
virtual void | Execute () const=0 |
virtual MessageAbstractDelegate * | Clone () const=0 |
This class essentially wraps a 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.
Definition at line 141 of file mitkMessage.h.
|
inline |
Definition at line 146 of file mitkMessage.h.
Referenced by mitk::MessageDelegate< R, A >::Clone().
|
inlineoverride |
Definition at line 151 of file mitkMessage.h.
|
inlineoverride |
Definition at line 171 of file mitkMessage.h.
References mitk::MessageDelegate< R, A >::MessageDelegate().
|
inlineoverride |
Definition at line 153 of file mitkMessage.h.
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate< void >.
Definition at line 158 of file mitkMessage.h.