Paraview architecture and design question

What is the error handling architecture in Paraview and what design goals does the implementation attempt to achieve? and how does it work with the lower level libraries, remote modules etc. What are the warts and gems?

How does Paraview handle errors in filters? Where should I look in the source code to understand how it is implemented?

I am curious as I am working with a team that has a sophisticated fortran code that they want to build a GUI for. It seems like there is a sticking point with being able to separate the gui from the underlying functionality. (also not a lot of format gui computer science background)

What is the error handling architecture in Paraview

Multi-layered, see below.

what design goals does the implementation attempt to achieve?

Show errors and warnings to the user without being an hassle for the dev

How does Paraview handle errors in filters?

vtkErrorMacro output is recovered by the vtkLogger, which transmit to the pqOutputWidget.

Where should I look in the source code to understand how it is implemented?

vtkSetGet::vtkErrorMacro
vtkLogger.h
pqOutputWidget.h

1 Like