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 
49 
53  virtual void DisplayText(const char*);
54 
56 
60  vtkGetMacro(SendToStdErr, bool);
61  vtkSetMacro(SendToStdErr, bool);
62  vtkBooleanMacro(SendToStdErr, bool);
64 
65 protected:
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
vtkWin32OutputWindow::New
static vtkWin32OutputWindow * New()
Create a vtkWin32OutputWindow.
vtkWin32OutputWindow::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
vtkWin32OutputWindow
Win32 Specific output window class.
Definition: vtkWin32OutputWindow.h:39
vtkOutputWindow.h
vtkWin32OutputWindow::vtkWin32OutputWindow
vtkWin32OutputWindow()
vtkOutputWindow
base class for writing debug output to a console
Definition: vtkOutputWindow.h:47
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkWin32OutputWindow::PromptText
void PromptText(const char *text)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkWin32OutputWindow::DisplayText
virtual void DisplayText(const char *)
New lines are converted to carriage return new lines.
vtkWin32OutputWindow::AddText
static void AddText(const char *)
vtkWin32OutputWindow::~vtkWin32OutputWindow
virtual ~vtkWin32OutputWindow()
vtkWin32OutputWindow::Initialize
static int Initialize()