MCPcopy Create free account
hub / github.com/MITK/MITK / Execute

Function Execute

Modules/Core/include/mitkStdFunctionCommand.h:77–86  ·  view source on GitHub ↗

* \brief Execute the command for a non-const caller. * * If both filter and action functions are set and the filter returns true * for the given event, the action function is called. */

Source from the content-addressed store, hash-verified

75 * for the given event, the action function is called.
76 */
77 void Execute(Object*, const itk::EventObject& event) override
78 {
79 if (m_StdFilterFunction && m_StdActionFunction)
80 {
81 if (m_StdFilterFunction(event))
82 {
83 m_StdActionFunction(event);
84 }
85 }
86 }
87
88 /**
89 * \brief Execute the command for a const caller.

Callers 5

ExecuteMethod · 0.50
ExecuteMethod · 0.50
WriteMethod · 0.50
ExecuteMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected