22 #ifndef __vtkboneErrorWarningObserver_h 23 #define __vtkboneErrorWarningObserver_h 37 virtual void Execute(
vtkObject* caller,
unsigned long eventId,
void* callData);
41 vtkSetStringMacro(ErrorDescriptions);
42 vtkGetStringMacro(ErrorDescriptions);
43 virtual void AppendErrorDescriptions(
const char* newMsg);
48 vtkSetStringMacro(WarningDescriptions);
49 vtkGetStringMacro(WarningDescriptions);
50 virtual void AppendWarningDescriptions(
const char* newMsg);
54 virtual int ErrorOccurred();
57 virtual int WarningOccurred();
virtual void Execute(vtkObject *caller, unsigned long eventId, void *callData)=0
void operator=(const vtkCommand &)
a simple observer to catch VTK warnings and errors.
static vtkboneErrorWarningObserver * New()
char * WarningDescriptions