VTK  9.3.20240221
vtkTrivialConsumer.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
16 #ifndef vtkTrivialConsumer_h
17 #define vtkTrivialConsumer_h
18 
19 #include "vtkAlgorithm.h"
20 #include "vtkCommonExecutionModelModule.h" // For export macro
21 
22 VTK_ABI_NAMESPACE_BEGIN
23 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkTrivialConsumer : public vtkAlgorithm
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
30 protected:
32  ~vtkTrivialConsumer() override;
33 
36 
37 private:
38  vtkTrivialConsumer(const vtkTrivialConsumer&) = delete;
39  void operator=(const vtkTrivialConsumer&) = delete;
40 };
41 
42 VTK_ABI_NAMESPACE_END
43 #endif
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:161
a simple class to control print indentation
Definition: vtkIndent.h:108
Store vtkAlgorithm input/output information.
Consumer to consume data off of a pipeline.
~vtkTrivialConsumer() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillOutputPortInformation(int, vtkInformation *) override
Fill the output port information objects for this algorithm.
static vtkTrivialConsumer * New()
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.