VTK  9.7.1
vtkEndFor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
24 #ifndef vtkEndFor_h
25 #define vtkEndFor_h
26 
27 #include "vtkCommonExecutionModelModule.h" // for export macro
28 #include "vtkDataObjectAlgorithm.h"
29 
30 #include <memory> // for std::unique_ptr
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 
35 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkEndFor : public vtkDataObjectAlgorithm
36 {
37 public:
38  static vtkEndFor* New();
40  void PrintSelf(std::ostream& os, vtkIndent indent) override;
41 
45  virtual void SetAggregator(vtkExecutionAggregator*);
46 
47 protected:
48  vtkEndFor();
49  ~vtkEndFor() override;
50 
54 
55 private:
56  vtkEndFor(const vtkEndFor&) = delete;
57  void operator=(const vtkEndFor&) = delete;
58 
59  struct Internals;
60  std::unique_ptr<Internals> Internal;
61 };
62 
63 VTK_ABI_NAMESPACE_END
64 
65 #endif // vtkEndFor_h
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkEndFor define the end of the sub-pipeline to loop
Definition: vtkEndFor.h:35
Store vtkAlgorithm input/output information.
static vtkDataObjectAlgorithm * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
Aggregate the results of the sub-pipeline in vtkEndFor.
Superclass for algorithms that produce only data object as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.