SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
RODUAEdgeBuilder.cpp
Go to the documentation of this file.
1
/****************************************************************************/
10
// Interface for building instances of duarouter-edges
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2004-2014 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
24
25
// ===========================================================================
26
// included modules
27
// ===========================================================================
28
#ifdef _MSC_VER
29
#include <
windows_config.h
>
30
#else
31
#include <
config.h
>
32
#endif
33
34
#include "
RODUAEdgeBuilder.h
"
35
#include <
router/ROEdge.h
>
36
37
#ifdef CHECK_MEMORY_LEAKS
38
#include <
foreign/nvwa/debug_new.h
>
39
#endif // CHECK_MEMORY_LEAKS
40
41
42
// ===========================================================================
43
// method definitions
44
// ===========================================================================
45
RODUAEdgeBuilder::RODUAEdgeBuilder
(
bool
useBoundariesOnOverride,
bool
interpolate) {
46
ROEdge::setTimeLineOptions
(useBoundariesOnOverride, useBoundariesOnOverride, interpolate);
47
}
48
49
50
RODUAEdgeBuilder::~RODUAEdgeBuilder
() {}
51
52
53
ROEdge
*
54
RODUAEdgeBuilder::buildEdge
(
const
std::string& name,
RONode
* from,
RONode
* to,
const
int
priority) {
55
return
new
ROEdge
(name, from, to,
getNextIndex
(), priority);
56
}
57
58
59
/****************************************************************************/
60
tmp
buildd
sumo-0.21.0+dfsg
src
duarouter
RODUAEdgeBuilder.cpp
Generated on Thu Nov 20 2014 19:49:58 for SUMO - Simulation of Urban MObility by
1.8.1.2