A base class for setting up failure handlers.
The only function you have to implement is handle_failure.
Inheritance diagram for IMP::base::FailureHandlerBase:Public Member Functions | |
| VersionInfo | get_version_info () const |
| Get information about the module and version of the object. | |
| void | show (std::ostream &out=std::cout) const |
Public Member Functions inherited from IMP::base::FailureHandler | |
| FailureHandler (std::string name="Falure Handler %1%") | |
| virtual void | handle_failure ()=0 |
Public Member Functions inherited from IMP::base::Object | |
| std::size_t | __hash__ () const |
| virtual std::string | get_type_name () const =0 |
| Return a string identifying the type of the object. | |
| void | set_check_level (CheckLevel l) |
| void | set_log_level (LogLevel l) |
| Set the logging level used in this object. | |
| void | set_was_used (bool tf) const |
| const std::string & | get_name () const |
| void | set_name (std::string name) |
Additional Inherited Members | |
Related Functions inherited from IMP::base::FailureHandler | |
| void | add_failure_handler (FailureHandler *f) |
| Add a custom function to be called on an error. | |
| void | remove_failure_handler (FailureHandler *f) |
| Remove a failure handler from the list. | |
|
virtual |
Get information about the module and version of the object.
Implements IMP::base::Object.