model_server/ui_browser/src/extract-subsystems.cxx
/*
 * Note that we create this RTL to hold the subsystems we create.
 * We delete the RTL when we're done. (yes, it's important that 
 * finishDecomposition() gets called.) If the user wants to undo
 * the run, we delete the subsystems it contains as well. 
 * Otherwise it would be very difficult to pick out the subsystems
 * we actually created - and especially hard to tell them from 
 * ones we created on past runs and shouldn't step on.
 *
 * The RTL pointer gets held by the user interface until disposed of.
 *
 */
Note that we create this RTL to hold the subsystems we create.
We delete the RTL when we're done. (yes, it's important that
finishDecomposition() gets called.) If the user wants to undo
the run, we delete the subsystems it contains as well.
Otherwise it would be very difficult to pick out the subsystems
we actually created - and especially hard to tell them from
ones we created on past runs and shouldn't step on.

The RTL pointer gets held by the user interface until disposed of.
Note that we create this RTL to hold the subsystems we create . We delete the RTL when we ' re done . ( yes it ' s important that finishDecomposition () gets called . ) If the user wants to undo the run we delete the subsystems it contains as well . Otherwise it would be very difficult to pick out the subsystems we actually created - and especially hard to tell them from ones we created on past runs and shouldn ' t step on . The RTL pointer gets held by the user interface until disposed of .
void finishDecomposition(RTL *r) {
    obj_delete(r);
    delete pending_decomposer;
    pending_decomposer = NULL;
  }
void finishDecomposition ( RTL * r ) { obj_delete ( r ) ; delete pending_decomposer ; pending_decomposer = NULL ; }
Note that we create this RTL to hold the subsystems we create.
Note that we create this RTL to hold the subsystems we create .