Add option to close datasets and executed modules
Mantis Issue 391, reported by sdinot, assigned to jmichel, created: 2011-07-27
Multiple users have requested the possibility to close opened datasets in the Monteverdi browser in order to free ressources and avoid clutter by unused datasets in the list.
Current plan is to:
Add "Close" menu item in File/ to close a selected module. Add "Close All" menu item in File/ to close all modules in the browser. Add popup menu item "Close" [CLOSE_MODULE] that opens when user right clicks on a module in the browser.
Things to consider:
Provide warning then user attemps to close a module that is used downstream as input to another module. Insure proper removal of all related instances and correct release of memory.
1314019951 - C ValladeauYou'll have to pay attention to correctly update the graph connection. Plus, as you've said it, if the user want to close a mosule that is in a middle of a monteverdi module pipeline, what do we do? To me, the better is to close every following pipeline... Concerning the module map, I've changed it this morming. Now it is a simple std::vectorModule::Pointer (instead of a std::map<string, Module::Pointer>). I think there's the only container thaht gathered openned modules, at least I haven't seen otheer structures. BUT you'll need to update outputs and inputs maps.
1429255644 - julienHowever true, this is a feature request and we are not adding any more feature in Monteverdi since we moved to monteverdi2.