| 118 | */ |
| 119 | |
| 120 | void |
| 121 | ProgressCommand::Execute(itk::Object * caller, const itk::EventObject & event) |
| 122 | { |
| 123 | auto * po = dynamic_cast<itk::ProcessObject *>(caller); |
| 124 | if (!po) |
| 125 | { |
| 126 | return; |
| 127 | } |
| 128 | |
| 129 | if (typeid(event) == typeid(itk::ProgressEvent)) |
| 130 | { |
| 131 | this->PrintProgress(po->GetProgress()); |
| 132 | } |
| 133 | |
| 134 | } // end Execute() |
| 135 | |
| 136 | |
| 137 | /** |
nothing calls this directly
no test coverage detected