00001 /*========================================================================= 00002 00003 Program: ParaView 00004 Module: $RCSfile: vtkPVErrorLogDisplay.h,v $ 00005 00006 Copyright (c) Kitware, Inc. 00007 All rights reserved. 00008 See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/ 00021 #ifndef __vtkPVErrorLogDisplay_h 00022 #define __vtkPVErrorLogDisplay_h 00023 00024 #include "vtkPVTimerLogDisplay.h" 00025 00026 class vtkKWApplication; 00027 class vtkKWPushButton; 00028 class vtkKWEntry; 00029 class vtkKWLabel; 00030 class vtkKWText; 00031 class vtkKWWindow; 00032 class vtkKWMenuButton; 00033 class vtkKWCheckButton; 00034 00035 //BTX 00036 template<class t> class vtkVector; 00037 //ETX 00038 00039 class VTK_EXPORT vtkPVErrorLogDisplay : public vtkPVTimerLogDisplay 00040 { 00041 public: 00042 static vtkPVErrorLogDisplay* New(); 00043 vtkTypeRevisionMacro(vtkPVErrorLogDisplay, vtkPVTimerLogDisplay); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 virtual void Create(vtkKWApplication *app); 00048 00050 virtual void AppendError(const char*); 00051 00053 virtual void Clear(); 00054 00056 virtual void Save(const char* fileName); 00057 00058 protected: 00059 vtkPVErrorLogDisplay(); 00060 ~vtkPVErrorLogDisplay(); 00061 00062 virtual void Update(); 00063 00064 //BTX 00065 vtkVector<const char*>* ErrorMessages; 00066 //ETX 00067 00068 private: 00069 vtkPVErrorLogDisplay(const vtkPVErrorLogDisplay&); // Not implemented 00070 void operator=(const vtkPVErrorLogDisplay&); // Not implemented 00071 }; 00072 00073 #endif