iceoryx2
C++ Language Bindings
Loading...
Searching...
No Matches
iox2::legacy::er::ErrorHandlerInterface Class Referenceabstract

Defines the dynamic error handling interface (i.e. changeable at runtime). More...

#include <error_handler_interface.hpp>

Inheritance diagram for iox2::legacy::er::ErrorHandlerInterface:
iox2::legacy::er::DefaultErrorHandler

Public Member Functions

virtual ~ErrorHandlerInterface ()=default
 
virtual void onPanic ()=0
 Defines the reaction on panic.
 
virtual void onReportError (ErrorDescriptor desc)=0
 Defines the reaction on error.
 
virtual void onReportViolation (ErrorDescriptor desc)=0
 Defines the reaction on violation (a bug in the code)
 

Detailed Description

Defines the dynamic error handling interface (i.e. changeable at runtime).

Definition at line 45 of file error_handler_interface.hpp.

Constructor & Destructor Documentation

◆ ~ErrorHandlerInterface()

virtual iox2::legacy::er::ErrorHandlerInterface::~ErrorHandlerInterface ( )
virtualdefault

Member Function Documentation

◆ onPanic()

virtual void iox2::legacy::er::ErrorHandlerInterface::onPanic ( )
pure virtual

Defines the reaction on panic.

Implemented in iox2::legacy::er::DefaultErrorHandler.

◆ onReportError()

virtual void iox2::legacy::er::ErrorHandlerInterface::onReportError ( ErrorDescriptor  desc)
pure virtual

Defines the reaction on error.

Parameters
descerror descriptor

Implemented in iox2::legacy::er::DefaultErrorHandler.

◆ onReportViolation()

virtual void iox2::legacy::er::ErrorHandlerInterface::onReportViolation ( ErrorDescriptor  desc)
pure virtual

Defines the reaction on violation (a bug in the code)

Parameters
descerror descriptor

Implemented in iox2::legacy::er::DefaultErrorHandler.


The documentation for this class was generated from the following file: