VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/ExecutionModel/vtkAlgorithmOutput.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkAlgorithmOutput.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00030 #ifndef vtkAlgorithmOutput_h
00031 #define vtkAlgorithmOutput_h
00032 
00033 #include "vtkCommonExecutionModelModule.h" // For export macro
00034 #include "vtkObject.h"
00035 
00036 class vtkAlgorithm;
00037 
00038 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkAlgorithmOutput : public vtkObject
00039 {
00040 public:
00041   static vtkAlgorithmOutput *New();
00042   vtkTypeMacro(vtkAlgorithmOutput,vtkObject);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00045   void SetIndex(int index);
00046   int GetIndex();
00047 
00048   vtkAlgorithm* GetProducer();
00049   void SetProducer(vtkAlgorithm* producer);
00050 
00051 protected:
00052   vtkAlgorithmOutput();
00053   ~vtkAlgorithmOutput();
00054 
00055   int Index;
00056   vtkAlgorithm* Producer;
00057 
00058 private:
00059   vtkAlgorithmOutput(const vtkAlgorithmOutput&);  // Not implemented.
00060   void operator=(const vtkAlgorithmOutput&);  // Not implemented.
00061 };
00062 
00063 #endif