COIN-OR::LEMON - Graph Library

Changeset 108:bf355fd6563e in glemon-0.x for mapstorage.cc


Ignore:
Timestamp:
01/05/06 13:30:09 (14 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2453
Message:

Several changes. \n If new map is added to mapstorage it emits signal with the name of the new map. This was important, because from now on not only tha mapwin should be updated. \n Furthermore algobox gets a pointer to mapstorage instead of only the mapnames from it. This is important because without it it would be complicated to pass all of the required maps to algobox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mapstorage.cc

    r101 r108  
    5959      // set the maps default value
    6060      nodemap_default[name] = default_value;
     61
     62      //announce changement in maps
     63      signal_node_map.emit(name);
    6164      return 0;
    6265    }
     
    127130      // set the maps default value
    128131      edgemap_default[name] = default_value;
     132
     133      //announce changement in maps
     134      signal_edge_map.emit(name);
    129135      return 0;
    130136    }
Note: See TracChangeset for help on using the changeset viewer.