VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkInformationIntegerRequestKey.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 =========================================================================*/ 00035 #ifndef vtkInformationIntegerRequestKey_h 00036 #define vtkInformationIntegerRequestKey_h 00037 00038 #include "vtkCommonExecutionModelModule.h" // For export macro 00039 #include "vtkInformationIntegerKey.h" 00040 00041 #include "vtkCommonInformationKeyManager.h" // Manage instances of this type. 00042 00043 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkInformationIntegerRequestKey : public vtkInformationIntegerKey 00044 { 00045 public: 00046 vtkTypeMacro(vtkInformationIntegerRequestKey,vtkInformationIntegerKey); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00049 vtkInformationIntegerRequestKey(const char* name, const char* location); 00050 ~vtkInformationIntegerRequestKey(); 00051 00053 00056 static vtkInformationIntegerRequestKey* MakeKey(const char* name, const char* location) 00057 { 00058 return new vtkInformationIntegerRequestKey(name, location); 00059 } 00061 00063 00066 virtual bool NeedToExecute(vtkInformation* pipelineInfo, 00067 vtkInformation* dobjInfo); 00069 00071 00072 virtual void StoreMetaData(vtkInformation* request, 00073 vtkInformation* pipelineInfo, 00074 vtkInformation* dobjInfo); 00076 00078 00080 virtual void CopyDefaultInformation(vtkInformation* request, 00081 vtkInformation* fromInfo, 00082 vtkInformation* toInfo); 00084 00085 protected: 00086 vtkInformationIntegerKey* DataKey; 00087 00088 private: 00089 vtkInformationIntegerRequestKey(const vtkInformationIntegerRequestKey&); // Not implemented. 00090 void operator=(const vtkInformationIntegerRequestKey&); // Not implemented. 00091 00092 }; 00093 00094 #endif