Changeset 820 for applications/doprava/traffic_agent.h
- Timestamp:
- 02/23/10 10:16:46 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/doprava/traffic_agent.h
r819 r820 18 18 string name; //! detector name 19 19 int distance; //! distance from stop-line 20 RV rv; 20 21 //! function loading info from Setting 21 22 void from_setting(const Setting &set){ 22 23 UI::get(name,set,"name",UI::compulsory); 23 24 UI::get(distance,set,"distance",UI::compulsory); 25 24 26 } 25 27 }; … … 184 186 sgh(i).ds2data.filldown(glob_dt, sgh(i).det_data); 185 187 } 186 // copy sg_length ... 188 // copy sg_length ... and others... 187 189 } 188 190 void act(vec &glob_ut){ … … 202 204 } 203 205 204 void from_setting(const Setting &set) {};206 void from_setting(const Setting &set); 205 207 }; 206 208 UIREGISTER(BaseTrafficAgent);