1 #ifndef RAM_PATH_PLANNING_ERROR_OBSERVER_HPP 2 #define RAM_PATH_PLANNING_ERROR_OBSERVER_HPP 6 #include <vtkCommand.h> 50 virtual void Execute(vtkObject *vtkNotUsed(caller),
56 case vtkCommand::ErrorEvent:
60 case vtkCommand::WarningEvent:
virtual void Execute(vtkObject *vtkNotUsed(caller), unsigned long event, void *calldata)
static ErrorObserver * New()
std::string WarningMessage
void Clear()
Clear all members of the object.
std::string GetErrorMessage() const
Call this function to get the error message if there is any.
std::string GetWarningMessage() const
Call this function to get the warning message if there is any.
bool GetWarning() const
Call this function to know either or not a warning has occurred.
bool GetError() const
Call this function to know either or not an error has occurred.