VTK
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 "vtkInformationKey.h"
27 
28 #include "vtkFilteringInformationKeyManager.h" // Manage instances of this type.
29 
30 class vtkExecutive;
31 
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
38  vtkInformationExecutivePortKey(const char* name, const char* location);
40 
42 
44  void Set(vtkInformation* info, vtkExecutive*, int);
45  vtkExecutive* GetExecutive(vtkInformation* info);
46  int GetPort(vtkInformation* info);
47  void Get(vtkInformation *info, vtkExecutive*& executive, int &port);
49 
53  virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
54 
56  virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
57 
59  virtual void Print(ostream& os, vtkInformation* info);
60 
61 private:
63  void operator=(const vtkInformationExecutivePortKey&); // Not implemented.
64 };
65 
66 #endif