* \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. */
| 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. |
no outgoing calls
no test coverage detected