CHAI SDK  Version 1.3
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
CPNS::IObject_NotificationHandler Class Referenceabstract

Notification handler for IObject. More...

Public Member Functions

virtual void OnObject_Destruction (CPNS::IObject *const pObject)=0
 Used by the CHAI to notify the application that pObject is being destroyed. More...
 

Detailed Description

Notification handler for IObject.

See Also
IObject::RegisterObjectNotificationHandler

Member Function Documentation

virtual void CPNS::IObject_NotificationHandler::OnObject_Destruction ( CPNS::IObject *const  pObject)
pure virtual

Used by the CHAI to notify the application that pObject is being destroyed.

Warning
The object could be partially destroyed when this notification is called! It is called from the CPNS::IHookedObject destructor, so information related to the derived class is already lost.
Parameters
[in]pObjectPointer to the object that will be destroyed.