imp icon indicating copy to clipboard operation
imp copied to clipboard

Add "destructors" associated with decorators

Open drussel opened this issue 11 years ago • 2 comments

setup_particle can register a destructor object with the Model that gets called when the particle is removed from the model.

drussel avatar Mar 29 '13 21:03 drussel

Probably should just require a teardown_particle(Model *m, ParticleIndex pi) method in decorators and automatically use that. Maybe IMP_DECORATOR_2 macro.

drussel avatar Apr 02 '13 04:04 drussel

Provide new Decorator infrastructure that avoids the macros and cleaner names for things.

drussel avatar Apr 02 '13 21:04 drussel