CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::ErrorObserver Class Reference
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).

Date
jan 1, 2010
april 17, 2013
Author
christiana

Definition at line 110 of file cxDataReaderWriter.cpp.

Constructor & Destructor Documentation

cx::ErrorObserver::ErrorObserver ( )
inline

Definition at line 113 of file cxDataReaderWriter.cpp.

Member Function Documentation

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

Definition at line 126 of file cxDataReaderWriter.cpp.

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

Definition at line 120 of file cxDataReaderWriter.cpp.

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

Definition at line 116 of file cxDataReaderWriter.cpp.

Member Data Documentation

QString cx::ErrorObserver::mMessage

Definition at line 124 of file cxDataReaderWriter.cpp.


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