CustusX  22.04-rc5
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

cx::ErrorObserver::ErrorObserver ( )
inline

Definition at line 47 of file cxErrorObserver.h.

Member Function Documentation

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

Definition at line 60 of file cxErrorObserver.h.

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

Definition at line 54 of file cxErrorObserver.h.

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

Definition at line 50 of file cxErrorObserver.h.

Member Data Documentation

QString cx::ErrorObserver::mMessage

Definition at line 58 of file cxErrorObserver.h.


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