13 #ifndef mitkStdFunctionCommand_h
14 #define mitkStdFunctionCommand_h
19 #include <itkCommand.h>
44 m_StdFilterFunction = stdFunctionFilter;
49 m_StdActionFunction = stdFunctionAction;
52 void Execute(Object*,
const itk::EventObject& event)
override
54 if (m_StdFilterFunction && m_StdActionFunction)
56 if (m_StdFilterFunction(event))
58 m_StdActionFunction(event);
63 void Execute(
const Object*,
const itk::EventObject& event)
override
65 if (m_StdFilterFunction && m_StdActionFunction)
67 if (m_StdFilterFunction(event))
69 m_StdActionFunction(event);
79 : m_StdFilterFunction(nullptr)
80 , m_StdActionFunction(nullptr)