40#ifndef vtkOutputWindow_h
41#define vtkOutputWindow_h
43#include "vtkCommonCoreModule.h"
59class vtkOutputWindowPrivateAccessor;
112 vtkBooleanMacro(PromptUser,
bool);
113 vtkSetMacro(PromptUser,
bool);
127 void SetUseStdErrorForAllMessages(
bool);
129 bool GetUseStdErrorForAllMessages();
131 void UseStdErrorForAllMessagesOn();
133 void UseStdErrorForAllMessagesOff();
168 vtkSetClampMacro(DisplayMode,
int, DEFAULT, ALWAYS_STDERR);
169 vtkGetMacro(DisplayMode,
int);
214 int InStandardMacros;
217 friend class vtkOutputWindowPrivateAccessor;
a simple class to control print indentation
abstract base class for most VTK objects
~vtkOutputWindowCleanup()
base class for writing debug output to a console
virtual void DisplayGenericWarningText(const char *)
Display the text.
void SetDisplayModeToAlways()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
void SetDisplayModeToNever()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
virtual StreamType GetDisplayStream(MessageTypes msgType) const
Returns the standard output stream to post the message of the given type on.
void SetDisplayModeToAlwaysStdErr()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
DisplayModes
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
static vtkOutputWindow * GetInstance()
Return the singleton instance with no reference counting.
static vtkOutputWindow * New()
Creates a new instance of vtkOutputWindow.
void SetDisplayModeToDefault()
Flag indicates how the vtkOutputWindow handles displaying of text to stderr / stdout.
@ MESSAGE_TYPE_GENERIC_WARNING
~vtkOutputWindow() override
virtual void DisplayDebugText(const char *)
Display the text.
static void SetInstance(vtkOutputWindow *instance)
Supply a user defined output window.
virtual void DisplayWarningText(const char *)
Display the text.
virtual void DisplayText(const char *)
Display the text.
virtual void DisplayErrorText(const char *)
Display the text.
#define VTK_DEPRECATED_IN_9_0_0(reason)
static vtkOutputWindowCleanup vtkOutputWindowCleanupInstance