API Reference > OdDg Classes > OdDgElement Class > OdDgElement Methods > OdDgElement::addReactor Method
OdDgElement::addReactor Method
Syntax
C++
void addReactor(OdDgElementReactor* pReactor) const;
Parameters 
Description 
OdDgElementReactor* pReactor 
[in] Pointer to the transient reactor object. 

Adds the specified transient reactor to this element's reactor list. 

 

An element must be open either OdDg::kForRead or OdDg::kForWrite in order to add a transient reactor.

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