model_server/driver_aset/src/driver.cxx
//------------------------------------------
// put_selection
// 
// Funtion to handle appliction tree selection
//------------------------------------------
put_selection
Funtion to handle appliction tree selection
put_selection Funtion to handle appliction tree selection
SelectionResult driver::put_selection( view& vw, button& but, 
				      viewSelection& view_sel)
{
    Initialize(driver::put_selection);
    DBG{
       viewTree * node = view_sel.view_node;
       viewTree * conn = view_sel.connector;
       int sub = view_sel.sub_type;
       viewTree * root = (viewTree*) obj_tree_common_root(node, conn);
       cout << " ---- PUT_SELECTION view " << (&vw ? vw.get_name() : "null")
         << " but " << but.type << ' ' << but.which << 
          " node " << node << " conn " << conn << " sub " << sub << endl;
    }
SelectionResult driver :: put_selection ( view & vw , button & but , viewSelection & view_sel ) { Initialize ( driver :: put_selection ) ; DBG { viewTree * node = view_sel . view_node ; viewTree * conn = view_sel . connector ; int sub = view_sel . sub_type ; viewTree * root = ( viewTree * ) obj_tree_common_root ( node , conn ) ; cout << " " << ( & vw ? vw . get_name ( ) : " " ) << " " << but . type << ' ' << but . which << " " << node << " " << conn << " " << sub << endl ; }
put_selection
Funtion to handle appliction tree selection
put_selection Funtion to handle appliction tree selection