VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vtkInformationExecutivePortKey.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkInformationExecutivePortKey.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef __vtkInformationExecutivePortKey_h
24 #define __vtkInformationExecutivePortKey_h
25 
26 #include "vtkCommonExecutionModelModule.h" // For export macro
27 #include "vtkInformationKey.h"
28 
29 #include "vtkFilteringInformationKeyManager.h" // Manage instances of this type.
30 
31 class vtkExecutive;
32 
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
39  vtkInformationExecutivePortKey(const char* name, const char* location);
41 
43 
45  void Set(vtkInformation* info, vtkExecutive*, int);
46  vtkExecutive* GetExecutive(vtkInformation* info);
47  int GetPort(vtkInformation* info);
48  void Get(vtkInformation *info, vtkExecutive*& executive, int &port);
50 
54  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
55 
57  virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
58 
60  virtual void Print(ostream& os, vtkInformation* info);
61 
62 private:
64  void operator=(const vtkInformationExecutivePortKey&); // Not implemented.
65 };
66 
67 #endif
#define VTKCOMMONEXECUTIONMODEL_EXPORT
virtual void Report(vtkInformation *info, vtkGarbageCollector *collector)
virtual void ShallowCopy(vtkInformation *from, vtkInformation *to)=0
Store vtkAlgorithm input/output information.
Superclass for all pipeline executives in VTK.
Definition: vtkExecutive.h:48
void PrintSelf(ostream &os, vtkIndent indent)
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
Detect and break reference loops.
void Print(vtkInformation *info)
Superclass for vtkInformation keys.
GLuint const GLchar * name
Definition: vtkgl.h:11983
a simple class to control print indentation
Definition: vtkIndent.h:38
GLint location
Definition: vtkgl.h:12002
Key for vtkExecutive/Port value pairs.