API Reference > OdDbRoot Classes > OdDbBaseDatabasePE Class > OdDbBaseDatabasePE Methods > OdDbBaseDatabasePE::addDatabaseUnloadReactor Method
OdDbBaseDatabasePE::addDatabaseUnloadReactor Method
Syntax
C++
virtual OdRxObjectPtr addDatabaseUnloadReactor(OdDbBaseDatabase* pDb, OdRxObject * pPrevReactor, DatabaseUnloadReactor * pReactorRedirect) = 0;
Parameters 
Description 
OdDbBaseDatabase* pDb 
[in] A pointer to a database object.  
OdRxObject * pPrevReactor 
[in] A pointer to a previous reactor object. If equal to NULL, then it is a new reactor.  
DatabaseUnloadReactor * pReactorRedirect 
[in] A pointer to a database object. 

Adds a new database unload reactor object to a specified database.

There can be more than one database unload reactor. When a database unload event occurs, reactors run according to the order they have been added.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.