6 #include "AsyncModels.h"
7 #include "IAsyncModelObserver.h"
8 #include "IAsyncModel.h"
9 #include "VehicleModelNodeRepository.h"
10 #include "SceneModel.h"
24 const std::vector<Config::TrafficSimulationVehicleConfiguration>& vehiclesConfigList,
25 std::set<std::string> &nodeSuffixes)
26 : m_vehicleModelNodeRepository(vehicleModelNodeRepository)
27 , m_vehiclesConfigList(vehiclesConfigList)
28 , m_nodeSuffixes(nodeSuffixes)
36 Eegeo_TTY(
"Succeeded load of model at %s\n", loadedModel.GetUrl().c_str());
38 if(loadedModel.TryGetModel(pModel))
40 Eegeo_TTY(
"Adding to repo.\n");
42 m_vehicleModelNodeRepository.AddVehicleNodesFromModel(pModel, m_vehiclesConfigList, m_nodeSuffixes);
48 Eegeo_TTY(
"Failed load of model at %s\n", loadedModel.GetUrl().c_str());
53 const std::vector<Config::TrafficSimulationVehicleConfiguration>& m_vehiclesConfigList;
54 std::set<std::string> m_nodeSuffixes;