NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cx::ErrorObserver Class Reference

#include <cxErrorObserver.h>

Inheritance diagram for cx::ErrorObserver:

Public Member Functions

 ErrorObserver ()
 
virtual void Execute (vtkObject *caller, unsigned long, void *text)
 

Static Public Member Functions

static ErrorObserverNew ()
 
static bool checkedRead (vtkSmartPointer< vtkAlgorithm > reader, QString filename)
 

Public Attributes

QString mMessage
 

Detailed Description

Wrapper for vtkAlgorithm::Update(), prints error message upon error, also wraps the call inside a global mutex (see below for why).

Definition at line 44 of file cxErrorObserver.h.

Constructor & Destructor Documentation

◆ ErrorObserver()

cx::ErrorObserver::ErrorObserver ( )
inline

Definition at line 47 of file cxErrorObserver.h.

Member Function Documentation

◆ checkedRead()

static bool cx::ErrorObserver::checkedRead ( vtkSmartPointer< vtkAlgorithm >  reader,
QString  filename 
)
inlinestatic

Definition at line 60 of file cxErrorObserver.h.

◆ Execute()

virtual void cx::ErrorObserver::Execute ( vtkObject *  caller,
unsigned long  ,
void *  text 
)
inlinevirtual

Definition at line 54 of file cxErrorObserver.h.

◆ New()

static ErrorObserver* cx::ErrorObserver::New ( )
inlinestatic

Definition at line 50 of file cxErrorObserver.h.

Member Data Documentation

◆ mMessage

QString cx::ErrorObserver::mMessage

Definition at line 58 of file cxErrorObserver.h.


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