Changeset 177:40f3006fba2e in glemon-0.x for mapstorage.h
- Timestamp:
- 10/30/06 15:57:48 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/glemon/trunk@3032
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mapstorage.h
r174 r177 83 83 84 84 protected: 85 /// type of the signal emitted if the visualization of the maps might have to be updated. 86 85 86 /// Signal emitted on any change made on map values 87 88 /// Signal emitted if the visualization of the maps might have to be updated. 87 89 /// bool shows us whether the changed map is edge or nodemap. 88 90 /// int tells us the refreshed property 89 typedef sigc::signal<void, bool, int> Signal_Prop; 90 91 /// Signal emitted on any change made on map values 92 Signal_Prop signal_prop; 91 sigc::signal<void, bool, int> signal_prop; 93 92 94 93 /// Signal emitted in the case of nodemap addition … … 106 105 /// Signal emitted, when entry in \ref MapWin should be changed. 107 106 sigc::signal<void, bool, int, std::string> signal_map_win; 107 108 /// Signal emitted, when entry in \ref DesignWin should be changed. 109 sigc::signal<void, double, double, int> signal_design_win; 110 111 ///Iteration number during graph design 112 int iterations; 113 114 ///Attraction factor during graph design 115 double attraction; 116 117 ///Propulsation factor during graph design 118 double propulsation; 108 119 109 120 public: … … 153 164 154 165 ///returns \ref signal_prop to be able to connect functions to it 155 Signal_Propsignal_prop_ch();166 sigc::signal<void, bool, int> signal_prop_ch(); 156 167 157 168 ///returns \ref signal_node_map to be able to connect functions to it … … 163 174 ///returns \ref signal_map_win to be able to connect functions to it 164 175 sigc::signal<void, bool, int, std::string> signal_map_win_ch(){return signal_map_win;}; 176 177 ///returns \ref signal_design_win to be able to connect functions to it 178 sigc::signal<void, double, double, int> signal_design_win_ch(){return signal_design_win;}; 165 179 166 180 ///Adds given map to storage. … … 262 276 263 277 void ArrowPosReadOK(); 278 279 void get_design_data(double &, double &, int &); 280 void set_attraction(double); 281 void set_propulsation(double); 282 void set_iteration(int); 283 284 void redesign_data_changed(); 264 285 }; 265 286
Note: See TracChangeset
for help on using the changeset viewer.