COIN-OR::LEMON - Graph Library

Changeset 94:adfdc2f70548 in glemon-0.x for mapstorage.h


Ignore:
Timestamp:
11/29/05 20:31:58 (14 years ago)
Author:
Hegyi Péter
Branch:
gui
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk/gui@2389
Message:

Structure of GUI is now more clear-cut than before.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mapstorage.h

    r63 r94  
    44#define MAPSTORAGE_H
    55
     6class Mapstorage;
     7
    68#include "all_include.h"
    79#include "xymap.h"
     10#include <libgnomecanvasmm.h>
    811
    912///Class MapStorage is responsible for storing
     
    3841  std::vector<Graph::EdgeMap<double> > default_edgemaps;
    3942
     43  //Stores the active maps for the different visualization node attributes
     44  std::vector< std::string > active_nodemaps;
     45
     46  //Stores the active maps for the different visualization edge attributes
     47  std::vector< std::string > active_edgemaps;
     48
    4049  // Default values for the maps
    4150  std::map< std::string, double > nodemap_default;
     
    4352  // Default values for the maps
    4453  std::map< std::string, double > edgemap_default;
     54
     55protected:
     56  typedef sigc::signal<void, bool, int> Signal_Prop;
     57  Signal_Prop signal_prop;
    4558
    4659public:
     
    5467
    5568  ~MapStorage();
     69
     70  void changeActiveMap(bool, int, std::string);
     71
     72  std::string getActiveEdgeMap(int);
     73  std::string getActiveNodeMap(int);
     74
     75  std::vector<std::string> getEdgeMapList();
     76  std::vector<std::string> getNodeMapList();
     77
     78  Signal_Prop signal_prop_ch();
    5679
    5780  ///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.