Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <mitkMessage.h>
Public Member Functions | |
MessageDelegate1 (R *object, A(R::*memberFunctionPointer)(T)) | |
~MessageDelegate1 () override | |
A | Execute (T t) const override |
bool | operator== (const MessageAbstractDelegate1< T, A > *c) const override |
MessageAbstractDelegate1< T, A > * | Clone () const override |
Public Member Functions inherited from mitk::MessageAbstractDelegate1< T, void > | |
virtual | ~MessageAbstractDelegate1 () |
virtual MessageAbstractDelegate1 * | Clone () const=0 |
This class essentially wraps a function pointer with signature A(R::*function)(T). A is the return type of your callback function, R the type of the class implementing the function and T the type of the argument.
Use this class to add a callback function to messages with one parameter.
If you need more parameters, use MessageDelegate2 etc.
Definition at line 189 of file mitkMessage.h.
|
inline |
Definition at line 194 of file mitkMessage.h.
Referenced by mitk::MessageDelegate1< R, T, A >::Clone().
|
inlineoverride |
Definition at line 199 of file mitkMessage.h.
|
inlineoverride |
Definition at line 219 of file mitkMessage.h.
References mitk::MessageDelegate1< R, T, A >::MessageDelegate1().
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate1< T, void >.
Definition at line 201 of file mitkMessage.h.
|
inlineoverridevirtual |
Implements mitk::MessageAbstractDelegate1< T, void >.
Definition at line 206 of file mitkMessage.h.