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

The object observer interface used by instrumented objects to notify the observer of their existence. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::Instrumentation::Observer:
Collaboration diagram for Ice::Instrumentation::Observer:

Public Types

typedef ObserverPtr PointerType

Public Member Functions

virtual void attach ()=0
 This method is called when the instrumented object is created or when the observer is attached to an existing object.
virtual void detach ()=0
 This method is called when the instrumented object is destroyed and as a result the observer detached from the object.
virtual void failed (const ::std::string &exceptionName)=0
 Notification of a failure.
virtual ~Observer ()
Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
virtual bool operator== (const LocalObject &) const
Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
virtual void __decRef ()
virtual int __getRef () const
bool __hasFlag (unsigned char flag)
virtual void __incRef ()
void __setFlag (unsigned char flag)
virtual void __setNoDelete (bool)
Sharedoperator= (const Shared &)
 Shared ()
 Shared (const Shared &)
virtual ~Shared ()

Additional Inherited Members

Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
IceUtilInternal::Atomic _ref

Detailed Description

The object observer interface used by instrumented objects to notify the observer of their existence.

Member Typedef Documentation

◆ PointerType

Constructor & Destructor Documentation

◆ ~Observer()

virtual Ice::Instrumentation::Observer::~Observer ( )
virtual

Member Function Documentation

◆ attach()

virtual void Ice::Instrumentation::Observer::attach ( )
pure virtual

This method is called when the instrumented object is created or when the observer is attached to an existing object.

◆ detach()

virtual void Ice::Instrumentation::Observer::detach ( )
pure virtual

This method is called when the instrumented object is destroyed and as a result the observer detached from the object.

◆ failed()

virtual void Ice::Instrumentation::Observer::failed ( const ::std::string & exceptionName)
pure virtual

Notification of a failure.

Parameters
exceptionNameThe name of the exception.

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