equal
deleted
inserted
replaced
58 bool arrow_pos_read_ok; |
58 bool arrow_pos_read_ok; |
59 |
59 |
60 protected: |
60 protected: |
61 typedef sigc::signal<void, bool, int> Signal_Prop; |
61 typedef sigc::signal<void, bool, int> Signal_Prop; |
62 Signal_Prop signal_prop; |
62 Signal_Prop signal_prop; |
|
63 sigc::signal<void, std::string> signal_node_map; |
|
64 sigc::signal<void, std::string> signal_edge_map; |
63 |
65 |
64 public: |
66 public: |
65 ///Constructor of MapStorage. Expects the Graph of |
67 ///Constructor of MapStorage. Expects the Graph of |
66 ///which maps will be stored in it. |
68 ///which maps will be stored in it. |
67 ///Its all activity is initializing default values |
69 ///Its all activity is initializing default values |
79 |
81 |
80 std::vector<std::string> getEdgeMapList(); |
82 std::vector<std::string> getEdgeMapList(); |
81 std::vector<std::string> getNodeMapList(); |
83 std::vector<std::string> getNodeMapList(); |
82 |
84 |
83 Signal_Prop signal_prop_ch(); |
85 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;}; |
84 |
89 |
85 ///Adds given map to storage. A name and the map itself has to be provided. |
90 ///Adds given map to storage. A name and the map itself has to be provided. |
86 ///\param name is the name of map |
91 ///\param name is the name of map |
87 ///\nodemap is the pointer of the given nodemap |
92 ///\nodemap is the pointer of the given nodemap |
88 ///\todo map should be given by reference! |
93 ///\todo map should be given by reference! |