Changeset 844 for applications/doprava/aimsun_bdm
- Timestamp:
- 03/01/10 18:57:04 (15 years ago)
- Location:
- applications/doprava/aimsun_bdm
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/doprava/aimsun_bdm/aimsun_ds.cpp
r841 r844 12 12 #include <io.h> 13 13 14 #include <atlbase.h>14 //#include <atlbase.h> 15 15 16 16 #define MAX_PATH_BYTES (MAX_PATH*sizeof(TCHAR)) … … 311 311 void AimsunDS::initVGS ( 312 312 const vgs_headway_mode headway, 313 const TCHAR *entrancePath,314 const TCHAR *sectionStatsPath,315 const TCHAR *globalStatsPath313 const string &entrancePath, 314 const string §ionStatsPath, 315 const string &globalStatsPath 316 316 ) 317 317 { … … 333 333 /* Specify where to find the CSV with vehicle entrances and which 334 334 headway mode to use for generating vehicle flows. */ 335 CT2A ep_c(entrancePath); 336 vgs_generate_vehicles ( ep_c, headway ); 335 vgs_generate_vehicles ( entrancePath.c_str(), headway ); 337 336 338 337 /* Pass to VGS API information about section identifiers we want to … … 342 341 343 342 /* Specify where to store CSV files with statistical data. */ 344 CT2A ss_c(sectionStatsPath); 345 CT2A gs_c(globalStatsPath); 346 vgs_set_stats_file_names ( ss_c, gs_c ); 343 vgs_set_stats_file_names ( sectionStatsPath.c_str(), globalStatsPath.c_str() ); 347 344 348 345 /* Specify the maximum queuing speed in kmph. */ -
applications/doprava/aimsun_bdm/aimsun_ds.h
r840 r844 48 48 void AimsunDS::initVGS ( 49 49 const vgs_headway_mode headway, 50 const TCHAR *entrancePath,51 const TCHAR *sectionStatsPath,52 const TCHAR *globalStatsPath50 const string &entrancePath, 51 const string §ionStatsPath, 52 const string &globalStatsPath 53 53 ); 54 54 };