Ice 3.9
C++ API Reference
Loading...
Searching...
No Matches
Ice::Instrumentation::Observer Class Referenceabstract

The base class for Ice observers. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::Observer:

Public Member Functions

virtual void attach ()=0
 Notifies the observer that an instrumented object was created.
virtual void detach ()=0
 Notifies the observer that an instrumented object was destroyed.
virtual void failed (const std::string &exceptionName)=0
 Notifies the observer of a failure.

Detailed Description

The base class for Ice observers.

Remarks
The Ice runtime calls observers from contexts where exceptions cannot be handled, such as destructors and noexcept functions. Implementations of this interface and its derived interfaces must not throw exceptions: a thrown exception can terminate the process.

Definition at line 110 of file Instrumentation.h.


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