VTK
vtkWin32OutputWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWin32OutputWindow.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 =========================================================================*/
31 #ifndef vtkWin32OutputWindow_h
32 #define vtkWin32OutputWindow_h
33 
34 #include "vtkCommonCoreModule.h" // For export macro
35 #include "vtkOutputWindow.h"
36 
37 
38 class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
39 {
40 public:
41 // Methods from vtkObject
43  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44 
48  static vtkWin32OutputWindow* New();
49 
53  virtual void DisplayText(const char*);
54 
56 
60  vtkGetMacro(SendToStdErr, bool);
61  vtkSetMacro(SendToStdErr, bool);
62  vtkBooleanMacro(SendToStdErr, bool);
64 
65 protected:
67  virtual ~vtkWin32OutputWindow();
68 
69  void PromptText(const char* text);
70  static void AddText(const char*);
71  static int Initialize();
72 
73 private:
74  bool SendToStdErr;
75 
76  vtkWin32OutputWindow(const vtkWin32OutputWindow&) VTK_DELETE_FUNCTION;
77  void operator=(const vtkWin32OutputWindow&) VTK_DELETE_FUNCTION;
78 };
79 
80 
81 #endif
virtual void DisplayText(const char *)
Display the text.
static vtkOutputWindow * New()
This is a singleton pattern New.
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
base class for writing debug output to a console
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Win32 Specific output window class.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.