17 #ifndef MITK_CALLBACK_WITHIN_GUI_TREAD_H_INCLUDGEWQ
18 #define MITK_CALLBACK_WITHIN_GUI_TREAD_H_INCLUDGEWQ
21 #include <itkCommand.h>
22 #include <itkEventObject.h>
38 virtual const char *
GetEventName()
const override {
return "CallbackEventOneParameter"; }
39 virtual bool CheckEvent(const ::itk::EventObject *e)
const override {
return dynamic_cast<const Self *
>(e); }
48 void operator=(
const Self &);
62 virtual void CallThisFromGUIThread(itk::Command *, itk::EventObject *) = 0;
167 void CallThisFromGUIThread(itk::Command *, itk::EventObject *e =
nullptr);
Toolkit specific implementation of mitk::CallbackFromGUIThread.
DataCollection - Class to facilitate loading/accessing structured data.
Used by CallbackFromGUIThread to pass parameters.
virtual ~CallbackFromGUIThreadImplementation()
Allows threads to call some method from within the GUI thread.
virtual bool CheckEvent(const ::itk::EventObject *e) const override
virtual const char * GetEventName() const override
CallbackEventOneParameter Self
CallbackEventOneParameter(const T t)
virtual ~CallbackEventOneParameter()
virtual ::itk::EventObject * MakeObject() const override