All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IVehicleFactory.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Traffic.h"
6 #include "Navigation.h"
7 #include <string>
8 
9 namespace Eegeo
10 {
11  namespace Traffic
12  {
13  using Resources::Roads::Navigation::NavigationGraph;
14 
16  {
17  public:
18  virtual ~IVehicleFactory() { };
19  virtual void CreateVehicles(int vehicleCount, const NavigationGraph& navGraph, TVehicleVector& vehicles) = 0;
20 
21  virtual int CalcInitialVehicleCount(const NavigationGraph& navGraph) = 0;
22 
23  virtual void SetConfig(const Config::TrafficSimulationConfiguration& config) = 0;
24  virtual void ApplyVehicleSuffixChange(const std::string &suffix) = 0;
25 
26  };
27  }
28 }