31 #ifndef vtkCommunicationErrorCatcher_h 32 #define vtkCommunicationErrorCatcher_h 34 #include "vtkPVVTKExtensionsCoreModule.h" 35 #include "vtkWeakPointer.h" 38 class vtkCommunicator;
39 class vtkMultiProcessController;
64 void OnErrorEvent(vtkObject* caller,
unsigned long eventid,
void* calldata);
66 vtkWeakPointer<vtkMultiProcessController> Controller;
67 vtkWeakPointer<vtkCommunicator> Communicator;
70 std::string ErrorMessages;
71 unsigned long ControllerObserverId;
72 unsigned long CommunicatorObserverId;
helper class to catch errors from vtkMultiProcessController and vtkCommunicator.
const std::string & GetErrorMessages() const
Get the combined error messages.
bool GetErrorsRaised() const
Get the status of errors.