COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
01/05/06 13:30:09 (15 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.h

    r98 r108  
    6161  typedef sigc::signal<void, bool, int> Signal_Prop;
    6262  Signal_Prop signal_prop;
     63  sigc::signal<void, std::string> signal_node_map;
     64  sigc::signal<void, std::string> signal_edge_map;
    6365
    6466public:
     
    8284
    8385  Signal_Prop signal_prop_ch();
     86
     87  sigc::signal<void, std::string> signal_node_map_ch(){return signal_node_map;};
     88  sigc::signal<void, std::string> signal_edge_map_ch(){return signal_edge_map;};
    8489
    8590  ///Adds given map to storage. A name and the map itself has to be provided.
Note: See TracChangeset for help on using the changeset viewer.