![]() |
stromx
0.8.0
|
Abstract base observer of operator exceptions. More...
#include <ExceptionObserver.h>
Public Types | |
| enum | Phase { INITIALIZATION, ACTIVATION, EXECUTION, INTERRUPT, DEACTIVATION, DEINITIALIZATION, PARAMETER_ACCESS } |
Public Member Functions | |
| virtual void | observe (const Phase phase, const OperatorError &ex, const Thread *const thread) const =0 |
Abstract base observer of operator exceptions.
The different phases in which an operator can cause exceptions to be thrown.
| Enumerator | |
|---|---|
| INITIALIZATION | Initialization of the operator. |
| ACTIVATION | Activation of the operator. |
| EXECUTION | Execution of the operator. |
| INTERRUPT | Deactivation of the operator. |
| DEACTIVATION | Interrupt of the operator. |
| DEINITIALIZATION | Deinitialization of the operator. |
| PARAMETER_ACCESS | Accessing a parameter. |
|
pure virtual |
Informs the observer that an operator has thrown an exception.
| phase | The phase during which the exception was thrown. |
| ex | The exception. |
| thread | The thread in which context the exception was thrown or 0 if the the thread is not a stromx::Thread object. |
1.8.12