Standard_ErrorHandlerCallback Class Reference

Defines a base class for callback objects that can be registered
in the OCC error handler (the class simulating C++ exceptions)
so as to be correctly destroyed when error handler is activated.

#include <Standard_ErrorHandlerCallback.hxx>

Inheritance diagram for Standard_ErrorHandlerCallback:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
void RegisterCallback ()
 Registers this callback object in the current error handler
(if found).

void UnregisterCallback ()
 Unregisters this callback object from the error handler.

virtual ~Standard_ErrorHandlerCallback ()
virtual void DestroyCallback ()=0
 The callback function to perform necessary callback action.
Called by the exception handler when it is being destroyed but
still has this callback registered.

Protected Member Functions

 Standard_ErrorHandlerCallback ()
 Empty constructor


Constructor & Destructor Documentation

virtual Standard_ErrorHandlerCallback::~Standard_ErrorHandlerCallback (  )  [virtual]
Standard_ErrorHandlerCallback::Standard_ErrorHandlerCallback (  )  [protected]

Member Function Documentation

virtual void Standard_ErrorHandlerCallback::DestroyCallback (  )  [pure virtual]
void Standard_ErrorHandlerCallback::operator delete ( void *  anAddress  )  [inline]
void* Standard_ErrorHandlerCallback::operator new ( size_t  size  )  [inline]
void* Standard_ErrorHandlerCallback::operator new ( size_t  ,
void *  anAddress 
) [inline]
void Standard_ErrorHandlerCallback::RegisterCallback (  ) 
void Standard_ErrorHandlerCallback::UnregisterCallback (  ) 

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Thu Mar 3 11:02:50 2011 for Open CASCADE Technology by  doxygen 1.6.3