Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Common/vtkOutputWindow.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00044 #ifndef __vtkOutputWindow_h
00045 #define __vtkOutputWindow_h
00046
00047 #include "vtkObject.h"
00048
00049
00050
00051 class VTK_COMMON_EXPORT vtkOutputWindow;
00052
00053 class VTK_COMMON_EXPORT vtkOutputWindowCleanup
00054 {
00055 public:
00056 vtkOutputWindowCleanup();
00057 ~vtkOutputWindowCleanup();
00058 };
00059
00060
00061 class VTK_COMMON_EXPORT vtkOutputWindow : public vtkObject
00062 {
00063 public:
00064
00065 vtkTypeRevisionMacro(vtkOutputWindow,vtkObject);
00067 virtual void PrintSelf(ostream& os, vtkIndent indent);
00068
00070
00074 static vtkOutputWindow* New();
00075
00076
00077 static vtkOutputWindow* GetInstance();
00078
00079
00080
00081 static void SetInstance(vtkOutputWindow *instance);
00082
00083
00084
00085
00086 virtual void DisplayText(const char*);
00087 virtual void DisplayErrorText(const char*);
00088 virtual void DisplayWarningText(const char*);
00089 virtual void DisplayGenericWarningText(const char*);
00091
00092 virtual void DisplayDebugText(const char*);
00094
00096 vtkBooleanMacro(PromptUser,int);
00097 vtkSetMacro(PromptUser, int);
00099
00100
00101
00102
00103 static vtkOutputWindowCleanup Cleanup;
00104
00105 protected:
00106 vtkOutputWindow();
00107 virtual ~vtkOutputWindow();
00108 int PromptUser;
00109 private:
00110 static vtkOutputWindow* Instance;
00111 private:
00112 vtkOutputWindow(const vtkOutputWindow&);
00113 void operator=(const vtkOutputWindow&);
00114 };
00115
00116 #endif