#include <PVViewer_LogWindowAdapter.h>
Public Member Functions | |
vtkTypeMacro (PVViewer_LogWindowAdapter, vtkOutputWindow) | |
const unsigned int | getTextCount () |
Returns the number of text messages received. More... | |
const unsigned int | getErrorCount () |
Returns the number of error messages received. More... | |
const unsigned int | getWarningCount () |
Returns the number of warning messages received. More... | |
const unsigned int | getGenericWarningCount () |
Returns the number of generic warning messages received. More... | |
void | setLogWindow (LogWindow *w) |
LogWindow * | getLogWindow () |
Static Public Member Functions | |
static PVViewer_LogWindowAdapter * | New () |
Private Member Functions | |
PVViewer_LogWindowAdapter () | |
PVViewer_LogWindowAdapter (const PVViewer_LogWindowAdapter &) | |
PVViewer_LogWindowAdapter & | operator= (const PVViewer_LogWindowAdapter &) |
~PVViewer_LogWindowAdapter () | |
virtual void | DisplayText (const char *) |
virtual void | DisplayErrorText (const char *) |
virtual void | DisplayWarningText (const char *) |
virtual void | DisplayGenericWarningText (const char *) |
Private Attributes | |
unsigned int | TextCount |
unsigned int | ErrorCount |
unsigned int | WarningCount |
unsigned int | GenericWarningCount |
LogWindow * | logWindow |
vtkOutputWindow implementation that puts VTK output messages to SALOME log window.
To use, create an instance of PVViewer_LogWindowAdapter and pass it to the vtkOutputWindow::setInstance() static method.
This class is based on pqOutputWindow ParaView class.
|
private |
|
private |
|
private |
|
privatevirtual |
References LogWindow::DisplayNormal, ErrorCount, getLogWindow(), and ProcessVoidEvent().
|
privatevirtual |
References LogWindow::DisplayNormal, GenericWarningCount, getLogWindow(), and ProcessVoidEvent().
|
privatevirtual |
References LogWindow::DisplayNormal, getLogWindow(), ProcessVoidEvent(), and TextCount.
|
privatevirtual |
References LogWindow::DisplayNormal, getLogWindow(), ProcessVoidEvent(), and WarningCount.
const unsigned int PVViewer_LogWindowAdapter::getErrorCount | ( | ) |
References ErrorCount.
const unsigned int PVViewer_LogWindowAdapter::getGenericWarningCount | ( | ) |
References GenericWarningCount.
|
inline |
const unsigned int PVViewer_LogWindowAdapter::getWarningCount | ( | ) |
References WarningCount.
|
static |
|
private |
|
inline |
PVViewer_LogWindowAdapter::vtkTypeMacro | ( | PVViewer_LogWindowAdapter | , |
vtkOutputWindow | |||
) |
|
private |
|
private |
|
private |
|
private |
|
private |