MCPcopy Create free account
hub / github.com/Kitware/VTK / CheckAbortedInput

Method CheckAbortedInput

Common/ExecutionModel/vtkExecutive.cxx:773–786  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Look at all inputs and check ABORTED flag. If it is set, return true. Otherwise return false.

Source from the content-addressed store, hash-verified

771// Look at all inputs and check ABORTED flag. If it is set, return true.
772// Otherwise return false.
773bool vtkExecutive::CheckAbortedInput(vtkInformationVector** inInfoVec)
774{
775 for (int i = 0; i < this->GetNumberOfInputPorts(); i++)
776 {
777 for (int j = 0; j < inInfoVec[i]->GetNumberOfInformationObjects(); j++)
778 {
779 if (inInfoVec[i]->GetInformationObject(j)->Get(vtkAlgorithm::ABORTED()))
780 {
781 return true;
782 }
783 }
784 }
785 return false;
786}
787VTK_ABI_NAMESPACE_END

Callers 1

ExecuteDataStartMethod · 0.80

Calls 3

GetNumberOfInputPortsMethod · 0.95
GetInformationObjectMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected