------------------------------------------------------------------------------
| 1155 | |
| 1156 | //------------------------------------------------------------------------------ |
| 1157 | void vtkAlgorithm::SetDefaultExecutivePrototype(vtkExecutive* proto) |
| 1158 | { |
| 1159 | if (vtkAlgorithm::DefaultExecutivePrototype == proto) |
| 1160 | { |
| 1161 | return; |
| 1162 | } |
| 1163 | if (vtkAlgorithm::DefaultExecutivePrototype) |
| 1164 | { |
| 1165 | vtkAlgorithm::DefaultExecutivePrototype->UnRegister(nullptr); |
| 1166 | vtkAlgorithm::DefaultExecutivePrototype = nullptr; |
| 1167 | } |
| 1168 | if (proto) |
| 1169 | { |
| 1170 | proto->Register(nullptr); |
| 1171 | } |
| 1172 | vtkAlgorithm::DefaultExecutivePrototype = proto; |
| 1173 | } |
| 1174 | |
| 1175 | //------------------------------------------------------------------------------ |
| 1176 | vtkExecutive* vtkAlgorithm::CreateDefaultExecutive() |
no test coverage detected