MCPcopy Create free account
hub / github.com/Kitware/VTK / ~vtkAlgorithm

Method ~vtkAlgorithm

Common/ExecutionModel/vtkAlgorithm.cxx:152–170  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

150
151//------------------------------------------------------------------------------
152vtkAlgorithm::~vtkAlgorithm()
153{
154 this->SetInformation(nullptr);
155 if (this->Executive)
156 {
157 this->Executive->UnRegister(this);
158 this->Executive = nullptr;
159 }
160 if (this->ProgressObserver)
161 {
162 this->ProgressObserver->UnRegister(this);
163 this->ProgressObserver = nullptr;
164 }
165 this->InputPortInformation->Delete();
166 this->OutputPortInformation->Delete();
167 delete this->AlgorithmInternal;
168 delete[] this->ProgressText;
169 this->ProgressText = nullptr;
170}
171
172//------------------------------------------------------------------------------
173void vtkAlgorithm::SetProgressObserver(vtkProgressObserver* po)

Callers

nothing calls this directly

Calls 3

DeleteMethod · 0.65
SetInformationMethod · 0.45
UnRegisterMethod · 0.45

Tested by

no test coverage detected