Changeset 844 for applications/doprava

Show
Ignore:
Timestamp:
03/01/10 18:57:04 (14 years ago)
Author:
prikryl
Message:

Do not use ATL macros (ATL is not shipped with Visual Studio Express).

Location:
applications/doprava/aimsun_bdm
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/aimsun_bdm/aimsun_ds.cpp

    r841 r844  
    1212#include <io.h> 
    1313 
    14 #include <atlbase.h> 
     14//#include <atlbase.h> 
    1515 
    1616#define MAX_PATH_BYTES  (MAX_PATH*sizeof(TCHAR)) 
     
    311311void AimsunDS::initVGS ( 
    312312        const vgs_headway_mode headway, 
    313         const TCHAR * entrancePath, 
    314         const TCHAR * sectionStatsPath, 
    315         const TCHAR * globalStatsPath 
     313        const string &entrancePath, 
     314        const string &sectionStatsPath, 
     315        const string &globalStatsPath 
    316316        ) 
    317317{ 
     
    333333    /* Specify where to find the CSV with vehicle entrances and which 
    334334           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 ); 
    337336     
    338337    /* Pass to VGS API information about section identifiers we want to 
     
    342341     
    343342    /* 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() ); 
    347344     
    348345    /* Specify the maximum queuing speed in kmph. */ 
  • applications/doprava/aimsun_bdm/aimsun_ds.h

    r840 r844  
    4848        void AimsunDS::initVGS ( 
    4949                const vgs_headway_mode headway, 
    50                 const TCHAR * entrancePath, 
    51                 const TCHAR * sectionStatsPath, 
    52                 const TCHAR * globalStatsPath 
     50                const string &entrancePath, 
     51                const string &sectionStatsPath, 
     52                const string &globalStatsPath 
    5353        ); 
    5454};