Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PVViewer_LogWindowAdapter Class Reference

#include <PVViewer_LogWindowAdapter.h>

Inheritance diagram for PVViewer_LogWindowAdapter:
Inheritance graph

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)
 
LogWindowgetLogWindow ()
 

Static Public Member Functions

static PVViewer_LogWindowAdapterNew ()
 

Private Member Functions

 PVViewer_LogWindowAdapter ()
 
 PVViewer_LogWindowAdapter (const PVViewer_LogWindowAdapter &)
 
PVViewer_LogWindowAdapteroperator= (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
 
LogWindowlogWindow
 

Detailed Description

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.

Constructor & Destructor Documentation

PVViewer_LogWindowAdapter::PVViewer_LogWindowAdapter ( )
private
PVViewer_LogWindowAdapter::PVViewer_LogWindowAdapter ( const PVViewer_LogWindowAdapter )
private
PVViewer_LogWindowAdapter::~PVViewer_LogWindowAdapter ( )
private

Member Function Documentation

void PVViewer_LogWindowAdapter::DisplayErrorText ( const char *  text)
privatevirtual
void PVViewer_LogWindowAdapter::DisplayGenericWarningText ( const char *  text)
privatevirtual
void PVViewer_LogWindowAdapter::DisplayText ( const char *  text)
privatevirtual
void PVViewer_LogWindowAdapter::DisplayWarningText ( const char *  text)
privatevirtual
const unsigned int PVViewer_LogWindowAdapter::getErrorCount ( )

References ErrorCount.

const unsigned int PVViewer_LogWindowAdapter::getGenericWarningCount ( )

References GenericWarningCount.

LogWindow* PVViewer_LogWindowAdapter::getLogWindow ( )
inline
const unsigned int PVViewer_LogWindowAdapter::getTextCount ( )

References TextCount.

const unsigned int PVViewer_LogWindowAdapter::getWarningCount ( )

References WarningCount.

static PVViewer_LogWindowAdapter* PVViewer_LogWindowAdapter::New ( )
static
PVViewer_LogWindowAdapter& PVViewer_LogWindowAdapter::operator= ( const PVViewer_LogWindowAdapter )
private
void PVViewer_LogWindowAdapter::setLogWindow ( LogWindow w)
inline
PVViewer_LogWindowAdapter::vtkTypeMacro ( PVViewer_LogWindowAdapter  ,
vtkOutputWindow   
)

Member Data Documentation

unsigned int PVViewer_LogWindowAdapter::ErrorCount
private
unsigned int PVViewer_LogWindowAdapter::GenericWarningCount
private
LogWindow* PVViewer_LogWindowAdapter::logWindow
private
unsigned int PVViewer_LogWindowAdapter::TextCount
private
unsigned int PVViewer_LogWindowAdapter::WarningCount
private

The documentation for this class was generated from the following files: