COIN-OR::LEMON - Graph Library

Changeset 1878:409a31271efd in lemon-0.x for gui/mapstorage.h


Ignore:
Timestamp:
01/05/06 13:30:09 (18 years ago)
Author:
Hegyi Péter
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@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
  • gui/mapstorage.h

    r1860 r1878  
    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.