base class for writing debug output to a console
More...
#include <vtkOutputWindow.h>
|
virtual const char * | GetClassName () |
|
virtual int | IsA (const char *type) |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual void | DisplayDebugText (const char *) |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
unsigned char | GetDebug () |
|
void | SetDebug (unsigned char debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &os) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
base class for writing debug output to a console
This class is used to encapsulate all text output, so that it will work with operating systems that have a stdout and stderr, and ones that do not. (i.e windows does not). Sub-classes can be provided which can redirect the output to a window.
- Events:
- vtkCommand::ErrorEvent vtkCommand::WarningEvent
- Tests:
- vtkOutputWindow (Tests)
Definition at line 44 of file vtkOutputWindow.h.
vtkOutputWindow::vtkOutputWindow |
( |
) | |
|
|
protected |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
virtual vtkOutputWindow::~vtkOutputWindow |
( |
) | |
|
|
protectedvirtual |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
virtual const char* vtkOutputWindow::GetClassName |
( |
) | |
|
|
virtual |
static int vtkOutputWindow::IsTypeOf |
( |
const char * |
type) | |
|
|
static |
virtual int vtkOutputWindow::IsA |
( |
const char * |
name) | |
|
|
virtual |
virtual void vtkOutputWindow::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
virtual void vtkOutputWindow::DisplayText |
( |
const char * |
) | |
|
|
virtual |
virtual void vtkOutputWindow::DisplayErrorText |
( |
const char * |
) | |
|
|
virtual |
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
Reimplemented in vtkXMLFileOutputWindow.
virtual void vtkOutputWindow::DisplayWarningText |
( |
const char * |
) | |
|
|
virtual |
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
Reimplemented in vtkXMLFileOutputWindow.
virtual void vtkOutputWindow::DisplayGenericWarningText |
( |
const char * |
) | |
|
|
virtual |
This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.
Reimplemented in vtkXMLFileOutputWindow.
virtual void vtkOutputWindow::DisplayDebugText |
( |
const char * |
) | |
|
|
virtual |
virtual void vtkOutputWindow::PromptUserOn |
( |
) | |
|
|
virtual |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
virtual void vtkOutputWindow::PromptUserOff |
( |
) | |
|
|
virtual |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
virtual void vtkOutputWindow::SetPromptUser |
( |
int |
) | |
|
|
virtual |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
Definition at line 80 of file vtkOutputWindow.h.
int vtkOutputWindow::PromptUser |
|
protected |
If PromptUser is set to true then each time a line of text is displayed, the user is asked if they want to keep getting messages.
Definition at line 90 of file vtkOutputWindow.h.
The documentation for this class was generated from the following file: