Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Traffic
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
15
class
IVehicleFactory
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
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1