­
2010-07 - Open CASCADE notes

Side effects of the Handle

12:17 / BY Roman Lygin
Last week-end, working on refactoring existing CAD Exchanger ACIS converter code (to maximize its reusability for the Parasolid one which is under development), I encountered an issue which might be interesting for a broader audience.Inside the CAD Exchanger SDK, there is a function that accepts a pointer to the object (Base_Generator*) that inherits Standard_Transient (i.e. which can be manipulated by handle).DEFINE_STANDARD_HANDLE(Base_Generator,Standard_Transient)class Base_Generator :...

Continue Reading