15 #ifndef vtkTestErrorObserver_h
16 #define vtkTestErrorObserver_h
46 this->Warning =
false;
47 this->ErrorMessage =
"";
48 this->WarningMessage =
"";
56 case vtkCommand::ErrorEvent:
57 ErrorMessage +=
static_cast<char *
>(calldata);
60 case vtkCommand::WarningEvent:
61 WarningMessage +=
static_cast<char *
>(calldata);
72 return WarningMessage;
abstract base class for most VTK objects
virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long event, void *calldata)
superclass for callback/observer methods
std::string GetWarningMessage()
static ErrorObserver * New()
std::string GetErrorMessage()